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

@ -31,17 +31,20 @@ boundaryField
(14 (0 0 0.5))
);
}
outlet
{
type pressureInletOutletVelocity;
value $internalField;
inletValue $internalField;
}
walls
{
type fixedValue;
value uniform (0 0 0);
}
base
{
type fixedValue;

View File

@ -30,18 +30,20 @@ boundaryField
(1.01 0)
(14 0)
);
}
outlet
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
walls
{
type zeroGradient;
}
base
{
type zeroGradient;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -26,17 +25,20 @@ boundaryField
type fixedValue;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
walls
{
type epsilonWallFunction;
value $internalField;
}
base
{
type epsilonWallFunction;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -26,17 +25,20 @@ boundaryField
type fixedValue;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
walls
{
type kqRWallFunction;
value $internalField;
}
base
{
type kqRWallFunction;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -26,16 +25,19 @@ boundaryField
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
walls
{
type nutkWallFunction;
value uniform 0;
}
base
{
type nutkWallFunction;

View File

@ -25,17 +25,20 @@ boundaryField
type fixedFluxPressure;
value uniform 0;
}
outlet
{
type prghTotalPressure;
p0 uniform 0;
value uniform 0;
}
walls
{
type fixedFluxPressure;
value uniform 0;
}
base
{
type fixedFluxPressure;

View File

@ -5,7 +5,4 @@ cd "${0%/*}" || exit # Run from this directory
cleanCase
rm -f system/blockMeshDict
rm -f 0/alpha.water
#------------------------------------------------------------------------------

View File

@ -3,23 +3,23 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
# create the underlying block mesh
restore0Dir
# Create the underlying block mesh
m4 system/pachuka.m4 > system/blockMeshDict
runApplication blockMesh
\cp 0/alpha.water.orig 0/alpha.water
# create faceSet for burner inlet and faceZone for coupled wall
# Create faceSet for burner inlet and faceZone for coupled wall
runApplication topoSet
# create burner inlet
# Create burner inlet
runApplication createPatch -overwrite
# Set alpha.water
runApplication setFields
# Decompose mesh
decomposePar > log.decomposePar 2>&1
runApplication decomposePar
# Run
runParallel $(getApplication)

View File

@ -48,13 +48,14 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 1.0;
maxAlphaCo 1.0;
maxDeltaT 0.05;
functions
{
minMax
{
type fieldMinMax;

View File

@ -12,7 +12,6 @@ FoamFile
class dictionary;
object createPatchDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
pointSync false;

View File

@ -12,7 +12,6 @@ FoamFile
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
scale 0.001;