mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: basic, IO, preProcessing, VV: clean up tutorials
- TUT: mesh: add missing SnakeRiverCanyon files - TUT: mesh: add missing cp source in a foamyHexMesh tutorial
This commit is contained in:
@ -3,8 +3,9 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
rm -f constant/triSurface/blob.obj
|
||||
|
||||
cleanCase0
|
||||
|
||||
rm -rf constant/triSurface
|
||||
rm -f cellDist.vtu
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -10,7 +10,8 @@ runApplication surfaceTransformPoints \
|
||||
-translate '(0 0 5)' \
|
||||
-origin '(0 0 5)' \
|
||||
-rotate-angle '((1 0 0) 45)' \
|
||||
$FOAM_TUTORIALS/resources/geometry/blob.stl.gz constant/triSurface/blob.obj
|
||||
"$FOAM_TUTORIALS"/resources/geometry/blob.stl.gz \
|
||||
constant/triSurface/blob.obj
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
|
||||
@ -18,4 +18,5 @@ transportModel Newtonian;
|
||||
|
||||
nu 1.5e-05;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,15 +14,16 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType RAS;
|
||||
simulationType RAS;
|
||||
|
||||
RAS
|
||||
{
|
||||
RASModel kOmegaSST;
|
||||
RASModel kOmegaSST;
|
||||
|
||||
turbulence on;
|
||||
turbulence on;
|
||||
|
||||
printCoeffs on;
|
||||
printCoeffs on;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -12,7 +12,6 @@ FoamFile
|
||||
class dictionary;
|
||||
object blockMeshDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
scale 1;
|
||||
@ -83,4 +82,5 @@ boundary
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -77,7 +77,6 @@ constraints
|
||||
{
|
||||
type preserveBaffles;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -28,4 +28,5 @@ coeffs
|
||||
// Optional decomposition constraints
|
||||
#include "<system>/decomposeConstraints"
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -28,9 +28,13 @@ gradSchemes
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
|
||||
div(phi,U) bounded Gauss linearUpwindV grad(U);
|
||||
div(phi,k) bounded Gauss upwind;
|
||||
div(phi,omega) bounded Gauss upwind;
|
||||
|
||||
turbulence bounded Gauss upwind;
|
||||
div(phi,k) $turbulence;
|
||||
div(phi,omega) $turbulence;
|
||||
|
||||
div((nuEff*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
@ -51,7 +55,7 @@ snGradSchemes
|
||||
|
||||
wallDist
|
||||
{
|
||||
method meshWave;
|
||||
method meshWave;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -89,4 +89,5 @@ cache
|
||||
grad(U);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user