35namespace multiphaseInter
54 IOobject::groupName(
"alpha", phaseName),
81 Info<<
"Selecting phaseModel for "
82 << phaseName <<
": " << modelType <<
endl;
84 auto* ctorPtr = multiphaseInterSystemConstructorTable(modelType);
93 *multiphaseInterSystemConstructorTablePtr_
97 return ctorPtr(
fluid, phaseName);
131 return thermo().rho(patchI);
188 return thermo().gamma(
p,
T, patchI);
211 return thermo().CpByCpv();
222 return thermo().CpByCpv(
p,
T, patchI);
235 return thermo().alpha(patchI);
248 return thermo().kappa(patchI);
255 return thermo().alphahe();
262 return thermo().alphahe(patchI);
272 kappaEff.ref().rename(
"kappaEff" + name_);
283 return (kappa(patchI) + kappat);
315 return thermo().mu(patchi);
328 return thermo().nu(patchi);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
tmp< volScalarField > alphaEff() const
Effective thermal turbulent diffusivity of mixture [kg/m/s].
tmp< volScalarField > Cp() const
Return phase Cp.
virtual void correct()
Correct phase thermo.
tmp< volScalarField > alphahe() const
Thermal diffusivity for energy of mixture [kg/m/s].
virtual tmp< volScalarField > mu() const
Return the mixture dymanic viscosity.
virtual tmp< volScalarField > nu() const
Return the mixture kinematic viscosity.
const multiphaseInterSystem & fluid() const
Return the system to which this phase belongs.
tmp< volScalarField > CpByCpv() const
Heat capacity ratio for phase [].
virtual void correctTurbulence()
Correct the turbulence.
tmp< volScalarField > hc() const
Chemical enthalpy for phase [J/kg].
tmp< volScalarField > gamma() const
Gamma = Cp/Cv of phase[].
tmp< volScalarField > kappa() const
Thermal diffusivity for temperature of phase [J/m/s/K].
tmp< volScalarField > rho() const
Return the phase density.
const volScalarField & alpha() const
Thermal diffusivity for enthalpy of mixture [kg/m/s].
tmp< volScalarField > Cv() const
Return Cv of the phase.
virtual bool read()
Read phase properties dictionary.
tmp< volScalarField > Cpv() const
Heat capacity at constant pressure/volume for phase [J/kg/K].
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const volScalarField & Cp
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
const dimensionSet dimless
Dimensionless.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.