diff --git a/tutorials/compressible/rhoLTSPimpleFoam/angledDuct/system/fvOptions b/tutorials/compressible/rhoLTSPimpleFoam/angledDuct/system/fvOptions index 246601aa16809058e5c22005e82551c4f7c21e38..2fd3242b6db2cfa6261812c3bf26be434dad3c45 100644 --- a/tutorials/compressible/rhoLTSPimpleFoam/angledDuct/system/fvOptions +++ b/tutorials/compressible/rhoLTSPimpleFoam/angledDuct/system/fvOptions @@ -33,12 +33,18 @@ porosity1 coordinateSystem { - e1 (0.70710678 0.70710678 0); - e2 (0 0 1); + type cartesian; + origin (0 0 0); + coordinateRotation + { + type axesRotation; + e1 (0.70710678 0.70710678 0); + e2 (0 0 1); + } } } } } -************************************************************************* // +//************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/constant/porosityProperties b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvOptions similarity index 51% rename from tutorials/compressible/rhoPimpleFoam/ras/angledDuct/constant/porosityProperties rename to tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvOptions index 650f01268ca7bb4dfe14c25d5d8f2a860cda2544..2fd3242b6db2cfa6261812c3bf26be434dad3c45 100644 --- a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/constant/porosityProperties +++ b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvOptions @@ -10,29 +10,41 @@ 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 + { + type cartesian; + origin (0 0 0); + coordinateRotation + { + type axesRotation; + e1 (0.70710678 0.70710678 0); + e2 (0 0 1); + } + } } } } -// ************************************************************************* // +//************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvSolution b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvSolution index 084c382e84f96dcde779b055cbbcbd6d39117bc7..d87df4b492666a672b779c554923ed7616b4f5d1 100644 --- a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvSolution +++ b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/system/fvSolution @@ -57,7 +57,7 @@ PIMPLE nCorrectors 1; nNonOrthogonalCorrectors 0; rhoMin rhoMin [ 1 -3 0 0 0 ] 0.5; - rhoMax rhoMax [ 1 -3 0 0 0 ] 2.0; + rhoMax rhoMax [ 1 -3 0 0 0 ] 1.5; residualControl { @@ -76,7 +76,7 @@ relaxationFactors fields { "p.*" 0.3; - "rho.*" 1; + "rho.*" 0.01; } equations { diff --git a/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/constant/porosityProperties b/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/constant/porosityProperties index 1a76ef1d80b1b22f34ad537480509ea465b31411..6c2f939ea683a4b1d9091887a58c0588ba0d5fbf 100644 --- a/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/constant/porosityProperties +++ b/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/constant/porosityProperties @@ -28,8 +28,14 @@ porosity1 coordinateSystem { - e1 (1 0 0); - e2 (0 1 0); + type cartesian; + origin (0 0 0); + coordinateRotation + { + type axesRotation; + 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 51% rename from tutorials/compressible/rhoPimplecFoam/angledDuct/constant/porosityProperties rename to tutorials/compressible/rhoPimplecFoam/angledDuct/system/fvOptions index 22add8ff299919833276bb7b4770c81785d1ace6..3cb9357ca0e6344250e3fc9c6ac9961b531c147b 100644 --- a/tutorials/compressible/rhoPimplecFoam/angledDuct/constant/porosityProperties +++ b/tutorials/compressible/rhoPimplecFoam/angledDuct/system/fvOptions @@ -10,28 +10,41 @@ FoamFile version 2.0; format ascii; class dictionary; - location "constant"; - object porosityProperties; + location "system"; + object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // porosity1 { - type DarcyForchheimer; - active yes; + type explicitPorositySource; + active false; + 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] (5e5 -1000 -1000); + f f [0 -1 0 0 0 0 0] (0 0 0); + + coordinateSystem + { + type cartesian; + origin (0 0 0); + coordinateRotation + { + type axesRotation; + e1 (0.70710678 0.70710678 0); + e2 (0 0 1); + } + } } } } -// ************************************************************************* // + +//************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/porosityProperties b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/porosityProperties index 650f01268ca7bb4dfe14c25d5d8f2a860cda2544..9795d83b85c0524d4e1a2c92dc2b3235fa7ebdad 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/porosityProperties +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/constant/porosityProperties @@ -28,8 +28,14 @@ porosity1 coordinateSystem { - e1 (0.70710678 0.70710678 0); - e2 (0 0 1); + type cartesian; + origin (0 0 0); + coordinateRotation + { + type axesRotation; + e1 (0.70710678 0.70710678 0); + e2 (0 0 1); + } } } } diff --git a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/system/fvOptions b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/system/fvOptions index d75a43c56502a9b451c820f3e98561755f44fcf6..5aee15c82d46da3cfcdc17d8c67d85374309a25f 100644 --- a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/system/fvOptions +++ b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/system/fvOptions @@ -51,12 +51,18 @@ porosity1 coordinateSystem { - e1 (0.70710678 0.70710678 0); - e2 (0 0 1); + type cartesian; + origin (0 0 0); + coordinateRotation + { + type axesRotation; + e1 (0.70710678 0.70710678 0); + e2 (0 0 1); + } } } } } -************************************************************************* // +//************************************************************************* // diff --git a/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/constant/porosityProperties b/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/constant/porosityProperties index 650f01268ca7bb4dfe14c25d5d8f2a860cda2544..80421b7786fe931d968685c97f6069ff94f228fc 100644 --- a/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/constant/porosityProperties +++ b/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/constant/porosityProperties @@ -28,8 +28,14 @@ porosity1 coordinateSystem { - e1 (0.70710678 0.70710678 0); - e2 (0 0 1); + type cartesian; + origin (0 0 0); + coordinateRotation + { + type axesRotation; + e1 (0.70710678 0.70710678 0); + e2 (0 0 1); + } } } } diff --git a/tutorials/lagrangian/reactingParcelFoam/filter/constant/porosityProperties b/tutorials/lagrangian/reactingParcelFoam/filter/constant/porosityProperties index 93c4de650d34640250d9533b2491c143b31daa9a..af10f81b16814de574eab4721350bdd54fa422ef 100644 --- a/tutorials/lagrangian/reactingParcelFoam/filter/constant/porosityProperties +++ b/tutorials/lagrangian/reactingParcelFoam/filter/constant/porosityProperties @@ -28,8 +28,14 @@ filter1 coordinateSystem { - e1 (1 0 0); - e2 (0 1 0); + type cartesian; + origin (0 0 0); + coordinateRotation + { + type axesRotation; + e1 (1 0 0); + e2 (0 1 0); + } } } }