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 calculated;

View File

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

View File

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

View File

@ -6,7 +6,7 @@ cd "${0%/*}" || exit # Run from this directory
m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh
cp 0/alpha.water.orig 0/alpha.water
restore0Dir
runApplication setFields
runApplication $(getApplication)

View File

@ -48,6 +48,7 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.5;
maxAlphaCo 0.5;
maxDeltaT 1;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,34 +24,41 @@ boundaryField
{
type wedge;
}
back
{
type wedge;
}
innerAMI
{
type cyclicAMI;
value uniform 300;
}
outerAMI
{
type cyclicAMI;
value uniform 300;
}
top
{
type inletOutlet;
inletValue uniform 300;
value uniform 300;
}
bottom
{
type zeroGradient;
}
farFieldWall
{
type zeroGradient;
}
sphere
{
type zeroGradient;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object T.air;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,34 +24,41 @@ boundaryField
{
type wedge;
}
back
{
type wedge;
}
innerAMI
{
type cyclicAMI;
value uniform 300;
}
outerAMI
{
type cyclicAMI;
value uniform 300;
}
top
{
type inletOutlet;
inletValue uniform 300;
value uniform 300;
}
bottom
{
type zeroGradient;
}
farFieldWall
{
type zeroGradient;
}
sphere
{
type zeroGradient;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object T.water;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,34 +24,41 @@ boundaryField
{
type wedge;
}
back
{
type wedge;
}
innerAMI
{
type cyclicAMI;
value uniform 300;
}
outerAMI
{
type cyclicAMI;
value uniform 300;
}
top
{
type inletOutlet;
inletValue uniform 300;
value uniform 300;
}
bottom
{
type zeroGradient;
}
farFieldWall
{
type zeroGradient;
}
sphere
{
type zeroGradient;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,34 +24,41 @@ boundaryField
{
type wedge;
}
back
{
type wedge;
}
innerAMI
{
type cyclicAMI;
value uniform (0 0 0);
}
outerAMI
{
type cyclicAMI;
value uniform (0 0 0);
}
top
{
type zeroGradient;
}
bottom
{
type fixedValue;
value uniform (0 0 0);
}
farFieldWall
{
type fixedValue;
value uniform (0 0 0);
}
sphere
{
type movingWallVelocity;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha.walter;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,32 +24,39 @@ boundaryField
{
type wedge;
}
back
{
type wedge;
}
innerAMI
{
type cyclicAMI;
value uniform 0;
}
outerAMI
{
type cyclicAMI;
value uniform 0;
}
top
{
type zeroGradient;
}
bottom
{
type zeroGradient;
}
farFieldWall
{
type zeroGradient;
}
sphere
{
type zeroGradient;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,35 +24,42 @@ boundaryField
{
type wedge;
}
back
{
type wedge;
}
innerAMI
{
type cyclicAMI;
value uniform 101325;
}
outerAMI
{
type cyclicAMI;
value uniform 101325;
}
top
{
type calculated;
value uniform 101325;
}
bottom
{
type calculated;
value uniform 101325;
}
farFieldWall
{
type calculated;
value uniform 101325;
}
sphere
{
type calculated;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,37 +24,44 @@ boundaryField
{
type wedge;
}
back
{
type wedge;
}
innerAMI
{
type cyclicAMI;
value uniform 101325;
}
outerAMI
{
type cyclicAMI;
value uniform 101325;
}
top
{
type fixedValue;
value uniform 101325;
}
bottom
{
type fixedFluxPressure;
gradient uniform 0;
value uniform 101325;
}
farFieldWall
{
type fixedFluxPressure;
gradient uniform 0;
value uniform 101325;
}
sphere
{
type fixedFluxPressure;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class pointVectorField;
location "0";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -29,16 +28,19 @@ boundaryField
type fixedValue;
value uniform (0 0 0);
}
bottom
{
type fixedValue;
value uniform (0 0 0);
}
top
{
type fixedValue;
value uniform (0 0 0);
}
sphere
{
type sixDoFRigidBodyDisplacement;
@ -77,18 +79,22 @@ boundaryField
value uniform ( 0 0 0 );
}
innerAMI
{
type cyclicAMI;
}
outerAMI
{
type cyclicAMI;
}
back
{
type wedge;
}
front
{
type wedge;

View File

@ -14,6 +14,7 @@ FoamFile
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
phases (water air);
water

View File

@ -17,12 +17,5 @@ FoamFile
simulationType laminar;
RAS
{
RASModel laminar;
turbulence on;
printCoeffs off;
}
// ************************************************************************* //

View File

@ -24,7 +24,6 @@ solvers
cAlpha 1;
}
cellDisplacement
{
solver GAMG;
@ -80,25 +79,22 @@ solvers
tolerance 1e-08;
relTol 0;
}
}
PIMPLE
{
momentumPredictor no;
nOuterCorrectors 2;
nCorrectors 4;
nNonOrthogonalCorrectors 1;
correctPhi yes;
checkMeshCourantNo no;
moveMeshOuterCorrectors no;
transonic false;
}
relaxationFactors
{
fields

View File

@ -31,3 +31,6 @@ regions
);
}
);
// ************************************************************************* //

View File

@ -12,7 +12,6 @@ FoamFile
class dictionary;
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions