diff --git a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/0/U b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/0/U index 510508331eb43d6141903400407cd9f8607b68ed..29279adbfe292183774e32fdc96202098f8c8e3d 100644 --- a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/0/U +++ b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/0/U @@ -30,7 +30,7 @@ boundaryField outlet { - type inletOutlet; + type pressureInletOutletVelocity; inletValue uniform (0 0 0); value uniform (0 0 0); } diff --git a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/0/p b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/0/p index 0f1e50b4b897813357996cc8f94848c3249d886f..ed1ce104abea31666e64537cdd9efe17c74280b9 100644 --- a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/0/p +++ b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/0/p @@ -28,14 +28,12 @@ boundaryField outlet { type waveTransmissive; - field p; phi phi; - rho rho; psi thermo:psi; gamma 1.3; fieldInf 1e5; lInf 0.3; - value uniform 1e5; + value $internalField; } upperWall diff --git a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/constant/thermophysicalProperties b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/constant/thermophysicalProperties index 955bebb2d53b720343f10ffdd98024b8131779b7..392e2e045bf30bfbf162b0f531cf855d8a6056b8 100644 --- a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/constant/thermophysicalProperties @@ -15,34 +15,15 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -gasThermoTypes -{ - constant - { - type hePsiThermo; - mixture pureMixture; - transport const; - thermo hConst; - equationOfState perfectGas; - specie specie; - energy sensibleEnthalpy; - } - - janaf - { - type hePsiThermo; - mixture pureMixture; - transport sutherland; - thermo janaf; - equationOfState perfectGas; - specie specie; - energy sensibleEnthalpy; - } -} - thermoType { - ${:gasThermoTypes.constant}; + type hePsiThermo; + mixture pureMixture; + transport const; + thermo eConst; + equationOfState perfectGas; + specie specie; + energy sensibleInternalEnergy; } mixture @@ -54,7 +35,7 @@ mixture } thermodynamics { - Cp 1000; + Cv 712; Hf 0; } transport diff --git a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/controlDict b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/controlDict index 4524b42aa56d231366d7ab0bb2d17c37b4599e94..06932c93696abb91ae73236c7f2ce147feffa526 100644 --- a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/controlDict +++ b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/controlDict @@ -17,7 +17,7 @@ FoamFile application rhoPimpleFoam; -startFrom latestTime; +startFrom startTime; startTime 0; diff --git a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/fvSchemes b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/fvSchemes index 1b84b2505e498f793b10b3a9b6507df29b76de04..51d3236831d8c435f26594017286250440c20611 100644 --- a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/fvSchemes +++ b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/fvSchemes @@ -28,9 +28,10 @@ gradSchemes divSchemes { default none; - div(phi,U) Gauss filteredLinear2V 0.2 0; - div(phi,h) Gauss filteredLinear2 0.2 0; + div(phi,U) Gauss LUST grad(U); + div(phi,e) Gauss LUST grad(e); div(phi,K) Gauss linear; + div(phiv,p) Gauss linear; div(phi,k) Gauss limitedLinear 1; div(phi,B) Gauss limitedLinear 1; div(phi,muTilda) Gauss limitedLinear 1; diff --git a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/fvSolution b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/fvSolution index bc41567cc8ae6c8cc6751cbf3c8ba0a9eafce63b..bd907a689c49798b8fd3ff8c32908268b9539695 100644 --- a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/fvSolution +++ b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/system/fvSolution @@ -31,15 +31,15 @@ solvers relTol 0; } - "(U|h|k|nuTilda)" + "(U|e|k|nuTilda)" { - solver PBiCG; - preconditioner DILU; + solver smoothSolver; + smoother symGaussSeidel; tolerance 1e-6; relTol 0.01; } - "(U|h|k|nuTilda)Final" + "(U|e|k|nuTilda)Final" { $U; relTol 0; @@ -63,7 +63,7 @@ relaxationFactors } equations { - "(U|h|k|epsilon|omega).*" 1; + ".*" 1; } }