rhoThermo: Renamed thermo:rho -> rho
The thermodynamic density field is now named "rho" by default and only renamed
"thermo:rho" by solvers that create and maintain a separate continuity density
field which is named "rho". This change significantly simplifies and
standardises the specification of schemes and boundary conditions requiring
density as it is now always named "rho" or "rho.<phase>" unless under some very
unusual circumstances the thermodynamic rather than continuity density is
required for a solver maintaining both.
The advantage of this change is particularly noticeable for multiphase
simulations in which each phase has its own density now named "rho.<phase>"
rather than "thermo:rho.<phase>" as separate phase continuity density fields are
not required so for multiphaseEulerFoam the scheme specification:
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
is now written:
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
This commit is contained in:
@ -26,19 +26,16 @@ boundaryField
|
||||
{
|
||||
type prghTotalPressure;
|
||||
p0 uniform 1.18e5;
|
||||
rho thermo:rho;
|
||||
}
|
||||
lowerOutlet
|
||||
{
|
||||
type prghEntrainmentPressure;
|
||||
p0 $internalField;
|
||||
rho thermo:rho;
|
||||
}
|
||||
upperOutlet
|
||||
{
|
||||
type prghEntrainmentPressure;
|
||||
p0 $internalField;
|
||||
rho thermo:rho;
|
||||
}
|
||||
wall
|
||||
{
|
||||
|
||||
@ -37,7 +37,7 @@ divSchemes
|
||||
div(rhoPhi,k) Gauss upwind;
|
||||
div(rhoPhi,epsilon) Gauss upwind;
|
||||
div(phi,p) Gauss upwind;
|
||||
div(((thermo:rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -29,7 +29,6 @@ boundaryField
|
||||
{
|
||||
type prghTotalPressure;
|
||||
p0 $internalField;
|
||||
rho thermo:rho;
|
||||
}
|
||||
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
@ -36,12 +36,12 @@ divSchemes
|
||||
|
||||
div(alphaRhoPhi.liquid,sigma.liquid) Gauss linearUpwind grad(sigma);
|
||||
|
||||
div(((alpha.liquid*thermo:rho.liquid)*sigma.liquid)) Gauss linear;
|
||||
div((((alpha.liquid*thermo:rho.liquid)*nuM)*grad(U))) Gauss linear;
|
||||
div((((alpha.liquid*thermo:rho.liquid)*(mu.liquid|thermo:rho.liquid))*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((alpha.liquid*rho.liquid)*sigma.liquid)) Gauss linear;
|
||||
div((((alpha.liquid*rho.liquid)*nuM)*grad(U))) Gauss linear;
|
||||
div((((alpha.liquid*rho.liquid)*(mu.liquid|rho.liquid))*dev2(T(grad(U))))) Gauss linear;
|
||||
|
||||
div((((alpha.air*thermo:rho.air)*nuEff.air)*dev2(T(grad(U))))) Gauss linear;
|
||||
div((((alpha.liquid*thermo:rho.liquid)*nuEff.liquid)*dev2(T(grad(U))))) Gauss linear;
|
||||
div((((alpha.air*rho.air)*nuEff.air)*dev2(T(grad(U))))) Gauss linear;
|
||||
div((((alpha.liquid*rho.liquid)*nuEff.liquid)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -29,7 +29,6 @@ boundaryField
|
||||
{
|
||||
type prghTotalPressure;
|
||||
p0 $internalField;
|
||||
rho thermo:rho;
|
||||
}
|
||||
|
||||
"region0_to_wallFilm_.*"
|
||||
|
||||
@ -37,7 +37,7 @@ solution
|
||||
|
||||
interpolationSchemes
|
||||
{
|
||||
thermo:rho.air cell;
|
||||
rho.air cell;
|
||||
U cellPoint;
|
||||
mu.air cell;
|
||||
T.air cell;
|
||||
|
||||
@ -34,7 +34,7 @@ divSchemes
|
||||
div(phi,p) Gauss upwind;
|
||||
div(rhoPhi,K) Gauss upwind;
|
||||
|
||||
div(((thermo:rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -41,7 +41,6 @@ boundaryField
|
||||
{
|
||||
type prghTotalPressure;
|
||||
p0 $internalField;
|
||||
rho thermo:rho;
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
|
||||
@ -37,7 +37,7 @@ divSchemes
|
||||
div(rhoPhi,epsilon) Gauss upwind;
|
||||
div(rhoPhi,omega) Gauss upwind;
|
||||
|
||||
div(((thermo:rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -34,7 +34,7 @@ divSchemes
|
||||
div(phi,p) Gauss upwind;
|
||||
div(phi,k) Gauss upwind;
|
||||
|
||||
div(((thermo:rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -34,7 +34,7 @@ divSchemes
|
||||
div(phi,p) Gauss upwind;
|
||||
div(phi,k) Gauss upwind;
|
||||
|
||||
div(((thermo:rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -35,7 +35,6 @@ boundaryField
|
||||
{
|
||||
type prghTotalPressure;
|
||||
p0 $internalField;
|
||||
rho thermo:rho;
|
||||
}
|
||||
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
@ -34,7 +34,7 @@ divSchemes
|
||||
div(phi,p) Gauss upwind;
|
||||
div(rhoPhi,K) Gauss upwind;
|
||||
|
||||
div(((thermo:rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -33,7 +33,7 @@ divSchemes
|
||||
div(rhoPhi,K) Gauss linear;
|
||||
div(phi,p) Gauss linear;
|
||||
|
||||
div(((thermo:rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
Reference in New Issue
Block a user