climbingRod tutorial: renamed water phase -> fluid
This commit is contained in:
@ -10,7 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object alpha.water;
|
||||
object alpha.fluid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -10,7 +10,7 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volSymmTensorField;
|
||||
object sigma;
|
||||
object sigma.fluid;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -19,8 +19,8 @@ stabilization
|
||||
{
|
||||
type symmTensorPhaseLimitStabilization;
|
||||
|
||||
field sigma.water;
|
||||
rate rLambda.water;
|
||||
field sigma.fluid;
|
||||
rate rLambda.fluid;
|
||||
residualAlpha 1e-3;
|
||||
}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
phases (water air);
|
||||
phases (fluid air);
|
||||
|
||||
pMin 10000;
|
||||
|
||||
|
||||
@ -36,14 +36,14 @@ divSchemes
|
||||
div(phi,p) Gauss upwind;
|
||||
div(rhoPhi,K) Gauss upwind;
|
||||
|
||||
div(alphaRhoPhi.water,sigma.water) Gauss linearUpwind grad(sigma);
|
||||
div(alphaRhoPhi.fluid,sigma.fluid) Gauss linearUpwind grad(sigma);
|
||||
|
||||
div(((alpha.water*thermo:rho.water)*sigma.water)) Gauss linear;
|
||||
div((((alpha.water*thermo:rho.water)*nuM)*grad(U))) Gauss linear;
|
||||
div((((alpha.water*thermo:rho.water)*(thermo:mu.water|thermo:rho.water))*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((alpha.fluid*thermo:rho.fluid)*sigma.fluid)) Gauss linear;
|
||||
div((((alpha.fluid*thermo:rho.fluid)*nuM)*grad(U))) Gauss linear;
|
||||
div((((alpha.fluid*thermo:rho.fluid)*(thermo:mu.fluid|thermo:rho.fluid))*dev2(T(grad(U))))) Gauss linear;
|
||||
|
||||
div((((alpha.air*thermo:rho.air)*nuEff.air)*dev2(T(grad(U))))) Gauss linear;
|
||||
div((((alpha.water*thermo:rho.water)*nuEff.water)*dev2(T(grad(U))))) Gauss linear;
|
||||
div((((alpha.fluid*thermo:rho.fluid)*nuEff.fluid)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
"alpha.water.*"
|
||||
"alpha.fluid.*"
|
||||
{
|
||||
nAlphaCorr 2;
|
||||
nAlphaSubCycles 1;
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
defaultFieldValues
|
||||
(
|
||||
volScalarFieldValue alpha.water 0
|
||||
volScalarFieldValue alpha.fluid 0
|
||||
);
|
||||
|
||||
regions
|
||||
@ -27,7 +27,7 @@ regions
|
||||
box (0 0 -1) (1 0.077 1);
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alpha.water 1
|
||||
volScalarFieldValue alpha.fluid 1
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user