TUT: mesh: clean up tutorials

This commit is contained in:
Kutalmis Bercin
2021-06-04 10:19:30 +01:00
committed by Andrew Heather
parent 6120e13d29
commit 3a858ac682
413 changed files with 623 additions and 1608672 deletions

View File

@ -4,6 +4,7 @@ cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------
cleanCase0
rmdir constant 2>/dev/null
# -----------------------------------------------------------------------------

View File

@ -4,6 +4,7 @@ cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------
runApplication blockMesh
runApplication topoSet
runApplication subsetMesh final -patch outer -resultTime 0

View File

@ -8,7 +8,7 @@ runApplication ./Allmesh
# Use stitchMesh with command arguments (no dictionary)
for dir in x y z
do
runApplication -s dir-$dir stitchMesh -partial outer$dir inner$dir
runApplication -s dir-"$dir" stitchMesh -partial outer"$dir" inner"$dir"
done
runApplication checkMesh

View File

@ -129,4 +129,5 @@ boundary
);
// ************************************************************************* //

View File

@ -42,4 +42,5 @@ timePrecision 6;
runTimeModifiable true;
// ************************************************************************* //

View File

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

View File

@ -16,39 +16,26 @@ FoamFile
ddtSchemes
{
default Euler;
}
gradSchemes
{
default Gauss linear;
}
divSchemes
{
default none;
div(phi,U) Gauss cubic;
}
laplacianSchemes
{
default Gauss linear corrected;
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default corrected;
}
fluxRequired
{
default no;
p ;
}

View File

@ -14,30 +14,5 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0;
}
U
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-05;
relTol 0;
}
}
PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
}
// ************************************************************************* //

View File

@ -35,4 +35,5 @@ outerz
slave innerz;
}
// ************************************************************************* //

View File

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

View File

@ -70,4 +70,5 @@ actions
);
// ************************************************************************* //