climbingRod tutorial: renamed water phase -> fluid

This commit is contained in:
Chris Greenshields
2017-11-01 09:21:37 +00:00
parent accc18283c
commit c3c777ee08
9 changed files with 13 additions and 13 deletions

View File

@ -10,7 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object alpha.water;
object alpha.fluid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volSymmTensorField;
object sigma;
object sigma.fluid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -19,8 +19,8 @@ stabilization
{
type symmTensorPhaseLimitStabilization;
field sigma.water;
rate rLambda.water;
field sigma.fluid;
rate rLambda.fluid;
residualAlpha 1e-3;
}

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
phases (water air);
phases (fluid air);
pMin 10000;

View File

@ -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

View File

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

View File

@ -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
);
}
);