basicThermo, heThermo: Simplified by removing alphahe

Now that kappa, Cp and Cv fields are cached and Cpv returns either the Cp or Cv
field reference depending on the energy solved and thermal transport is now
fundamentally based on temperature rather energy gradients it is no longer
necessary or useful to provide an abstract function returning alphahe.
This commit is contained in:
Henry Weller
2022-10-30 06:29:06 +00:00
parent 2835a5423b
commit 0661fbb433
19 changed files with 92 additions and 153 deletions

View File

@ -57,7 +57,7 @@ const char* Foam::NamedEnum
"omega",
"nut",
"nuEff",
"alphaEff",
"kappaEff",
"R",
"devTau"
};
@ -196,9 +196,9 @@ bool Foam::functionObjects::turbulenceFields::execute()
processField<scalar>(f, model.nuEff());
break;
}
case compressibleField::alphaEff:
case compressibleField::kappaEff:
{
processField<scalar>(f, ttm.alphaEff());
processField<scalar>(f, ttm.kappaEff());
break;
}
case compressibleField::R:

View File

@ -67,7 +67,7 @@ Usage
nuEff | effective turbulence viscosity (incompressible)
nut | turbulence viscosity (compressible)
nuEff | effective turbulence viscosity (compressible)
alphaEff | effective turbulence thermal diffusivity (compressible)
kappaEff | effective turbulence thermal diffusivity (compressible)
R | Reynolds stress tensor
devSigma | Deviatoric part of the effective Reynolds stress \
(incompressible)
@ -115,7 +115,7 @@ public:
omega,
nut,
nuEff,
alphaEff,
kappaEff,
R,
devTau
};