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:
Kutalmis Bercin
2021-06-02 12:44:21 +01:00
parent 48cdf5523b
commit 3384d37a9a
840 changed files with 14574 additions and 41272 deletions

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -12,7 +12,7 @@ FoamFile
class volVectorField;
object U;
}
// ************************************************************************* //
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
@ -26,29 +26,35 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type fixedValue;
value uniform (0 0 0);
}
mergingFaces
{
type fixedValue;
value uniform (0 0 0);
}
wallFaces
{
type fixedValue;
value uniform (0 0 0);
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type compressible::epsilonWallFunction;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type compressible::epsilonWallFunction;
}
wallFaces
{
type compressible::epsilonWallFunction;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,26 +26,32 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -26,29 +26,35 @@ boundaryField
inletValue $internalField;
value $internalField;
}
ground
{
type compressible::kqRWallFunction;
value $internalField;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type compressible::kqRWallFunction;
value $internalField;
}
wallFaces
{
type compressible::kqRWallFunction;
value $internalField;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -28,26 +28,32 @@ boundaryField
lInf 5;
value $internalField;
}
ground
{
type zeroGradient;
}
blockedFaces
{
type zeroGradient;
}
mergingFaces
{
type zeroGradient;
}
wallFaces
{
type zeroGradient;
}
ySymmetry
{
type symmetryPlane;
}
}
// ************************************************************************* //

View File

@ -95,4 +95,5 @@ instabilityGCoeffs
}
}
// ************************************************************************* //

View File

@ -24,7 +24,6 @@ ignite yes;
ignitionSites
(
{
location (1.5 1.5 0.5);
diameter 0.1;
@ -42,4 +41,5 @@ ignitionCircleFraction 0;
ignitionKernelArea ignitionKernelArea [0 2 0 0 0 0 0] 0;
// ************************************************************************* //

View File

@ -50,4 +50,5 @@ nBufferLayers 1;
// be interpolated and inner-producted with the face area vector.
correctFluxes ((phi rhoU) (phi_0 none));
// ************************************************************************* //

View File

@ -17,4 +17,5 @@ FoamFile
dimensions [0 1 -2 0 0 0 0];
value (0 0 -9.8);
// ************************************************************************* //

View File

@ -90,4 +90,5 @@ burntProducts
}
}
// ************************************************************************* //

View File

@ -14,11 +14,11 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
simulationType RAS;
RAS
{
RASModel PDRkEpsilon;
RASModel PDRkEpsilon;
PDRkEpsilonCoeffs
{
@ -37,4 +37,5 @@ RAS
printCoeffs on;
}
// ************************************************************************* //

View File

@ -27,4 +27,5 @@ verbose 0;
#include "groups/group31"
#include "groups/group41"
// ************************************************************************* //

View File

@ -55,4 +55,5 @@ functions
#include "probes"
}
// ************************************************************************* //

View File

@ -48,4 +48,5 @@ patches
}
);
// ************************************************************************* //

View File

@ -16,11 +16,12 @@ FoamFile
numberOfSubdomains 4;
method simple;
method simple;
coeffs
{
n (2 2 1);
n (2 2 1);
}
// ************************************************************************* //

View File

@ -31,6 +31,7 @@ divSchemes
default none;
div(phi,U) Gauss limitedLinearV 1;
div(phiU,p) Gauss limitedLinear 1;
div(phid,p) Gauss limitedLinear 1;
div(phi,k) Gauss limitedLinear 1;
@ -108,4 +109,5 @@ fluxRequired
p;
}
// ************************************************************************* //

View File

@ -158,4 +158,5 @@ relaxationFactors
}
}
// ************************************************************************* //

View File

@ -18,4 +18,5 @@ patchMap ( );
cuttingPatches ( );
// ************************************************************************* //

View File

@ -68,4 +68,5 @@ probes
);
}
// ************************************************************************* //

View File

@ -61,4 +61,5 @@ geometricCut no;
// Write meshes from intermediate steps
writeMesh no;
// ************************************************************************* //

View File

@ -35,4 +35,5 @@ regions
}
);
// ************************************************************************* //

View File

@ -45,4 +45,5 @@ regions
}
);
// ************************************************************************* //

View File

@ -25,4 +25,5 @@ actions
}
);
// ************************************************************************* //

View File

@ -4,7 +4,9 @@ cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------
runApplication blockMesh
runApplication createZeroDirectory
runApplication $(getApplication)
#------------------------------------------------------------------------------

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -72,4 +72,5 @@ mergePatchPairs
(
);
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object caseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -23,7 +22,6 @@ startTime 0;
stopAt endTime;
//endTime 0.5;
endTime 0.005;
deltaT 0.005;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -6,8 +6,7 @@ cd "${0%/*}" || exit # Run from this directory
cleanCase0
# Remove surface and features
rm -f constant/triSurface/motorBike.obj.gz
rm -f constant/triSurface/motorBike.eMesh
rm -rf constant/triSurface
rm -rf constant/extendedFeatureEdgeMesh
#------------------------------------------------------------------------------

View File

@ -3,22 +3,30 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
# copy motorbike surface from resources folder
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
mkdir -p constant/triSurface
cp -f \
"$FOAM_TUTORIALS"/resources/geometry/motorBike.obj.gz \
constant/triSurface/
runApplication surfaceFeatureExtract
runApplication blockMesh
runApplication decomposePar
runParallel snappyHexMesh -overwrite
runParallel createZeroDirectory
runParallel patchSummary
runParallel potentialFoam -noFunctionObjects -writephi
runParallel $(getApplication)
runApplication reconstructParMesh -constant
runApplication reconstructPar -latestTime
#------------------------------------------------------------------------------

View File

@ -18,4 +18,5 @@ transportModel Newtonian;
nu 1.5e-05;
// ************************************************************************* //

View File

@ -1,4 +0,0 @@
Folder to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder

View File

@ -14,15 +14,16 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
simulationType RAS;
RAS
{
RASModel kOmegaSST;
RASModel kOmegaSST;
turbulence on;
turbulence on;
printCoeffs on;
printCoeffs on;
}
// ************************************************************************* //

View File

@ -12,7 +12,6 @@ FoamFile
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 1;
@ -83,4 +82,5 @@ boundary
}
);
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object caseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -19,11 +19,11 @@ libs (incompressibleTurbulenceModels);
application simpleFoam;
startFrom startTime; // latestTime;
startFrom startTime;
startTime 0;
stopAt writeNow; //endTime;
stopAt writeNow;
endTime 500;

View File

@ -12,13 +12,11 @@ FoamFile
class dictionary;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 6;
method hierarchical;
// method ptscotch;
coeffs
{

View File

@ -28,9 +28,12 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) bounded Gauss linearUpwindV grad(U);
div(phi,k) bounded Gauss upwind;
div(phi,omega) bounded Gauss upwind;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
@ -51,7 +54,7 @@ snGradSchemes
wallDist
{
method meshWave;
method meshWave;
}

View File

@ -89,4 +89,5 @@ cache
grad(U);
}
// ************************************************************************* //

View File

@ -6,7 +6,7 @@ cd "${0%/*}" || exit # Run from this directory
cleanCase0
rm -rf constant/extendedFeatureEdgeMesh
rm -f constant/triSurface/*.eMesh
rm -rf constant/triSurface
rm -rf VTK
rm -rf constant/bottomAir/polyMesh

View File

@ -3,31 +3,32 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
rm -rf constant/polyMesh/sets
cp -rf \
"$FOAM_TUTORIALS"/resources/geometry/snappyMultiRegionHeater \
constant/triSurface
runApplication blockMesh
runApplication surfaceFeatureExtract
runApplication snappyHexMesh -overwrite
runApplication splitMeshRegions -cellZones -overwrite
for i in bottomAir topAir heater leftSolid rightSolid
do
runApplication -s $i changeDictionary -region $i -subDict dictionaryReplacement
runApplication -s $i \
changeDictionary -region $i -subDict dictionaryReplacement
done
runApplication decomposePar -allRegions
runParallel createZeroDirectory
#-- Run in parallel
runParallel $(getApplication)
# Reconstruct
runApplication reconstructPar -allRegions
echo
echo "creating files for paraview post-processing"
echo

View File

@ -17,4 +17,5 @@ FoamFile
dimensions [0 1 -2 0 0 0 0];
value (0 -9.81 0);
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant/bottomAir";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -16,4 +16,5 @@ FoamFile
simulationType laminar;
// ************************************************************************* //

View File

@ -17,4 +17,5 @@ FoamFile
dimensions [0 1 -2 0 0 0 0];
value (0 0 -9.81);
// ************************************************************************* //

View File

@ -5,13 +5,11 @@
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -31,4 +29,5 @@ scatterModel none;
transmissivityModel none;
// ************************************************************************* //

View File

@ -31,22 +31,20 @@ mixture
{
molWeight 12;
}
transport
{
kappa 80;
}
thermodynamics
{
Hf 0;
Cp 450;
}
equationOfState
{
rho 8000;
}
}
// ************************************************************************* //

View File

@ -5,13 +5,11 @@
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -31,4 +29,5 @@ scatterModel none;
transmissivityModel none;
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object regionProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -5,13 +5,11 @@
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -31,4 +29,5 @@ scatterModel none;
transmissivityModel none;
// ************************************************************************* //

View File

@ -17,4 +17,5 @@ FoamFile
dimensions [0 1 -2 0 0 0 0];
value (0 -9.81 0);
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant/topAir";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -16,4 +16,5 @@ FoamFile
simulationType laminar;
// ************************************************************************* //

View File

@ -93,4 +93,5 @@ mergePatchPairs
(
);
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object caseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -29,4 +29,5 @@ dictionaryReplacement
}
}
// ************************************************************************* //

View File

@ -16,7 +16,7 @@ FoamFile
ddtSchemes
{
default Euler;
default Euler;
}
gradSchemes
@ -27,13 +27,18 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,K) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,R) Gauss upwind;
turbulence Gauss upwind;
div(phi,k) $turbulence;
div(phi,epsilon) $turbulence;
div(phi,R) $turbulence;
div(R) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -29,14 +29,11 @@ solvers
solver GAMG;
tolerance 1e-7;
relTol 0.01;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 100;
}
@ -84,4 +81,5 @@ relaxationFactors
}
}
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -21,7 +20,7 @@ startFrom latestTime;
startTime 0.001;
stopAt writeNow; //endTime;
stopAt writeNow;
endTime 75;
@ -51,4 +50,5 @@ maxDi 10.0;
adjustTimeStep yes;
// ************************************************************************* //

View File

@ -46,4 +46,5 @@ constraints
}
*/
// ************************************************************************* //

View File

@ -19,4 +19,5 @@ PIMPLE
nOuterCorrectors 1;
}
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object caseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -33,4 +33,5 @@ dictionaryReplacement
}
}
// ************************************************************************* //

View File

@ -16,7 +16,7 @@ FoamFile
ddtSchemes
{
default Euler;
default Euler;
}
gradSchemes
@ -31,7 +31,7 @@ divSchemes
laplacianSchemes
{
default none;
default none;
laplacian(alpha,h) Gauss linear limited corrected 0.333;
}

View File

@ -37,4 +37,5 @@ PIMPLE
nNonOrthogonalCorrectors 1;
}
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object caseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -29,4 +29,5 @@ dictionaryReplacement
}
}
// ************************************************************************* //

View File

@ -16,7 +16,7 @@ FoamFile
ddtSchemes
{
default Euler;
default Euler;
}
gradSchemes
@ -31,7 +31,7 @@ divSchemes
laplacianSchemes
{
default none;
default none;
laplacian(alpha,h) Gauss linear limited corrected 0.333;
}

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object caseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -29,4 +29,5 @@ dictionaryReplacement
}
}
// ************************************************************************* //

View File

@ -46,4 +46,5 @@ constraints
}
*/
// ************************************************************************* //

View File

@ -16,7 +16,7 @@ FoamFile
ddtSchemes
{
default Euler;
default Euler;
}
gradSchemes
@ -31,7 +31,7 @@ divSchemes
laplacianSchemes
{
default none;
default none;
laplacian(alpha,h) Gauss linear limited corrected 0.333;
}

View File

@ -12,7 +12,6 @@ FoamFile
class dictionary;
object snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Which of the steps to run

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object caseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -18,4 +18,5 @@ dictionaryReplacement
{
}
// ************************************************************************* //

View File

@ -46,4 +46,5 @@ constraints
}
*/
// ************************************************************************* //

View File

@ -16,7 +16,7 @@ FoamFile
ddtSchemes
{
default Euler;
default Euler;
}
gradSchemes
@ -27,13 +27,18 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,K) Gauss linear;
div(phi,h) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,R) Gauss upwind;
turbulence Gauss upwind;
div(phi,k) $turbulence;
div(phi,epsilon) $turbulence;
div(phi,R) $turbulence;
div(R) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -29,14 +29,11 @@ solvers
solver GAMG;
tolerance 1e-7;
relTol 0.01;
smoother GaussSeidel;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 100;
}
@ -84,4 +81,5 @@ relaxationFactors
}
}
// ************************************************************************* //

View File

@ -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
#------------------------------------------------------------------------------

View File

@ -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

View File

@ -18,4 +18,5 @@ transportModel Newtonian;
nu 1.5e-05;
// ************************************************************************* //

View File

@ -14,15 +14,16 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
simulationType RAS;
RAS
{
RASModel kOmegaSST;
RASModel kOmegaSST;
turbulence on;
turbulence on;
printCoeffs on;
printCoeffs on;
}
// ************************************************************************* //

View File

@ -12,7 +12,6 @@ FoamFile
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 1;
@ -83,4 +82,5 @@ boundary
}
);
// ************************************************************************* //

View File

@ -77,7 +77,6 @@ constraints
{
type preserveBaffles;
}
}

Some files were not shown because too many files have changed in this diff Show More