tutorials/multiphase/interFoam: Rationalized schemes and output format

This commit is contained in:
Henry Weller
2018-06-26 17:48:48 +01:00
parent c00e283e8c
commit 3535b079b3
31 changed files with 46 additions and 100 deletions

View File

@ -33,11 +33,11 @@ writeInterval 0.1;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression no;
timeFormat general;

View File

@ -33,11 +33,11 @@ writeInterval 0.1;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 12;
writeCompression uncompressed;
writeCompression no;
timeFormat general;

View File

@ -33,11 +33,11 @@ writeInterval 5;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression compressed;
writeCompression no;
timeFormat general;

View File

@ -33,11 +33,11 @@ writeInterval 2;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression no;
timeFormat general;

View File

@ -37,7 +37,7 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression no;
timeFormat general;

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
#------------------------------------------------------------------------------

View File

@ -33,11 +33,11 @@ writeInterval 0.05;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression compressed;
writeCompression no;
timeFormat general;

View File

@ -33,11 +33,11 @@ writeInterval 0.02;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression no;
timeFormat general;
@ -51,5 +51,4 @@ maxCo 0.5;
maxAlphaCo 0.5;
maxDeltaT 1;
// ************************************************************************* //

View File

@ -33,11 +33,11 @@ writeInterval 0.125;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression no;
timeFormat general;

View File

@ -1,7 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
foamCleanTutorials cases
rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe
#------------------------------------------------------------------------------

View File

@ -33,11 +33,11 @@ writeInterval 0.02;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression yes;
writeCompression no;
timeFormat general;

View File

@ -23,13 +23,15 @@ ddtSchemes
gradSchemes
{
default Gauss linear;
grad(U) cellLimited Gauss linear 1;
}
divSchemes
{
div(rhoPhi,U) Gauss vanLeerV;
div(rhoPhi,U) Gauss linearUpwindV grad(U);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -1,7 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
foamCleanTutorials cases
rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe
#------------------------------------------------------------------------------

View File

@ -33,11 +33,11 @@ writeInterval 0.05;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression compressed;
writeCompression no;
timeFormat general;

View File

@ -29,7 +29,8 @@ divSchemes
{
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -1,7 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
foamCleanTutorials cases
rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe
#------------------------------------------------------------------------------

View File

@ -33,11 +33,11 @@ writeInterval 0.05;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression compressed;
writeCompression no;
timeFormat general;

View File

@ -29,7 +29,8 @@ divSchemes
{
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -1,7 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
foamCleanTutorials cases
rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe
#------------------------------------------------------------------------------

View File

@ -33,11 +33,11 @@ writeInterval 0.05;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression compressed;
writeCompression no;
timeFormat general;

View File

@ -29,7 +29,8 @@ divSchemes
{
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -1,7 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
foamCleanTutorials cases
rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe
#------------------------------------------------------------------------------

View File

@ -33,11 +33,11 @@ writeInterval 0.05;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression compressed;
writeCompression no;
timeFormat general;

View File

@ -29,7 +29,8 @@ divSchemes
{
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -1,7 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
foamCleanTutorials cases
rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe
#------------------------------------------------------------------------------

View File

@ -33,11 +33,11 @@ writeInterval 0.05;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression compressed;
writeCompression no;
timeFormat general;

View File

@ -1,10 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -rf 0/alpha.water
#------------------------------------------------------------------------------

View File

@ -33,11 +33,11 @@ writeInterval 0.01;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 6;
writeCompression off;
writeCompression no;
timeFormat general;

View File

@ -29,7 +29,8 @@ divSchemes
{
div(rhoPhi,U) Gauss vanLeerV;
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -37,7 +37,7 @@ writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression no;
timeFormat general;

View File

@ -33,9 +33,10 @@ gradSchemes
divSchemes
{
div(rhoPhi,U) Gauss linearUpwindV grad(U);
div(rhoPhi,U) Gauss linearUpwindV grad(U);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}