TUT: clean up multiphase tutorials

This commit is contained in:
Kutalmis Bercin
2020-01-29 17:19:43 +00:00
parent 647e161511
commit 01514e4d43
1349 changed files with 5623 additions and 241919 deletions

View File

@ -24,10 +24,12 @@ boundaryField
{
type empty;
}
back
{
type empty;
}
walls
{
type movingWallVelocity;

View File

@ -24,10 +24,12 @@ boundaryField
{
type empty;
}
back
{
type empty;
}
walls
{
type zeroGradient;

View File

@ -24,10 +24,12 @@ boundaryField
{
type empty;
}
back
{
type empty;
}
walls
{
type fixedFluxPressure;

View File

@ -1,7 +1,8 @@
#!/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
#------------------------------------------------------------------------------
foamCleanTutorials -self
rm -rf 0/alpha.water 0/alpha.water.gz probes wallPressure pRefProbe
cleanCase0
#------------------------------------------------------------------------------

View File

@ -3,12 +3,14 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
restore0Dir
m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh
cp 0/alpha.water.orig 0/alpha.water
runApplication setFields
runApplication $(getApplication)
#------------------------------------------------------------------------------

View File

@ -48,10 +48,12 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.5;
maxAlphaCo 0.5;
maxDeltaT 1;
functions
{
probes

View File

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