basicThermo: Renamed thermo:psi -> psi, thermo:mu -> mu and thermo:kappa -> kappa

The basic thermophysical properties are now considered fundamental and complex
models like kineticTheoryModel using these names for some other purpose must
disambiguate using typedName to prepend the model name to the field name.

This change standardises, rationalises and simplifies the specification of
fvSchemes and boundary conditions.

thermo:rho will also be renamed rho in a subsequent commit to complete this
rationalisation.
This commit is contained in:
Henry Weller
2022-10-27 20:27:56 +01:00
parent 6b2748887a
commit 87a0b8a515
47 changed files with 110 additions and 105 deletions

View File

@ -36,7 +36,6 @@ boundaryField
value uniform 297;
T0 uniform 297;
rho none;
psi thermo:psi;
gamma 1.4;
}

View File

@ -29,7 +29,7 @@ boundaryField
{
type waveTransmissive;
field p;
psi thermo:psi;
psi psi;
fieldInf 101325;
gamma 1.4;
lInf 0.025;
@ -42,7 +42,7 @@ boundaryField
value uniform 101325;
p0 uniform 101325;
rho none;
psi thermo:psi;
psi psi;
gamma 1.4;
}

View File

@ -1240,7 +1240,6 @@ boundaryField
freestream
{
type totalTemperature;
psi thermo:psi;
gamma 1.4;
T0 uniform 297;
value nonuniform List<scalar>

View File

@ -1232,7 +1232,7 @@ boundaryField
{
type waveTransmissive;
field p;
psi thermo:psi;
psi psi;
gamma 1.4;
fieldInf 101325;
lInf 0.025;
@ -1270,7 +1270,7 @@ boundaryField
{
type totalPressure;
rho none;
psi thermo:psi;
psi psi;
gamma 1.4;
p0 uniform 101325;
value nonuniform List<scalar>

View File

@ -38,7 +38,7 @@ divSchemes
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)*(thermo:mu.liquid|thermo:rho.liquid))*dev2(T(grad(U))))) Gauss linear;
div((((alpha.liquid*thermo:rho.liquid)*(mu.liquid|thermo: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;

View File

@ -39,10 +39,10 @@ solution
{
thermo:rho.air cell;
U cellPoint;
thermo:mu.air cell;
mu.air cell;
T.air cell;
Cp.air cell;
thermo:kappa.air cell;
kappa.air cell;
p cell;
}

View File

@ -25,7 +25,6 @@ boundaryField
{
type waveTransmissive;
field p;
psi thermo:psi;
gamma 1.4;
fieldInf $pOut;
lInf 5;

View File

@ -29,7 +29,6 @@ boundaryField
{
type waveTransmissive;
field p;
psi thermo:psi;
gamma 1.4;
fieldInf 1;
lInf 3;

View File

@ -28,7 +28,6 @@ boundaryField
{
type waveTransmissive;
field p;
psi thermo:psi;
gamma 1.3;
fieldInf 100000;
lInf 1;

View File

@ -27,7 +27,6 @@ boundaryField
outlet
{
type waveTransmissive;
psi thermo:psi;
gamma 1.3;
fieldInf 1e5;
lInf 0.3;

View File

@ -29,7 +29,6 @@ boundaryField
{
type waveTransmissive;
field p;
psi thermo:psi;
gamma 1.3;
fieldInf 100000;
lInf 1;

View File

@ -39,10 +39,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
}

View File

@ -39,10 +39,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
}

View File

@ -39,10 +39,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
}

View File

@ -39,10 +39,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
}

View File

@ -39,10 +39,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
}

View File

@ -39,10 +39,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
G cell;
}

View File

@ -36,10 +36,10 @@ solution
interpolationSchemes
{
rho cell;
thermo:mu cell;
mu cell;
U cellPoint;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
T cell;
G cell;

View File

@ -39,10 +39,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
}

View File

@ -39,10 +39,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
}

View File

@ -42,10 +42,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
}

View File

@ -42,10 +42,10 @@ solution
{
rho cell;
U cellPoint;
thermo:mu cell;
mu cell;
T cell;
Cp cell;
thermo:kappa cell;
kappa cell;
p cell;
}

View File

@ -130,13 +130,13 @@ functions
objects
(
thermo:rho.gas
thermo:mu.gas
thermo:psi.gas
thermo:alpha.gas
mu.gas
psi.gas
kappa.gas
thermo:rho.liquid
thermo:mu.liquid
thermo:psi.liquid
thermo:alpha.liquid
mu.liquid
psi.liquid
kappa.liquid
h.liquid
h.gas
);