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:
@ -19,7 +19,7 @@ volScalarField rho
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
thermo.rho()
|
||||
thermo.renameRho()
|
||||
);
|
||||
|
||||
volScalarField& p = thermo.p();
|
||||
|
||||
@ -19,7 +19,7 @@ volScalarField rho
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
thermo.rho()
|
||||
thermo.renameRho()
|
||||
);
|
||||
|
||||
volScalarField& p = thermo.p();
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
thermo.rho()
|
||||
thermo.renameRho()
|
||||
);
|
||||
|
||||
volScalarField Rspecific
|
||||
|
||||
@ -34,7 +34,7 @@ volScalarField rho
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
thermo.rho()
|
||||
thermo.renameRho()
|
||||
);
|
||||
|
||||
volVectorField rhoU
|
||||
|
||||
@ -19,7 +19,7 @@ volScalarField rho
|
||||
IOobject::READ_IF_PRESENT,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
thermo.rho()
|
||||
thermo.renameRho()
|
||||
);
|
||||
|
||||
Info<< "Reading field U\n" << endl;
|
||||
|
||||
@ -14,7 +14,7 @@ volScalarField rho
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE
|
||||
),
|
||||
thermo.rho()
|
||||
thermo.renameRho()
|
||||
);
|
||||
|
||||
volScalarField& p = thermo.p();
|
||||
|
||||
@ -18,7 +18,7 @@ volScalarField rho
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
thermo.rho()
|
||||
thermo.renameRho()
|
||||
);
|
||||
|
||||
Info<< "\nReading field U\n" << endl;
|
||||
|
||||
@ -79,7 +79,7 @@ Foam::compressibleTwoPhaseMixture::compressibleTwoPhaseMixture
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"thermo:rho",
|
||||
"rho",
|
||||
U.mesh().time().timeName(),
|
||||
U.mesh(),
|
||||
IOobject::NO_READ,
|
||||
|
||||
@ -130,7 +130,7 @@ void Foam::fv::compressible::VoFCavitation::addSup
|
||||
if (fieldName == "p_rgh")
|
||||
{
|
||||
const volScalarField::Internal& rho =
|
||||
mesh().lookupObject<volScalarField>("thermo:rho");
|
||||
mesh().lookupObject<volScalarField>("rho");
|
||||
|
||||
const volScalarField::Internal& gh =
|
||||
mesh().lookupObject<volScalarField>("gh");
|
||||
|
||||
@ -79,7 +79,7 @@ Foam::solvers::isothermalFluid::isothermalFluid
|
||||
IOobject::READ_IF_PRESENT,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
thermo.rho()
|
||||
thermo.renameRho()
|
||||
),
|
||||
|
||||
dpdt
|
||||
|
||||
@ -113,7 +113,7 @@ Foam::compressibleMultiphaseMixture::compressibleMultiphaseMixture
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"thermo:rho",
|
||||
"rho",
|
||||
U.mesh().time().timeName(),
|
||||
U.mesh(),
|
||||
IOobject::NO_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2019-2021 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2019-2022 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -81,7 +81,7 @@ Usage
|
||||
|
||||
field s.water;
|
||||
alphaPhi alphaRhoPhi.water;
|
||||
rho thermo:rho.water;
|
||||
rho rho.water;
|
||||
}
|
||||
\endverbatim
|
||||
|
||||
|
||||
@ -793,7 +793,7 @@ Foam::regionModels::momentumSurfaceFilm::momentumSurfaceFilm
|
||||
IOobject
|
||||
(
|
||||
// Must have same name as rho to enable mapping
|
||||
IOobject::groupName("thermo:rho", phaseName_),
|
||||
IOobject::groupName("rho", phaseName_),
|
||||
time().timeName(),
|
||||
regionMesh(),
|
||||
IOobject::NO_READ,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -114,6 +114,11 @@ public:
|
||||
|
||||
// Fields derived from thermodynamic state variables
|
||||
|
||||
//- Rename the thermodynamic density field if stored and return
|
||||
// This is used by solvers which create a separate continuity rho
|
||||
// [kg/m^3]
|
||||
virtual tmp<volScalarField> renameRho() = 0;
|
||||
|
||||
//- Gamma = Cp/Cv []
|
||||
virtual tmp<volScalarField> gamma() const = 0;
|
||||
|
||||
|
||||
@ -115,6 +115,12 @@ Foam::tmp<Foam::scalarField> Foam::psiThermo::implementation::rho
|
||||
}
|
||||
|
||||
|
||||
Foam::tmp<Foam::volScalarField> Foam::psiThermo::implementation::renameRho()
|
||||
{
|
||||
return rho();
|
||||
}
|
||||
|
||||
|
||||
Foam::tmp<Foam::volScalarField> Foam::psiThermo::implementation::rho0() const
|
||||
{
|
||||
return p().oldTime()*psi_.oldTime();
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -108,6 +108,10 @@ public:
|
||||
//- Density for patch [kg/m^3]
|
||||
virtual tmp<scalarField> rho(const label patchi) const = 0;
|
||||
|
||||
//- Return the thermodynamic density field [kg/m^3]
|
||||
// This is used by solvers which create a separate continuity rho
|
||||
virtual tmp<volScalarField> renameRho() = 0;
|
||||
|
||||
//- Old-time density [kg/m^3]
|
||||
virtual tmp<volScalarField> rho0() const = 0;
|
||||
|
||||
@ -171,6 +175,10 @@ public:
|
||||
//- Density for patch [kg/m^3]
|
||||
virtual tmp<scalarField> rho(const label patchi) const;
|
||||
|
||||
//- Return the thermodynamic density field [kg/m^3]
|
||||
// This is used by solvers which create a separate continuity rho
|
||||
virtual tmp<volScalarField> renameRho();
|
||||
|
||||
//- Old-time density [kg/m^3]
|
||||
virtual tmp<volScalarField> rho0() const;
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ Foam::rhoThermo::implementation::implementation
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
phasePropertyName("thermo:rho", phaseName),
|
||||
phasePropertyName("rho", phaseName),
|
||||
mesh.time().timeName(),
|
||||
mesh,
|
||||
IOobject::NO_READ,
|
||||
@ -125,6 +125,13 @@ Foam::tmp<Foam::scalarField> Foam::rhoThermo::implementation::rho
|
||||
}
|
||||
|
||||
|
||||
Foam::tmp<Foam::volScalarField> Foam::rhoThermo::implementation::renameRho()
|
||||
{
|
||||
rho_.rename(phasePropertyName("thermo:rho"));
|
||||
return rho_;
|
||||
}
|
||||
|
||||
|
||||
Foam::volScalarField& Foam::rhoThermo::implementation::rho()
|
||||
{
|
||||
return rho_;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -104,6 +104,10 @@ public:
|
||||
//- Density for patch [kg/m^3]
|
||||
virtual tmp<scalarField> rho(const label patchi) const = 0;
|
||||
|
||||
//- Rename and return the thermodynamic density field [kg/m^3]
|
||||
// This is used by solvers which create a separate continuity rho
|
||||
virtual tmp<volScalarField> renameRho() = 0;
|
||||
|
||||
//- Return non-const access to the local density field [kg/m^3]
|
||||
virtual volScalarField& rho() = 0;
|
||||
|
||||
@ -141,7 +145,7 @@ protected:
|
||||
// Protected data
|
||||
|
||||
//- Density field [kg/m^3]
|
||||
// Named 'thermo:rho' to avoid (potential) conflict with solver density
|
||||
// Named 'rho' to avoid (potential) conflict with solver density
|
||||
volScalarField rho_;
|
||||
|
||||
//- Compressibility [s^2/m^2]
|
||||
@ -176,6 +180,10 @@ public:
|
||||
//- Density for patch [kg/m^3]
|
||||
virtual tmp<scalarField> rho(const label patchi) const;
|
||||
|
||||
//- Rename and return the thermodynamic density field [kg/m^3]
|
||||
// This is used by solvers which create a separate continuity rho
|
||||
virtual tmp<volScalarField> renameRho();
|
||||
|
||||
//- Return non-const access to the local density field [kg/m^3]
|
||||
virtual volScalarField& rho();
|
||||
|
||||
|
||||
@ -37,9 +37,9 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -37,9 +37,9 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(alphaPhi.*,f.*\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(alphaPhi.*,f.*\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(alphaPhi.*,f.*\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -23,7 +23,7 @@ waterSink
|
||||
massFlowRate -21.86682;
|
||||
|
||||
phase water;
|
||||
rho thermo:rho.water;
|
||||
rho rho.water;
|
||||
|
||||
fieldValues
|
||||
{
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(alphaPhi.*,f.*\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -24,7 +24,7 @@ massSource
|
||||
massFlowRate 1e-3;
|
||||
|
||||
phase air1;
|
||||
rho thermo:rho.air1;
|
||||
rho rho.air1;
|
||||
|
||||
fieldValues
|
||||
{
|
||||
|
||||
@ -37,7 +37,7 @@ divSchemes
|
||||
|
||||
"div\(alphaPhi.*,f.*\)" Gauss upwind;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -23,7 +23,7 @@ waterSource
|
||||
massFlowRate 30.785654;
|
||||
|
||||
phase water;
|
||||
rho thermo:rho.water;
|
||||
rho rho.water;
|
||||
|
||||
fieldValues
|
||||
{
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(alphaPhi.*,f.*\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -32,7 +32,7 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||
"div\(alphaPhi.*,f.*\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -37,9 +37,9 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -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
|
||||
|
||||
@ -41,7 +41,6 @@ boundaryField
|
||||
{
|
||||
type prghTotalPressure;
|
||||
p0 uniform 1e5;
|
||||
rho thermo:rho;
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
|
||||
@ -33,7 +33,7 @@ divSchemes
|
||||
div(rhoPhi,T) Gauss upwind;
|
||||
div(rhoPhi,K) 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
|
||||
|
||||
@ -31,7 +31,6 @@ boundaryField
|
||||
atmosphere
|
||||
{
|
||||
type prghTotalPressure;
|
||||
rho rho;
|
||||
psi none;
|
||||
gamma 1;
|
||||
p0 uniform 0;
|
||||
|
||||
@ -23,7 +23,6 @@ boundaryField
|
||||
atmosphere
|
||||
{
|
||||
type prghTotalPressure;
|
||||
rho rho;
|
||||
psi none;
|
||||
gamma 1;
|
||||
p0 uniform 0;
|
||||
|
||||
@ -38,10 +38,10 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,k.*\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -39,12 +39,12 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,f.*\)" Gauss upwind;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(phi.*,kappai.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,(k|epsilon|omega).*\)" Gauss upwind;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss upwind;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -31,7 +31,7 @@ boundaryField
|
||||
p0 $internalField;
|
||||
U U.gas;
|
||||
phi phi.gas;
|
||||
rho thermo:rho.gas;
|
||||
rho rho.gas;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
|
||||
@ -36,13 +36,13 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
div(alphaRhoPhi.solids,Theta.solids) Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
||||
|
||||
div((((alpha.gas*thermo:rho.gas)*nuEff.gas)*dev2(T(grad(U.gas))))) Gauss linear;
|
||||
div((((alpha.gas*rho.gas)*nuEff.gas)*dev2(T(grad(U.gas))))) Gauss linear;
|
||||
|
||||
divDevTau(U.solids) Gauss linear;
|
||||
}
|
||||
|
||||
@ -38,12 +38,12 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -37,12 +37,12 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -23,7 +23,7 @@ massSource
|
||||
massFlowRate 6e-7;
|
||||
|
||||
phase air1;
|
||||
rho thermo:rho.air1;
|
||||
rho rho.air1;
|
||||
|
||||
fieldValues
|
||||
{
|
||||
|
||||
@ -36,7 +36,7 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,(k|epsilon|omega).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaPhi.*,f.*\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -36,13 +36,13 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
div(alphaRhoPhi.particles,Theta.particles) Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
||||
|
||||
div((((alpha.air*thermo:rho.air)*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
||||
div((((alpha.air*rho.air)*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
||||
|
||||
divDevTau(U.particles) Gauss linear;
|
||||
}
|
||||
|
||||
@ -39,11 +39,11 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,(h|e|k|epsilon).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
|
||||
div(alphaRhoPhi.water,(p|thermo:rho.water)) Gauss limitedLinear 1;
|
||||
div(alphaRhoPhi.water,(p|rho.water)) Gauss limitedLinear 1;
|
||||
|
||||
div((((alpha.water*thermo:rho.water)*nuEff.water)*dev2(T(grad(U.water))))) Gauss linear;
|
||||
div((((alpha.water*rho.water)*nuEff.water)*dev2(T(grad(U.water))))) Gauss linear;
|
||||
|
||||
div((((thermo:rho.particles*nut.particles)*dev2(T(grad(U.particles))))+(((thermo:rho.particles*lambda.particles)*div(phi.particles))*I))) Gauss linear;
|
||||
div((((rho.particles*nut.particles)*dev2(T(grad(U.particles))))+(((rho.particles*lambda.particles)*div(phi.particles))*I))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -129,11 +129,11 @@ functions
|
||||
|
||||
objects
|
||||
(
|
||||
thermo:rho.gas
|
||||
rho.gas
|
||||
mu.gas
|
||||
psi.gas
|
||||
kappa.gas
|
||||
thermo:rho.liquid
|
||||
rho.liquid
|
||||
mu.liquid
|
||||
psi.liquid
|
||||
kappa.liquid
|
||||
|
||||
@ -38,11 +38,11 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,(k|epsilon|omega).*\)" Gauss linearUpwind limited;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss linearUpwind limited;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -38,12 +38,12 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(phi.*,kappai.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,(k|epsilon|omega).*\)" Gauss linearUpwind limited;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss linearUpwind limited;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -39,11 +39,11 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaPhi.*,f.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,(k|epsilon|omega).*\)" Gauss linearUpwind limited;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss linearUpwind limited;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -39,11 +39,11 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaPhi.*,f.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss linearUpwind limited;
|
||||
"div\(alphaRhoPhi.*,(k|epsilon|omega).*\)" Gauss linearUpwind limited;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss linearUpwind limited;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -25,7 +25,7 @@ boundaryField
|
||||
p0 $internalField;
|
||||
U U.air;
|
||||
phi phi.air;
|
||||
rho thermo:rho.air;
|
||||
rho rho.air;
|
||||
value $internalField;
|
||||
}
|
||||
walls
|
||||
|
||||
@ -30,7 +30,7 @@ massSource
|
||||
}
|
||||
|
||||
phase water;
|
||||
rho thermo:rho.water;
|
||||
rho rho.water;
|
||||
|
||||
fieldValues
|
||||
{
|
||||
|
||||
@ -36,9 +36,9 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -30,7 +30,7 @@ boundaryField
|
||||
p0 $internalField;
|
||||
U U.air;
|
||||
phi phi.air;
|
||||
rho thermo:rho.air;
|
||||
rho rho.air;
|
||||
value $internalField;
|
||||
}
|
||||
walls
|
||||
|
||||
@ -38,10 +38,10 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -65,9 +65,9 @@ totalMass
|
||||
mesh().lookupObject<volScalarField>("alpha.liquid");
|
||||
|
||||
const volScalarField& rhoGas =
|
||||
mesh().lookupObject<volScalarField>("thermo:rho.gas");
|
||||
mesh().lookupObject<volScalarField>("rho.gas");
|
||||
const volScalarField& rhoLiquid =
|
||||
mesh().lookupObject<volScalarField>("thermo:rho.liquid");
|
||||
mesh().lookupObject<volScalarField>("rho.liquid");
|
||||
|
||||
const scalarField& v = mesh().V();
|
||||
|
||||
|
||||
@ -37,9 +37,9 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -37,9 +37,9 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -40,9 +40,9 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -43,7 +43,7 @@ boundaryField
|
||||
p0 $internalField;
|
||||
U U.air;
|
||||
phi phi.air;
|
||||
rho thermo:rho.air;
|
||||
rho rho.air;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
|
||||
@ -34,9 +34,9 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -36,9 +36,9 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
div((((alpha.air*thermo:rho.air)*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
||||
div((((alpha.air*rho.air)*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -24,7 +24,7 @@ massSource
|
||||
);
|
||||
|
||||
phase air;
|
||||
rho thermo:rho.air;
|
||||
rho rho.air;
|
||||
|
||||
massFlowRate
|
||||
{
|
||||
|
||||
@ -38,9 +38,9 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -34,9 +34,9 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -34,9 +34,9 @@ divSchemes
|
||||
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -24,7 +24,7 @@ massSource
|
||||
);
|
||||
|
||||
phase steam;
|
||||
rho thermo:rho.steam;
|
||||
rho rho.steam;
|
||||
|
||||
massFlowRate
|
||||
{
|
||||
|
||||
@ -37,12 +37,12 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,Yi\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
||||
"div\(phim,(k|epsilon)m\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -25,7 +25,7 @@ boundaryField
|
||||
{
|
||||
type flowRateInletVelocity;
|
||||
massFlowRate 2.173893e-07;
|
||||
rho thermo:rho.vapor;
|
||||
rho rho.vapor;
|
||||
profile laminarBL;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@ boundaryField
|
||||
type prghTotalPressure;
|
||||
U U.vapor;
|
||||
phi phi.vapor;
|
||||
rho thermo:rho.vapor;
|
||||
rho rho.vapor;
|
||||
p0 uniform 1e5;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
@ -38,12 +38,12 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,(k|epsilon|h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,Y.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaPhi.*,f.*\)" Gauss upwind;
|
||||
"div\(fAlphaPhi.*,kappa.*\)" Gauss linearUpwind limited;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
@ -25,7 +25,7 @@ boundaryField
|
||||
{
|
||||
type flowRateInletVelocity;
|
||||
massFlowRate 2.173893e-07;
|
||||
rho thermo:rho.vapor;
|
||||
rho rho.vapor;
|
||||
profile laminarBL;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@ boundaryField
|
||||
type prghTotalPressure;
|
||||
U U.vapor;
|
||||
phi phi.vapor;
|
||||
rho thermo:rho.vapor;
|
||||
rho rho.vapor;
|
||||
p0 uniform 1e5;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
@ -38,12 +38,12 @@ divSchemes
|
||||
"div\(alphaRhoPhi.*,(k|epsilon|h|e).*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,Y.*\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
||||
"div\(alphaRhoPhi.*,\(p\|rho.*\)\)" Gauss limitedLinear 1;
|
||||
|
||||
"div\(alphaPhi.*,f.*\)" Gauss upwind;
|
||||
"div\(fAlphaPhi.*,kappa.*\)" Gauss linearUpwind limited;
|
||||
|
||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
"div\(\(\(\(alpha.*\*rho.*\)\*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||
}
|
||||
|
||||
laplacianSchemes
|
||||
|
||||
Reference in New Issue
Block a user