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

@ -20,29 +20,24 @@ internalField uniform (0 0 0);
boundaryField
{
front
{
type noSlip;
}
back
{
type noSlip;
}
walls
"(front|back|walls)"
{
type noSlip;
}
porosityWall
{
type slip;
value uniform (0 0 0);
}
inlet
{
type flowRateInletVelocity;
massFlowRate constant 0.1;
value uniform (0 0 0);
}
outlet
{
type pressureInletOutletVelocity;

View File

@ -20,28 +20,17 @@ internalField uniform 0;
boundaryField
{
"(front|back|walls|porosityWall)"
{
type zeroGradient;
}
front
{
type zeroGradient;
}
back
{
type zeroGradient;
}
walls
{
type zeroGradient;
}
porosityWall
{
type zeroGradient;
}
inlet
{
type fixedValue;
value uniform 1;
}
outlet
{
type inletOutlet;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -21,32 +20,19 @@ internalField uniform 200;
boundaryField
{
front
{
type epsilonWallFunction;
value uniform 200;
}
back
{
type epsilonWallFunction;
value uniform 200;
}
walls
{
type epsilonWallFunction;
value uniform 200;
}
porosityWall
"(front|back|walls|porosityWall)"
{
type epsilonWallFunction;
value uniform 200;
}
inlet
{
type turbulentMixingLengthDissipationRateInlet;
mixingLength 0.005;
value uniform 200;
}
outlet
{
type inletOutlet;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -21,32 +20,19 @@ internalField uniform 1;
boundaryField
{
front
{
type kqRWallFunction;
value uniform 1;
}
back
{
type kqRWallFunction;
value uniform 1;
}
walls
{
type kqRWallFunction;
value uniform 1;
}
porosityWall
"(front|back|walls|porosityWall)"
{
type kqRWallFunction;
value uniform 1;
}
inlet
{
type turbulentIntensityKineticEnergyInlet;
intensity 0.05;
value uniform 1;
}
outlet
{
type inletOutlet;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -21,32 +20,13 @@ internalField uniform 0;
boundaryField
{
front
"(front|back|walls|porosityWall)"
{
type nutkWallFunction;
value uniform 0;
}
back
{
type nutkWallFunction;
value uniform 0;
}
walls
{
type nutkWallFunction;
value uniform 0;
}
porosityWall
{
type nutkWallFunction;
value uniform 0;
}
inlet
{
type calculated;
value uniform 0;
}
outlet
"(inlet|outlet)"
{
type calculated;
value uniform 0;

View File

@ -20,31 +20,12 @@ internalField uniform 0;
boundaryField
{
front
{
type fixedFluxPressure;
value $internalField;
}
back
{
type fixedFluxPressure;
value $internalField;
}
walls
{
type fixedFluxPressure;
value $internalField;
}
porosityWall
{
type fixedFluxPressure;
value $internalField;
}
inlet
"(front|back|walls|porosityWall|inlet)"
{
type fixedFluxPressure;
value $internalField;
}
outlet
{
type fixedValue;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object s;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -21,27 +20,17 @@ internalField uniform 0;
boundaryField
{
front
{
type zeroGradient;
}
back
{
type zeroGradient;
}
walls
{
type zeroGradient;
}
porosityWall
"(front|back|walls|porosityWall)"
{
type zeroGradient;
}
inlet
{
type fixedValue;
value uniform 0;
}
outlet
{
type inletOutlet;

View File

@ -0,0 +1,8 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
cleanCase0
#------------------------------------------------------------------------------

View File

@ -3,6 +3,8 @@ 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

View File

@ -8,7 +8,7 @@
FoamFile
{
version 2.0;
`format' ascii;
`format' ascii;
class dictionary;
object blockMeshDict;
}

View File

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