diff --git a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/constant/porosityProperties b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvOptions similarity index 64% rename from tutorials/compressible/rhoPimpleFoam/ras/angledDuct/constant/porosityProperties rename to tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvOptions index 650f01268c..4a4fe08b09 100644 --- a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/constant/porosityProperties +++ b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvOptions @@ -10,26 +10,32 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; - object porosityProperties; + location "system"; + object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // porosity1 { - type DarcyForchheimer; - active yes; + type explicitPorositySource; + active true; + selectionMode cellZone; cellZone porosity; - DarcyForchheimerCoeffs + explicitPorositySourceCoeffs { - d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000); - f f [0 -1 0 0 0 0 0] (0 0 0); + type DarcyForchheimer; - coordinateSystem + DarcyForchheimerCoeffs { - e1 (0.70710678 0.70710678 0); - e2 (0 0 1); + d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000); + f f [0 -1 0 0 0 0 0] (0 0 0); + + coordinateSystem + { + e1 (0.70710678 0.70710678 0); + e2 (0 0 1); + } } } } diff --git a/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/constant/porosityProperties b/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/system/fvOptions similarity index 66% rename from tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/constant/porosityProperties rename to tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/system/fvOptions index 1a76ef1d80..f2f9f0db33 100644 --- a/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/constant/porosityProperties +++ b/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/system/fvOptions @@ -10,28 +10,35 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; - object porosityProperties; + location "system"; + object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // porosity1 { - type DarcyForchheimer; + type explicitPorositySource; active yes; + selectionMode cellZone; cellZone stator; - DarcyForchheimerCoeffs + explicitPorositySourceCoeffs { - d d [0 -2 0 0 0 0 0] (1e5 -1000 -1000); - f f [0 -1 0 0 0 0 0] (0 0 0); + type DarcyForchheimer; - coordinateSystem + DarcyForchheimerCoeffs { - e1 (1 0 0); - e2 (0 1 0); + d d [0 -2 0 0 0 0 0] (1e5 -1000 -1000); + f f [0 -1 0 0 0 0 0] (0 0 0); + + coordinateSystem + { + e1 (1 0 0); + e2 (0 1 0); + } } } } + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimplecFoam/angledDuct/constant/porosityProperties b/tutorials/compressible/rhoPimplecFoam/angledDuct/system/fvOptions similarity index 64% rename from tutorials/compressible/rhoPimplecFoam/angledDuct/constant/porosityProperties rename to tutorials/compressible/rhoPimplecFoam/angledDuct/system/fvOptions index 22add8ff29..4a4fe08b09 100644 --- a/tutorials/compressible/rhoPimplecFoam/angledDuct/constant/porosityProperties +++ b/tutorials/compressible/rhoPimplecFoam/angledDuct/system/fvOptions @@ -10,28 +10,35 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; - object porosityProperties; + location "system"; + object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // porosity1 { - type DarcyForchheimer; - active yes; + type explicitPorositySource; + active true; + selectionMode cellZone; cellZone porosity; - DarcyForchheimerCoeffs + explicitPorositySourceCoeffs { - d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000); - f f [0 -1 0 0 0 0 0] (0 0 0); + type DarcyForchheimer; - coordinateSystem + DarcyForchheimerCoeffs { - e1 (0.70710678 0.70710678 0); - e2 (0 0 1); + d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000); + f f [0 -1 0 0 0 0 0] (0 0 0); + + coordinateSystem + { + e1 (0.70710678 0.70710678 0); + e2 (0 0 1); + } } } } + // ************************************************************************* //