diff --git a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/T b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/T index 935ed31af8..09e05d272b 100644 --- a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/T +++ b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/T @@ -32,6 +32,7 @@ boundaryField type fixedValue; value uniform 400; } + overset { type overset; diff --git a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/U b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/U index 320d4401ce..6263039540 100644 --- a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/U +++ b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/U @@ -34,16 +34,17 @@ boundaryField value uniform (0 0 0); } - outlet - { - type uniformFixedValue; - uniformValue (0 0 0); - } - inlet - { - type uniformFixedValue; - uniformValue (0 0 0); - } + outlet + { + type uniformFixedValue; + uniformValue (0 0 0); + } + + inlet + { + type uniformFixedValue; + uniformValue (0 0 0); + } overset { diff --git a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/epsilon b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/epsilon index 1851c51c9d..9d84e2808b 100644 --- a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/epsilon +++ b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/epsilon @@ -14,7 +14,6 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - dimensions [ 0 2 -3 0 0 0 0 ]; internalField uniform 0.1; @@ -33,7 +32,6 @@ boundaryField type epsilonWallFunction; value $internalField; } - } // ************************************************************************* // diff --git a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/p b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/p index 293f3c9fc9..4797a1d9c4 100644 --- a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/p +++ b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/p @@ -26,6 +26,7 @@ boundaryField { type zeroGradient; } + overset { type overset; diff --git a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/pointDisplacement b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/pointDisplacement deleted file mode 100644 index 10c24adc0d..0000000000 --- a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/0.orig/pointDisplacement +++ /dev/null @@ -1,41 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class pointVectorField; - object pointDisplacement; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 1 0 0 0 0 0]; - -internalField uniform (0 0 0); - -boundaryField -{ - ".*" - { - type uniformFixedValue; - uniformValue (0 0 0); - } - - hole - { - type zeroGradient; - } - - overset - { - patchType overset; - type zeroGradient; - } -} - -// ************************************************************************* // diff --git a/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/README.txt b/tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/README similarity index 100% rename from tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/README.txt rename to tutorials/compressible/overRhoPimpleDyMFoam/twoSimpleRotors/README diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/Allclean b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/Allclean index d68987d2f2..e38a2c7a20 100755 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/Allclean +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/Allclean @@ -1,5 +1,7 @@ #!/bin/sh -cd "${0%/*}" || exit # Run from this directory +cd "${0%/*}" || exit # Run from this directory +. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions +#------------------------------------------------------------------------------ # An extruded mesh around cylinder (cd cylinderAndBackground && ./Allclean) diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/alphat b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/alphat index d9f1483c9d..3e13ad58cd 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/alphat +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/alphat @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class volScalarField; - location "0"; object alphat; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -29,6 +28,7 @@ boundaryField Prt 0.85; value uniform 0; } + ".*" { type calculated; @@ -36,5 +36,4 @@ boundaryField } } - // ************************************************************************* // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/include/fixedInlet b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/include/fixedInlet deleted file mode 100644 index 24715a9933..0000000000 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/include/fixedInlet +++ /dev/null @@ -1,15 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -inlet -{ - type fixedValue; - value $internalField; -} - -// ************************************************************************* // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/include/initialConditions b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/include/initialConditions index 6b0dee2dcf..1913ac334d 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/include/initialConditions +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/include/initialConditions @@ -11,6 +11,5 @@ pressure 1e5; temperature 300; turbulentEpsilon 10; turbulentKE 1; -#inputMode merge // ************************************************************************* // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/p b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/p index 3479710a47..7362061664 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/p +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/0.orig/p @@ -28,15 +28,18 @@ boundaryField { type zeroGradient; } + inlet { type zeroGradient; } + outlet { type fixedValue; value $internalField; } + topAndBottom { type zeroGradient; diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/Allrun b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/Allrun index 8c92b17f92..78d5debbe7 100755 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/Allrun +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/Allrun @@ -5,7 +5,6 @@ cd "${0%/*}" || exit # Run from this directory ./Allrun.pre -# Run it for a bit runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/constant/dynamicMeshDict b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/constant/dynamicMeshDict index a8e66875c8..9ffc4840c8 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/constant/dynamicMeshDict +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/constant/dynamicMeshDict @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/constant/transportProperties b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/constant/transportProperties index 2828e9ca86..998328bfe1 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/constant/transportProperties +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/constant/transportProperties @@ -10,30 +10,14 @@ FoamFile version 2.0; format ascii; class dictionary; + location "constant"; object transportProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -DT DT [ 0 2 -1 0 0 0 0 ] 1; //4e-05; +DT 1; -transportModel Newtonian; +nu 1e-03; -nu nu [ 0 2 -1 0 0 0 0 ] 1e-03; - -CrossPowerLawCoeffs -{ - nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; - nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; - m m [ 0 0 1 0 0 0 0 ] 1; - n n [ 0 0 0 0 0 0 0 ] 1; -} - -BirdCarreauCoeffs -{ - nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06; - nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06; - k k [ 0 0 1 0 0 0 0 ] 0; - n n [ 0 0 0 0 0 0 0 ] 1; -} // ************************************************************************* // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/decomposeParDict b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/decomposeParDict index ac753227bc..68229e3726 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/decomposeParDict +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/decomposeParDict @@ -10,7 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; - note "mesh decomposition control dictionary"; + location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/fvSchemes b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/fvSchemes index 82c0dfc679..f84fa164fa 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/fvSchemes +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/fvSchemes @@ -35,9 +35,7 @@ divSchemes div(phi,h) bounded Gauss upwind; div(phi,epsilon) bounded Gauss upwind; div(phi,k) bounded Gauss upwind; - div(phi,Ekp) bounded Gauss upwind; - div(phi,K) bounded Gauss upwind; } diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/fvSolution b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/fvSolution index 7f1bd00383..8c292c589b 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/fvSolution +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/fvSolution @@ -54,9 +54,7 @@ SIMPLE p 1e-3; U 1e-4; e 1e-3; - - // possibly check turbulence fields - "(k|epsilon|omega)" 1e-3; + "(k|epsilon)" 1e-3; } } diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/setFieldsDict b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/setFieldsDict index ff07bf7d8d..7c9dd5aa9d 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/setFieldsDict +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/setFieldsDict @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/topoSetDict b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/topoSetDict index a095db7fe5..c21aae78be 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/topoSetDict +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderAndBackground/system/topoSetDict @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/createPatchDict b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/createPatchDict index a69bd7812a..ff7892b38f 100644 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/createPatchDict +++ b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/createPatchDict @@ -10,6 +10,7 @@ FoamFile version 2.0; format ascii; class dictionary; + location "system"; object createPatchDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -78,7 +79,7 @@ patches // If constructFrom = set : name of faceSet set f0; } - ); + // ************************************************************************* // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/fvSchemes b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/fvSchemes deleted file mode 100644 index 6055a1066f..0000000000 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/fvSchemes +++ /dev/null @@ -1,58 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object fvSchemes; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -ddtSchemes -{ - default Euler; -} - -gradSchemes -{ - default Gauss linear; -} - -divSchemes -{ - default none; - div(phi,U) Gauss limitedLinearV 1; - div(phi,k) Gauss upwind; - div(phi,epsilon) Gauss upwind; - div(phi,R) Gauss upwind; - div(R) Gauss linear; - div(phid,p) Gauss limitedLinear 1; - div(phi,K) Gauss limitedLinear 1; - div(phi,e) Gauss limitedLinear 1; - div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; -} - -laplacianSchemes -{ - default Gauss linear limited corrected 0.5; -} - -interpolationSchemes -{ - default linear; -} - -snGradSchemes -{ - default corrected; -} - - -// ************************************************************************* // diff --git a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/fvSolution b/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/fvSolution deleted file mode 100644 index 9e70d82285..0000000000 --- a/tutorials/compressible/overRhoSimpleFoam/hotCylinder/cylinderMesh/system/fvSolution +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object fvSolution; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -solvers -{ - p - { - solver smoothSolver; - smoother symGaussSeidel; - tolerance 1e-12; - relTol 0; - } - - rho - { - solver PCG; - preconditioner DIC; - tolerance 1e-08; - relTol 0; - } - - "(U|e|k|epsilon|R)" - { - $p; - tolerance 1e-08; - relTol 0; - } -} - -PISO -{ - nCorrectors 2; - nNonOrthogonalCorrectors 2; -} - - -// ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralDyMFoam/movingCone/0/pointMotionUx b/tutorials/compressible/rhoCentralDyMFoam/movingCone/0/pointMotionUx index 388ffa06d7..4f8f98aef6 100644 --- a/tutorials/compressible/rhoCentralDyMFoam/movingCone/0/pointMotionUx +++ b/tutorials/compressible/rhoCentralDyMFoam/movingCone/0/pointMotionUx @@ -25,28 +25,34 @@ boundaryField type uniformFixedValue; uniformValue constant 160; } + farFieldMoving { type slip; } + fixedWall { type uniformFixedValue; uniformValue constant 0; } + left { type uniformFixedValue; uniformValue constant 0; } + farField { type slip; } + back { type wedge; } + front { type wedge; diff --git a/tutorials/compressible/rhoCentralDyMFoam/movingCone/system/controlDict b/tutorials/compressible/rhoCentralDyMFoam/movingCone/system/controlDict index eb1c3cceb7..41e685356b 100644 --- a/tutorials/compressible/rhoCentralDyMFoam/movingCone/system/controlDict +++ b/tutorials/compressible/rhoCentralDyMFoam/movingCone/system/controlDict @@ -31,7 +31,7 @@ writeControl adjustable; writeInterval 5e-7; -purgeWrite 0; +purgeWrite 5; writeFormat binary; diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/T b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/T index 4a87e52a44..edfa0b76b2 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/T +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/T @@ -47,8 +47,15 @@ boundaryField value uniform 297.0; } - wedge1 {type wedge;} - wedge2 {type wedge;} + wedge1 + { + type wedge; + } + + wedge2 + { + type wedge; + } } // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/U b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/U index 4eca7ad8cf..30519c1fd1 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/U +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/U @@ -43,8 +43,15 @@ boundaryField type noSlip; } - wedge1 {type wedge;} - wedge2 {type wedge;} + wedge1 + { + type wedge; + } + + wedge2 + { + type wedge; + } } // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/p b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/p index 21aa23ae84..78087a104c 100644 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/p +++ b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/0.orig/p @@ -52,8 +52,15 @@ boundaryField type zeroGradient; } - wedge1 {type wedge;} - wedge2 {type wedge;} + wedge1 + { + type wedge; + } + + wedge2 + { + type wedge; + } } // ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/mapFieldsDict b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/mapFieldsDict deleted file mode 100644 index 4e6440e796..0000000000 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/mapFieldsDict +++ /dev/null @@ -1,23 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object mapFieldsDict; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -patchMap ( ); - -cuttingPatches ( ); - - -// ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/sample b/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/sample deleted file mode 100644 index c55b4f2949..0000000000 --- a/tutorials/compressible/rhoCentralFoam/LadenburgJet60psi/system/sample +++ /dev/null @@ -1,56 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object sample; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -type sets; -libs (sampling); - -interpolationScheme cellPointFace; - -writeFormat raw; - -sampleSets -( - face - { - name cone25; - axis x; - start (0 0 0); - end (0.09208087 0.042939 0); - nPoints 92; - } - face - { - name cone55; - axis x; - start (0.09208087 0.042939 0); - end (0.153683 0.13092 0); - nPoints 61; - } - face - { - name base; - axis x; - start (0.153683 0.13092 0); - end (0.193675 0.13092 0); - nPoints 40; - } -); - -fields ( p wallHeatTransRate ); - - -// ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict b/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict index 0863250eb6..6a2cd9363d 100644 --- a/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict +++ b/tutorials/compressible/rhoCentralFoam/forwardStep/system/controlDict @@ -31,7 +31,7 @@ writeControl adjustable; writeInterval 0.1; -purgeWrite 0; +purgeWrite 10; writeFormat ascii; diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/Allclean b/tutorials/compressible/rhoCentralFoam/shockTube/Allclean index dd96be9c32..fb1f384730 100755 --- a/tutorials/compressible/rhoCentralFoam/shockTube/Allclean +++ b/tutorials/compressible/rhoCentralFoam/shockTube/Allclean @@ -4,6 +4,5 @@ cd "${0%/*}" || exit # Run from this directory #------------------------------------------------------------------------------ cleanCase0 -cleanSamples #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/system/sample b/tutorials/compressible/rhoCentralFoam/shockTube/system/sample deleted file mode 100644 index f6a289f361..0000000000 --- a/tutorials/compressible/rhoCentralFoam/shockTube/system/sample +++ /dev/null @@ -1,40 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class dictionary; - location "system"; - object sample; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -type sets; -libs (sampling); - -interpolationScheme cellPoint; - -setFormat raw; - -sets -( - line - { - type face; - axis x; - start (-5 0 0); - end (5 0 0); - nPoints 100; - } -); - -fields ( p U.component(0) T rho ); - - -// ************************************************************************* // diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/system/setFieldsDict b/tutorials/compressible/rhoCentralFoam/shockTube/system/setFieldsDict index ffc8801667..14c3e011ad 100644 --- a/tutorials/compressible/rhoCentralFoam/shockTube/system/setFieldsDict +++ b/tutorials/compressible/rhoCentralFoam/shockTube/system/setFieldsDict @@ -15,9 +15,25 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues ( volVectorFieldValue U (0 0 0) volScalarFieldValue T 348.432 volScalarFieldValue p 100000 ); +defaultFieldValues +( + volVectorFieldValue U (0 0 0) + volScalarFieldValue T 348.432 + volScalarFieldValue p 100000 +); -regions ( boxToCell { box (0 -1 -1) (5 1 1) ; fieldValues ( volScalarFieldValue T 278.746 volScalarFieldValue p 10000 ) ; } ); +regions +( + boxToCell + { + box (0 -1 -1) (5 1 1); + fieldValues + ( + volScalarFieldValue T 278.746 + volScalarFieldValue p 10000 + ); + } +); // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/LES/pitzDaily/system/controlDict b/tutorials/compressible/rhoPimpleFoam/LES/pitzDaily/system/controlDict index a2f882bac0..79c38a1874 100644 --- a/tutorials/compressible/rhoPimpleFoam/LES/pitzDaily/system/controlDict +++ b/tutorials/compressible/rhoPimpleFoam/LES/pitzDaily/system/controlDict @@ -31,7 +31,7 @@ writeControl timeStep; writeInterval 100; -purgeWrite 0; +purgeWrite 10; writeFormat ascii; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/TJunction/README.txt b/tutorials/compressible/rhoPimpleFoam/RAS/TJunction/README similarity index 100% rename from tutorials/compressible/rhoPimpleFoam/RAS/TJunction/README.txt rename to tutorials/compressible/rhoPimpleFoam/RAS/TJunction/README diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/TJunction/constant/fvOptions b/tutorials/compressible/rhoPimpleFoam/RAS/TJunction/constant/fvOptions index ce5c49527b..6778a36cb6 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/TJunction/constant/fvOptions +++ b/tutorials/compressible/rhoPimpleFoam/RAS/TJunction/constant/fvOptions @@ -14,9 +14,12 @@ FoamFile object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + viscousDissipation { type viscousDissipation; enabled true; } + + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/0/p b/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/0/p index 1e896e6508..c24faa11e4 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/0/p +++ b/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/0/p @@ -55,7 +55,6 @@ boundaryField // debugParser true; } - outlet2 { type fixedValue; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/README.txt b/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/README similarity index 100% rename from tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/README.txt rename to tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/README diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/constant/fvOptions b/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/constant/fvOptions index ce5c49527b..6778a36cb6 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/constant/fvOptions +++ b/tutorials/compressible/rhoPimpleFoam/RAS/TJunctionAverage/constant/fvOptions @@ -14,9 +14,12 @@ FoamFile object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + viscousDissipation { type viscousDissipation; enabled true; } + + // ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/aerofoilNACA0012/system/controlDict b/tutorials/compressible/rhoPimpleFoam/RAS/aerofoilNACA0012/system/controlDict index de23689044..bd63c907e7 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/aerofoilNACA0012/system/controlDict +++ b/tutorials/compressible/rhoPimpleFoam/RAS/aerofoilNACA0012/system/controlDict @@ -30,7 +30,7 @@ writeControl adjustable; writeInterval 0.001; -purgeWrite 0; +purgeWrite 10; writeFormat ascii; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/T b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/T similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/T rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/T index 49322412ec..7bd248b7db 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/T +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/T @@ -20,19 +20,21 @@ internalField uniform 293; boundaryField { - front { type zeroGradient; } + back { type zeroGradient; } + wall { type zeroGradient; } + porosityWall { type zeroGradient; @@ -43,6 +45,7 @@ boundaryField type fixedValue; value $internalField; } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/U b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/U similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/U rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/U index e0ac4faf1d..8338a3745a 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/U +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/U @@ -24,25 +24,30 @@ boundaryField { type noSlip; } + back { type noSlip; } + walls { type noSlip; } + porosityWall { type slip; value uniform (0 0 0); } + inlet { type flowRateInletVelocity; massFlowRate constant 0.1; rhoInlet 1; // estimate for initial rho } + outlet { type pressureInletOutletVelocity; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/alphat b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/alphat similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/alphat rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/alphat index 5632f3dbb7..c6857e1259 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/alphat +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/alphat @@ -26,26 +26,31 @@ boundaryField type compressible::alphatWallFunction; value $internalField; } + back { type compressible::alphatWallFunction; value $internalField; } + walls { type compressible::alphatWallFunction; value $internalField; } + porosityWall { type compressible::alphatWallFunction; value $internalField; } + inlet { type calculated; value $internalField; } + outlet { type calculated; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/epsilon b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/epsilon similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/epsilon rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/epsilon index b9a9b11639..7aba2ddd87 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/epsilon +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/epsilon @@ -26,27 +26,32 @@ boundaryField type epsilonWallFunction; value uniform 200; } + back { type epsilonWallFunction; value uniform 200; } + walls { type epsilonWallFunction; value uniform 200; } + porosityWall { type epsilonWallFunction; value uniform 200; } + inlet { type turbulentMixingLengthDissipationRateInlet; mixingLength 0.005; value uniform 200; } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/k b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/k similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/k rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/k index 512aaab73a..a7024180c4 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/k +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/k @@ -26,27 +26,32 @@ boundaryField type kqRWallFunction; value uniform 1; } + back { type kqRWallFunction; value uniform 1; } + walls { type kqRWallFunction; value uniform 1; } + porosityWall { type kqRWallFunction; value uniform 1; } + inlet { type turbulentIntensityKineticEnergyInlet; intensity 0.05; value uniform 1; } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/nut b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/nut similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/nut rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/nut index a36fd13741..88648f7426 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/nut +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/nut @@ -26,26 +26,31 @@ boundaryField type nutkWallFunction; value uniform 0; } + back { type nutkWallFunction; value uniform 0; } + walls { type nutkWallFunction; value uniform 0; } + porosityWall { type nutkWallFunction; value uniform 0; } + inlet { type calculated; value uniform 0; } + outlet { type calculated; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/p b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/p similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/p rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/p index 51e29136c7..0eda25cf00 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/p +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0.orig/p @@ -24,14 +24,17 @@ boundaryField { type zeroGradient; } + back { type zeroGradient; } + walls { type zeroGradient; } + porosityWall { type zeroGradient; @@ -41,6 +44,7 @@ boundaryField { type zeroGradient; } + outlet { type fixedValue; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/makeMesh b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/Allclean similarity index 62% rename from tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/makeMesh rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/Allclean index 7239a755e2..fb1f384730 100755 --- a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/makeMesh +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/Allclean @@ -1,9 +1,8 @@ #!/bin/sh cd "${0%/*}" || exit # Run from this directory -. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions +. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions #------------------------------------------------------------------------------ -m4 system/blockMeshDict.m4 > system/blockMeshDict -runApplication blockMesh +cleanCase0 #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/Allrun b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/Allrun index 8e142f906c..7efb7208a9 100755 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/Allrun +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/Allrun @@ -6,6 +6,7 @@ cd "${0%/*}" || exit # Run from this directory m4 system/blockMeshDict.m4 > system/blockMeshDict runApplication blockMesh +restore0Dir runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/system/fvSolution b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/system/fvSolution index a69e97d51f..edaf4405a9 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/system/fvSolution +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/system/fvSolution @@ -31,7 +31,7 @@ solvers relTol 0; } - "(rho|U|e|k|epsilon|omega)" + "(rho|U|e|k|epsilon)" { solver smoothSolver; smoother symGaussSeidel; @@ -39,7 +39,7 @@ solvers relTol 0.1; } - "(rho|U|e|k|epsilon|omega)Final" + "(rho|U|e|k|epsilon)Final" { $U; relTol 0; @@ -82,7 +82,7 @@ relaxationFactors { "U.*" 0.7; "e.*" 0.7; - "(k|epsilon|omega).*" 0.7; + "(k|epsilon).*" 0.7; } } diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/T b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/T similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/T rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/T index db9a31ff06..1660005f8a 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/T +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/T @@ -20,19 +20,21 @@ internalField uniform 293; boundaryField { - front { type zeroGradient; } + back { type zeroGradient; } + walls { type zeroGradient; } + porosityWall { type zeroGradient; @@ -43,6 +45,7 @@ boundaryField type fixedValue; value $internalField; } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/U b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/U similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/U rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/U index 397e1a2ab4..e4ee39d0d5 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/U +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/U @@ -24,25 +24,30 @@ boundaryField { type noSlip; } + back { type noSlip; } + walls { type noSlip; } + porosityWall { type slip; value uniform (0 0 0); } + inlet { type flowRateInletVelocity; massFlowRate constant 0.1; value uniform (0 0 0); } + outlet { type fluxCorrectedVelocity; //inletOutlet; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/alphat b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/alphat similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/alphat rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/alphat index 99a4a72290..4903fdb63b 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/alphat +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/alphat @@ -26,26 +26,31 @@ boundaryField type compressible::alphatWallFunction; value uniform 0; } + back { type compressible::alphatWallFunction; value uniform 0; } + walls { type compressible::alphatWallFunction; value uniform 0; } + porosityWall { type compressible::alphatWallFunction; value uniform 0; } + inlet { type calculated; value uniform 0; } + outlet { type calculated; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/epsilon b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/epsilon similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/epsilon rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/epsilon index b9a9b11639..7aba2ddd87 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/epsilon +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/epsilon @@ -26,27 +26,32 @@ boundaryField type epsilonWallFunction; value uniform 200; } + back { type epsilonWallFunction; value uniform 200; } + walls { type epsilonWallFunction; value uniform 200; } + porosityWall { type epsilonWallFunction; value uniform 200; } + inlet { type turbulentMixingLengthDissipationRateInlet; mixingLength 0.005; value uniform 200; } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/k b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/k similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/k rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/k index 512aaab73a..a7024180c4 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/k +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/k @@ -26,27 +26,32 @@ boundaryField type kqRWallFunction; value uniform 1; } + back { type kqRWallFunction; value uniform 1; } + walls { type kqRWallFunction; value uniform 1; } + porosityWall { type kqRWallFunction; value uniform 1; } + inlet { type turbulentIntensityKineticEnergyInlet; intensity 0.05; value uniform 1; } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/nut b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/nut similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/nut rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/nut index a36fd13741..88648f7426 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0/nut +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/nut @@ -26,26 +26,31 @@ boundaryField type nutkWallFunction; value uniform 0; } + back { type nutkWallFunction; value uniform 0; } + walls { type nutkWallFunction; value uniform 0; } + porosityWall { type nutkWallFunction; value uniform 0; } + inlet { type calculated; value uniform 0; } + outlet { type calculated; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/p b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/p similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/p rename to tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/p index 51e29136c7..0eda25cf00 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuct/0/p +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/0.orig/p @@ -24,14 +24,17 @@ boundaryField { type zeroGradient; } + back { type zeroGradient; } + walls { type zeroGradient; } + porosityWall { type zeroGradient; @@ -41,6 +44,7 @@ boundaryField { type zeroGradient; } + outlet { type fixedValue; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/Allclean b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/Allclean new file mode 100755 index 0000000000..fb1f384730 --- /dev/null +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/Allclean @@ -0,0 +1,8 @@ +#!/bin/sh +cd "${0%/*}" || exit # Run from this directory +. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions +#------------------------------------------------------------------------------ + +cleanCase0 + +#------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/Allrun b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/Allrun index 8e142f906c..7efb7208a9 100755 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/Allrun +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/Allrun @@ -6,6 +6,7 @@ cd "${0%/*}" || exit # Run from this directory m4 system/blockMeshDict.m4 > system/blockMeshDict runApplication blockMesh +restore0Dir runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/system/fvSolution b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/system/fvSolution index ec0e462d96..58ba30ce2c 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/system/fvSolution +++ b/tutorials/compressible/rhoPimpleFoam/RAS/angledDuctLTS/system/fvSolution @@ -32,7 +32,7 @@ solvers relTol 0.1; } - "(rho|U|h|k|epsilon|omega)" + "(rho|U|h|k|epsilon)" { solver smoothSolver; smoother symGaussSeidel; @@ -40,7 +40,7 @@ solvers relTol 0.1; } - "(rho|U|h|k|epsilon|omega)Final" + "(rho|U|h|k|epsilon)Final" { $U; tolerance 1e-05; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/T b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/T similarity index 100% rename from tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/T rename to tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/T diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/U b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/U similarity index 100% rename from tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/U rename to tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/U diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/alphat b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/alphat similarity index 99% rename from tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/alphat rename to tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/alphat index d1f316a240..c7383faa5e 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/alphat +++ b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/alphat @@ -27,16 +27,19 @@ boundaryField Prt 0.85; value uniform 0; } + stator { type compressible::alphatWallFunction; Prt 0.85; value uniform 0; } + front { type empty; } + back { type empty; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/epsilon b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/epsilon similarity index 100% rename from tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/epsilon rename to tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/epsilon diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/k b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/k similarity index 100% rename from tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/k rename to tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/k diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/nut b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/nut similarity index 100% rename from tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/nut rename to tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/nut diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/p b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/p similarity index 100% rename from tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0/p rename to tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/0.orig/p diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/Allclean b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/Allclean new file mode 100755 index 0000000000..fb1f384730 --- /dev/null +++ b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/Allclean @@ -0,0 +1,8 @@ +#!/bin/sh +cd "${0%/*}" || exit # Run from this directory +. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions +#------------------------------------------------------------------------------ + +cleanCase0 + +#------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/Allrun b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/Allrun index d5b4b35cc2..7efb7208a9 100755 --- a/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/Allrun +++ b/tutorials/compressible/rhoPimpleFoam/RAS/mixerVessel2D/Allrun @@ -3,7 +3,10 @@ cd "${0%/*}" || exit # Run from this directory . ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions #------------------------------------------------------------------------------ -./makeMesh +m4 system/blockMeshDict.m4 > system/blockMeshDict +runApplication blockMesh + +restore0Dir runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/0/V b/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/0/V deleted file mode 100644 index 486cf4dec7..0000000000 --- a/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/0/V +++ /dev/null @@ -1,1045 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class volScalarField; - location "0"; - object V; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -dimensions [0 3 0 0 0 0 0]; - -internalField nonuniform List -1000 -( -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000008e-06 -1.000000000000038e-06 -9.999999999999489e-07 -1.000000000000008e-06 -1.000000000000068e-06 -9.999999999999489e-07 -9.999999999999786e-07 -1.000000000000008e-06 -1.000000000000038e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999489e-07 -1.000000000000097e-06 -1.000000000000008e-06 -9.999999999999786e-07 -9.999999999999489e-07 -1.000000000000068e-06 -1.000000000000008e-06 -9.999999999999489e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000008e-06 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000008e-06 -1.000000000000038e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000097e-06 -9.999999999999489e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000068e-06 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000008e-06 -1.000000000000038e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000008e-06 -1.000000000000068e-06 -9.999999999999489e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000097e-06 -9.999999999999489e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000008e-06 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000008e-06 -1.000000000000038e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000008e-06 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999489e-07 -9.999999999999786e-07 -1.000000000000097e-06 -9.999999999999489e-07 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000008e-06 -1.000000000000068e-06 -9.999999999999489e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999489e-07 -1.000000000000023e-06 -1.000000000000008e-06 -1.000000000000023e-06 -9.999999999999934e-07 -9.999999999999934e-07 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000052e-06 -9.999999999999637e-07 -1.000000000000008e-06 -9.999999999999934e-07 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000008e-06 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999489e-07 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999934e-07 -9.999999999999934e-07 -1.000000000000023e-06 -1.000000000000008e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999489e-07 -1.000000000000053e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999637e-07 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999489e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999489e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000053e-06 -9.999999999999489e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999786e-07 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999637e-07 -1.000000000000053e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999858e-07 -1.000000000000015e-06 -9.999999999999934e-07 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999858e-07 -9.999999999999858e-07 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999932e-07 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000008e-06 -9.999999999999858e-07 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999858e-07 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000008e-06 -9.999999999999932e-07 -9.999999999999932e-07 -1.000000000000015e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999712e-07 -1.000000000000001e-06 -9.999999999999932e-07 -1.000000000000008e-06 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999858e-07 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999858e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999858e-07 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000004e-06 -1.000000000000001e-06 -9.999999999999968e-07 -1.000000000000001e-06 -1.000000000000004e-06 -9.999999999999932e-07 -9.999999999999972e-07 -9.99999999999997e-07 -1.000000000000001e-06 -9.999999999999968e-07 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999972e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000004e-06 -1.000000000000001e-06 -9.999999999999972e-07 -9.999999999999896e-07 -9.999999999999972e-07 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999968e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000004e-06 -9.99999999999997e-07 -1.000000000000001e-06 -9.999999999999934e-07 -9.99999999999997e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000004e-06 -9.999999999999972e-07 -1.000000000000004e-06 -9.999999999999972e-07 -1.000000000000004e-06 -9.999999999999972e-07 -1.000000000000004e-06 -9.99999999999997e-07 -9.999999999999898e-07 -1.000000000000001e-06 -1.000000000000004e-06 -9.99999999999997e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000002e-06 -9.999999999999989e-07 -9.999999999999989e-07 -9.999999999999968e-07 -9.999999999999989e-07 -1.000000000000004e-06 -9.999999999999989e-07 -1.000000000000002e-06 -9.999999999999989e-07 -9.999999999999934e-07 -1.000000000000004e-06 -9.999999999999989e-07 -1.000000000000004e-06 -9.99999999999997e-07 -1.000000000000001e-06 -9.999999999999968e-07 -9.999999999999989e-07 -1.000000000000002e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000002e-06 -9.999999999999989e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.99999999999998e-07 -1.000000000000002e-06 -1.000000000000001e-06 -9.999999999999961e-07 -1.000000000000002e-06 -1.000000000000001e-06 -9.999999999999989e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999972e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999997e-07 -9.999999999999983e-07 -1.000000000000001e-06 -1e-06 -9.999999999999989e-07 -1.000000000000001e-06 -9.999999999999993e-07 -1.000000000000001e-06 -9.999999999999997e-07 -9.999999999999997e-07 -9.999999999999997e-07 -9.999999999999997e-07 -9.999999999999997e-07 -9.999999999999997e-07 -9.999999999999997e-07 -9.999999999999997e-07 -1.000000000000001e-06 -9.999999999999991e-07 -1.000000000000001e-06 -9.999999999999989e-07 -9.999999999999997e-07 -1.000000000000001e-06 -9.999999999999983e-07 -9.999999999999997e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999972e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999989e-07 -1.000000000000001e-06 -1.000000000000002e-06 -9.999999999999964e-07 -1.000000000000001e-06 -1.000000000000002e-06 -9.99999999999998e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999989e-07 -1.000000000000002e-06 -9.999999999999934e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000002e-06 -9.999999999999989e-07 -9.999999999999968e-07 -1.000000000000001e-06 -9.999999999999972e-07 -1.000000000000004e-06 -9.999999999999989e-07 -1.000000000000004e-06 -9.999999999999932e-07 -9.999999999999989e-07 -1.000000000000002e-06 -9.999999999999989e-07 -1.000000000000004e-06 -9.999999999999989e-07 -9.999999999999972e-07 -9.999999999999989e-07 -9.999999999999989e-07 -1.000000000000002e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999972e-07 -1.000000000000004e-06 -1.000000000000001e-06 -9.999999999999896e-07 -9.999999999999972e-07 -1.000000000000004e-06 -9.99999999999997e-07 -1.000000000000004e-06 -9.99999999999997e-07 -1.000000000000004e-06 -9.99999999999997e-07 -1.000000000000004e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999968e-07 -9.999999999999934e-07 -1.000000000000001e-06 -9.999999999999972e-07 -1.000000000000004e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999972e-07 -1.000000000000001e-06 -1.000000000000008e-06 -9.99999999999997e-07 -9.999999999999896e-07 -9.99999999999997e-07 -1.000000000000001e-06 -1.000000000000004e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999972e-07 -1.000000000000001e-06 -1.000000000000008e-06 -9.99999999999997e-07 -1.000000000000001e-06 -9.999999999999968e-07 -9.999999999999972e-07 -9.999999999999934e-07 -1.000000000000004e-06 -1.000000000000001e-06 -9.99999999999997e-07 -1.000000000000001e-06 -1.000000000000004e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999932e-07 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999858e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999932e-07 -1.000000000000001e-06 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999858e-07 -1.000000000000008e-06 -1.000000000000008e-06 -1.000000000000001e-06 -1.000000000000001e-06 -9.999999999999932e-07 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999858e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000001e-06 -9.999999999999712e-07 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000015e-06 -9.999999999999932e-07 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999858e-07 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999858e-07 -1.000000000000008e-06 -9.999999999999932e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999858e-07 -9.999999999999858e-07 -1.000000000000001e-06 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -1.000000000000001e-06 -9.999999999999934e-07 -1.000000000000015e-06 -9.999999999999858e-07 -1.000000000000001e-06 -1.000000000000008e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000052e-06 -9.999999999999637e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999489e-07 -1.000000000000052e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999489e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999637e-07 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999489e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000052e-06 -9.999999999999489e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000038e-06 -9.999999999999637e-07 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000008e-06 -1.000000000000023e-06 -9.999999999999934e-07 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999934e-07 -9.999999999999489e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999637e-07 -1.000000000000008e-06 -1.000000000000008e-06 -1.000000000000008e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -9.999999999999934e-07 -1.000000000000008e-06 -9.999999999999637e-07 -1.000000000000052e-06 -9.999999999999489e-07 -1.000000000000008e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999637e-07 -1.000000000000023e-06 -9.999999999999934e-07 -1.000000000000023e-06 -9.999999999999786e-07 -9.999999999999934e-07 -9.999999999999934e-07 -1.000000000000023e-06 -1.000000000000008e-06 -1.000000000000023e-06 -9.999999999999489e-07 -1.000000000000023e-06 -9.999999999999786e-07 -1.000000000000038e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999489e-07 -1.000000000000068e-06 -1.000000000000008e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999489e-07 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000097e-06 -9.999999999999786e-07 -9.999999999999489e-07 -1.000000000000008e-06 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000008e-06 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999489e-07 -1.000000000000097e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999489e-07 -1.000000000000068e-06 -1.000000000000008e-06 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000008e-06 -1.000000000000068e-06 -9.999999999999489e-07 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999489e-07 -1.000000000000097e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000008e-06 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999786e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000068e-06 -9.999999999999786e-07 -9.999999999999489e-07 -1.000000000000008e-06 -1.000000000000068e-06 -9.999999999999489e-07 -9.999999999999786e-07 -1.000000000000008e-06 -1.000000000000097e-06 -9.999999999999489e-07 -9.999999999999786e-07 -9.999999999999786e-07 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999786e-07 -9.999999999999489e-07 -1.000000000000068e-06 -1.000000000000008e-06 -9.999999999999489e-07 -1.000000000000038e-06 -1.000000000000008e-06 -9.999999999999786e-07 -1.000000000000008e-06 -) -; - -boundaryField -{ - inlet - { - type calculated; - value uniform 0.0004; - } - outlet - { - type calculated; - value uniform 0.0004; - } - frontAndBack - { - type empty; - } -} - - -// ************************************************************************* // diff --git a/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/system/controlDict b/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/system/controlDict index 7884db55a9..1e00988a1c 100644 --- a/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/system/controlDict +++ b/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/system/controlDict @@ -31,7 +31,7 @@ writeControl runTime; writeInterval 0.0002; -purgeWrite 0; +purgeWrite 10; writeFormat ascii; // binary; diff --git a/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/system/fvSolution b/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/system/fvSolution index 417940a296..a50e718acb 100644 --- a/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/system/fvSolution +++ b/tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/system/fvSolution @@ -62,10 +62,4 @@ PIMPLE } - - - - - - // ************************************************************************* // diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/T b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/T index 3db338a30d..204efd42e8 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/T +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/T @@ -20,19 +20,21 @@ internalField uniform 293; boundaryField { - front { type zeroGradient; } + back { type zeroGradient; } + walls { type zeroGradient; } + porosityWall { type zeroGradient; @@ -43,6 +45,7 @@ boundaryField type fixedValue; value $internalField; } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/U b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/U index 700d7c1237..0c3d926c9d 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/U +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/U @@ -24,25 +24,30 @@ boundaryField { type noSlip; } + back { type noSlip; } + walls { type noSlip; } + porosityWall { type slip; value $internalField; } + inlet { type flowRateInletVelocity; massFlowRate constant 0.1; value $internalField; } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/alphat b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/alphat index 35fdf2cf49..8c8ef32915 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/alphat +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/alphat @@ -26,26 +26,31 @@ boundaryField type compressible::alphatWallFunction; value $internalField; } + back { type compressible::alphatWallFunction; value $internalField; } + walls { type compressible::alphatWallFunction; value $internalField; } + porosityWall { type compressible::alphatWallFunction; value $internalField; } + inlet { type calculated; value $internalField; } + outlet { type calculated; diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/p b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/p index 51e29136c7..0eda25cf00 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/p +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/common/0.orig/p @@ -24,14 +24,17 @@ boundaryField { type zeroGradient; } + back { type zeroGradient; } + walls { type zeroGradient; } + porosityWall { type zeroGradient; @@ -41,6 +44,7 @@ boundaryField { type zeroGradient; } + outlet { type fixedValue; diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/explicit/system/fvSolution b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/explicit/system/fvSolution index d2844cf2d5..7d2b5ac2a1 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/explicit/system/fvSolution +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/explicit/system/fvSolution @@ -62,9 +62,7 @@ SIMPLE p 1e-2; U 1e-4; e 1e-3; - - // possibly check turbulence fields - "(k|epsilon|omega)" 1e-3; + "(k|epsilon)" 1e-3; } } diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/implicit/system/fvSolution b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/implicit/system/fvSolution index 77ffc0a68b..ca4697edc7 100644 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/implicit/system/fvSolution +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuct/implicit/system/fvSolution @@ -56,9 +56,7 @@ SIMPLE p 1e-3; U 1e-4; e 1e-3; - - // possibly check turbulence fields - "(k|epsilon|omega)" 1e-3; + "(k|epsilon)" 1e-3; } } diff --git a/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/0/nut b/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/0/nut index 1d8e5a292a..281fdb9684 100644 --- a/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/0/nut +++ b/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/0/nut @@ -28,7 +28,6 @@ boundaryField wall { - type nutkWallFunction; type nutkWallFunction; value uniform 0; } diff --git a/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/Allclean b/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/Allclean index f0255f7f4f..426e7ad42e 100755 --- a/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/Allclean +++ b/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/Allclean @@ -5,6 +5,4 @@ cd "${0%/*}" || exit # Run from this directory cleanCase -rm -f constant/geometry/boundaryLayer.obj - #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/system/solverInfo b/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/system/solverInfo index f6729c612a..d3f4ec2e29 100644 --- a/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/system/solverInfo +++ b/tutorials/compressible/rhoSimpleFoam/aerofoilNACA0012/system/solverInfo @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | + \\ / O peration | Version: v1912 \\ / A nd | Website: www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- diff --git a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/T b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/T index db9a31ff06..1660005f8a 100644 --- a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/T +++ b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/T @@ -20,19 +20,21 @@ internalField uniform 293; boundaryField { - front { type zeroGradient; } + back { type zeroGradient; } + walls { type zeroGradient; } + porosityWall { type zeroGradient; @@ -43,6 +45,7 @@ boundaryField type fixedValue; value $internalField; } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/U b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/U index c0b3a10747..35dd174351 100644 --- a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/U +++ b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/U @@ -24,25 +24,30 @@ boundaryField { type noSlip; } + back { type noSlip; } + walls { type noSlip; } + porosityWall { type slip; value uniform (0 0 0); } + inlet { type flowRateInletVelocity; massFlowRate constant 0.1; value uniform (0 0 0); } + outlet { type inletOutlet; diff --git a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/alphat b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/alphat index 99a4a72290..4903fdb63b 100644 --- a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/alphat +++ b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/alphat @@ -26,26 +26,31 @@ boundaryField type compressible::alphatWallFunction; value uniform 0; } + back { type compressible::alphatWallFunction; value uniform 0; } + walls { type compressible::alphatWallFunction; value uniform 0; } + porosityWall { type compressible::alphatWallFunction; value uniform 0; } + inlet { type calculated; value uniform 0; } + outlet { type calculated; diff --git a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/p b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/p index 51e29136c7..0eda25cf00 100644 --- a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/p +++ b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/0/p @@ -24,14 +24,17 @@ boundaryField { type zeroGradient; } + back { type zeroGradient; } + walls { type zeroGradient; } + porosityWall { type zeroGradient; @@ -41,6 +44,7 @@ boundaryField { type zeroGradient; } + outlet { type fixedValue; diff --git a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/Allclean b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/Allclean new file mode 100755 index 0000000000..426e7ad42e --- /dev/null +++ b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/Allclean @@ -0,0 +1,8 @@ +#!/bin/sh +cd "${0%/*}" || exit # Run from this directory +. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions +#------------------------------------------------------------------------------ + +cleanCase + +#------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/system/fvSolution b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/system/fvSolution index d74bf20d6c..e644d11fed 100644 --- a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/system/fvSolution +++ b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/system/fvSolution @@ -62,9 +62,7 @@ SIMPLE p 1e-2; U 1e-4; e 1e-3; - - // Possibly check turbulence fields - "(k|epsilon|omega)" 1e-3; + "(k|epsilon)" 1e-3; } } diff --git a/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/fvSolution b/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/fvSolution index 38b8b4f933..44c830d315 100644 --- a/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/fvSolution +++ b/tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/fvSolution @@ -100,9 +100,7 @@ SIMPLE p 1e-3; U 1e-4; e 1e-3; - - // possibly check turbulence fields - "(k|epsilon|omega)" 1e-3; + "(k|epsilon)" 1e-3; } diff --git a/tutorials/compressible/rhoSimpleFoam/squareBend/system/fvSolution b/tutorials/compressible/rhoSimpleFoam/squareBend/system/fvSolution index 50c6a7411d..c596a5b46d 100644 --- a/tutorials/compressible/rhoSimpleFoam/squareBend/system/fvSolution +++ b/tutorials/compressible/rhoSimpleFoam/squareBend/system/fvSolution @@ -49,9 +49,7 @@ SIMPLE p 1e-3; U 1e-4; e 1e-3; - - // possibly check turbulence fields - "(k|epsilon|omega)" 1e-3; + "(k|epsilon)" 1e-3; } } diff --git a/tutorials/compressible/sonicDyMFoam/movingCone/0/pointMotionUx b/tutorials/compressible/sonicDyMFoam/movingCone/0/pointMotionUx index 388ffa06d7..4f8f98aef6 100644 --- a/tutorials/compressible/sonicDyMFoam/movingCone/0/pointMotionUx +++ b/tutorials/compressible/sonicDyMFoam/movingCone/0/pointMotionUx @@ -25,28 +25,34 @@ boundaryField type uniformFixedValue; uniformValue constant 160; } + farFieldMoving { type slip; } + fixedWall { type uniformFixedValue; uniformValue constant 0; } + left { type uniformFixedValue; uniformValue constant 0; } + farField { type slip; } + back { type wedge; } + front { type wedge; diff --git a/tutorials/compressible/sonicDyMFoam/movingCone/system/controlDict b/tutorials/compressible/sonicDyMFoam/movingCone/system/controlDict index 8c84b65d61..97e584be05 100644 --- a/tutorials/compressible/sonicDyMFoam/movingCone/system/controlDict +++ b/tutorials/compressible/sonicDyMFoam/movingCone/system/controlDict @@ -31,7 +31,7 @@ writeControl adjustable; writeInterval 5e-7; -purgeWrite 0; +purgeWrite 10; writeFormat binary; diff --git a/tutorials/compressible/sonicDyMFoam/movingCone/system/cuttingPlane b/tutorials/compressible/sonicDyMFoam/movingCone/system/cuttingPlane deleted file mode 100644 index da13b206cc..0000000000 --- a/tutorials/compressible/sonicDyMFoam/movingCone/system/cuttingPlane +++ /dev/null @@ -1,38 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: v1912 | -| \\ / A nd | Website: www.openfoam.com | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ - -cuttingPlane -{ - type surfaces; - libs (sampling); - - writeControl writeTime; - - surfaceFormat vtk; - fields ( p U ); - - interpolationScheme cellPoint; - - surfaces - ( - zNormal - { - type cuttingPlane; - planeType pointAndNormal; - pointAndNormalDict - { - point (0 0 0); - normal (0 0 1); - } - interpolate true; - } - ); -} - - -// ************************************************************************* // diff --git a/tutorials/compressible/sonicDyMFoam/movingCone/system/fvSolution b/tutorials/compressible/sonicDyMFoam/movingCone/system/fvSolution index fa0094a28c..25ae1fb403 100644 --- a/tutorials/compressible/sonicDyMFoam/movingCone/system/fvSolution +++ b/tutorials/compressible/sonicDyMFoam/movingCone/system/fvSolution @@ -46,7 +46,7 @@ solvers relTol 0; } - "(U|h|e|R|k|epsilon|omega)" + "(U|h|e)" { solver smoothSolver; smoother symGaussSeidel; @@ -54,7 +54,7 @@ solvers relTol 0.1; } - "(U|h|e|R|k|epsilon|omega)Final" + "(U|h|e)Final" { $U; relTol 0; diff --git a/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/Running_Notes b/tutorials/compressible/sonicFoam/RAS/nacaAirfoil/README similarity index 100% rename from tutorials/compressible/sonicFoam/RAS/nacaAirfoil/Running_Notes rename to tutorials/compressible/sonicFoam/RAS/nacaAirfoil/README diff --git a/tutorials/compressible/sonicFoam/RAS/prism/0/alphat b/tutorials/compressible/sonicFoam/RAS/prism/0/alphat index 181e7e0bcd..339de1dff7 100644 --- a/tutorials/compressible/sonicFoam/RAS/prism/0/alphat +++ b/tutorials/compressible/sonicFoam/RAS/prism/0/alphat @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class volScalarField; - location "0"; object alphat; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -26,26 +25,31 @@ boundaryField type calculated; value uniform 0; } + outlet { type calculated; value uniform 0; } + bottomWall { type calculated; value uniform 0; } + topWall { type calculated; value uniform 0; } + prismWall { type compressible::alphatWallFunction; value uniform 0; } + defaultFaces { type empty; diff --git a/tutorials/compressible/sonicFoam/RAS/prism/0/epsilon b/tutorials/compressible/sonicFoam/RAS/prism/0/epsilon index 9b79fa4fd9..3474506f70 100644 --- a/tutorials/compressible/sonicFoam/RAS/prism/0/epsilon +++ b/tutorials/compressible/sonicFoam/RAS/prism/0/epsilon @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class volScalarField; - location "0"; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -26,29 +25,34 @@ boundaryField type fixedValue; value uniform 266000; } + outlet { type inletOutlet; inletValue uniform 266000; value uniform 266000; } + bottomWall { type inletOutlet; inletValue uniform 266000; value uniform 266000; } + topWall { type inletOutlet; inletValue uniform 266000; value uniform 266000; } + prismWall { type epsilonWallFunction; value uniform 266000; } + defaultFaces { type empty; diff --git a/tutorials/compressible/sonicFoam/RAS/prism/0/k b/tutorials/compressible/sonicFoam/RAS/prism/0/k index 474dfad32d..cd8976fe95 100644 --- a/tutorials/compressible/sonicFoam/RAS/prism/0/k +++ b/tutorials/compressible/sonicFoam/RAS/prism/0/k @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class volScalarField; - location "0"; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -26,29 +25,34 @@ boundaryField type fixedValue; value uniform 1000; } + outlet { type inletOutlet; inletValue uniform 1000; value uniform 1000; } + bottomWall { type inletOutlet; inletValue uniform 1000; value uniform 1000; } + topWall { type inletOutlet; inletValue uniform 1000; value uniform 1000; } + prismWall { type kqRWallFunction; value uniform 1000; } + defaultFaces { type empty; diff --git a/tutorials/compressible/sonicFoam/RAS/prism/0/nut b/tutorials/compressible/sonicFoam/RAS/prism/0/nut index 5ab7451ac9..b85d468204 100644 --- a/tutorials/compressible/sonicFoam/RAS/prism/0/nut +++ b/tutorials/compressible/sonicFoam/RAS/prism/0/nut @@ -10,7 +10,6 @@ FoamFile version 2.0; format ascii; class volScalarField; - location "0"; object nut; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -26,26 +25,31 @@ boundaryField type calculated; value uniform 0; } + outlet { type calculated; value uniform 0; } + bottomWall { type calculated; value uniform 0; } + topWall { type calculated; value uniform 0; } + prismWall { type nutkWallFunction; value uniform 0; } + defaultFaces { type empty; diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/Allclean b/tutorials/compressible/sonicFoam/laminar/shockTube/Allclean index dd96be9c32..fb1f384730 100755 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/Allclean +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/Allclean @@ -4,6 +4,5 @@ cd "${0%/*}" || exit # Run from this directory #------------------------------------------------------------------------------ cleanCase0 -cleanSamples #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/system/setFieldsDict b/tutorials/compressible/sonicFoam/laminar/shockTube/system/setFieldsDict index ffc8801667..14c3e011ad 100644 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/system/setFieldsDict +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/system/setFieldsDict @@ -15,9 +15,25 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -defaultFieldValues ( volVectorFieldValue U (0 0 0) volScalarFieldValue T 348.432 volScalarFieldValue p 100000 ); +defaultFieldValues +( + volVectorFieldValue U (0 0 0) + volScalarFieldValue T 348.432 + volScalarFieldValue p 100000 +); -regions ( boxToCell { box (0 -1 -1) (5 1 1) ; fieldValues ( volScalarFieldValue T 278.746 volScalarFieldValue p 10000 ) ; } ); +regions +( + boxToCell + { + box (0 -1 -1) (5 1 1); + fieldValues + ( + volScalarFieldValue T 278.746 + volScalarFieldValue p 10000 + ); + } +); // ************************************************************************* //