tutorials/multiphase/interFoam/RAS/mixerVesselAMI: Rationalised phase names and properties

This commit is contained in:
Henry Weller
2019-03-16 18:10:33 +00:00
parent becf7d2905
commit 51edeaaa1f
12 changed files with 24 additions and 24 deletions

View File

@ -25,7 +25,7 @@ boundaryField
type fixedValue;
value uniform (0 0 0);
}
gasInlet
oilInlet
{
type fixedValue;
value uniform (0 0 0.2);

View File

@ -11,7 +11,7 @@ FoamFile
format binary;
class volScalarField;
location "0";
object alpha.water.orig;
object alpha.oil.orig;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,7 +25,7 @@ boundaryField
{
type zeroGradient;
}
gasInlet
oilInlet
{
type fixedValue;
value uniform 1;

View File

@ -25,7 +25,7 @@ boundaryField
type epsilonWallFunction;
value uniform 0.007;
}
gasInlet
oilInlet
{
type fixedValue;
value uniform 0.007;

View File

@ -25,7 +25,7 @@ boundaryField
type kqRWallFunction;
value uniform 0.01;
}
gasInlet
oilInlet
{
type fixedValue;
value uniform 0.01;

View File

@ -25,7 +25,7 @@ boundaryField
type nutkWallFunction;
value uniform 0;
}
gasInlet
oilInlet
{
type fixedValue;
value uniform 0;

View File

@ -26,7 +26,7 @@ boundaryField
gradient uniform 0;
value uniform 125000;
}
gasInlet
oilInlet
{
type fixedFluxPressure;
gradient uniform 0;

View File

@ -15,22 +15,22 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
phases (water air);
phases (oil water);
water
oil
{
transportModel Newtonian;
nu 1e-06;
nu 1.2e-05;
rho 300;
}
air
water
{
transportModel Newtonian;
nu 1e-6;
rho 1027;
}
sigma 0.07;
sigma 0.027;
// ************************************************************************* //

View File

@ -1,4 +1,4 @@
solid gasInlet
solid oilInlet
facet normal 0 0 1
outer loop
vertex 0.0984808 0.0173648 0
@ -251,4 +251,4 @@ solid gasInlet
vertex 0.0984808 -0.0173648 0
endloop
endfacet
endsolid gasInlet
endsolid oilInlet

View File

@ -17,7 +17,7 @@ FoamFile
solvers
{
"alpha.water.*"
"alpha.oil.*"
{
nAlphaCorr 1;
nAlphaSubCycles 2;

View File

@ -17,7 +17,7 @@ FoamFile
defaultFieldValues
(
volScalarFieldValue alpha.water 1
volScalarFieldValue alpha.oil 1
);
regions
@ -27,7 +27,7 @@ regions
box (-4 -4 -1) (4 4 0.74);
fieldValues
(
volScalarFieldValue alpha.water 0
volScalarFieldValue alpha.oil 0
);
}
);

View File

@ -35,16 +35,16 @@ geometry
}
}
gasInlet
oilInlet
{
type triSurfaceMesh;
file "gasInlet.stl";
file "oilInlet.stl";
regions
{
gasInlet
oilInlet
{
name gasInlet;
name oilInlet;
}
}
}
@ -216,7 +216,7 @@ castellatedMeshControls
levels ((1 1));
}
{
file "gasInlet.eMesh";
file "oilInlet.eMesh";
levels ((1 1));
}
{
@ -251,7 +251,7 @@ castellatedMeshControls
}
}
gasInlet
oilInlet
{
level (0 1);
patchInfo

View File

@ -17,7 +17,7 @@ FoamFile
surfaces
(
"vessel.stl"
"gasInlet.stl"
"oilInlet.stl"
"stirrer.stl"
"outlet.stl"
"shaft.stl"