50 phaseScopedName(
"thermo",
"rho"),
65 phaseScopedName(
"thermo",
"psi"),
80 phaseScopedName(
"thermo",
"mu"),
105 phaseScopedName(
"thermo",
"rho"),
120 phaseScopedName(
"thermo",
"psi"),
135 phaseScopedName(
"thermo",
"mu"),
151 const word& phaseName,
152 const word& dictionaryName
160 phaseScopedName(
"thermo",
"rho"),
175 phaseScopedName(
"thermo",
"psi"),
190 phaseScopedName(
"thermo",
"mu"),
218 const word& phaseName,
241 return rho_.boundaryField()[patchi];
282 return mu_.boundaryField()[patchi];
@ REGISTER
Request registration (bool: true).
@ NO_READ
Nothing to be read.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const Time & time() const noexcept
Return Time associated with the objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static const word dictName
The dictionary name ("thermophysicalProperties").
word phaseScopedName(const std::string &scope, const word &name) const
The phase property name scoped as scope:property.phase.
static autoPtr< Thermo > New(const fvMesh &, const word &phaseName=word::null)
Generic New for each of the related thermodynamics packages.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Fundamental fluid thermodynamic properties.
fluidThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
Mesh data needed to do the Finite Volume discretisation.
Basic thermodynamic properties based on density.
volScalarField rho_
Density field [kg/m^3].
rhoThermo(const rhoThermo &)
Construct as copy (not implemented).
virtual ~rhoThermo()
Destructor.
virtual tmp< volScalarField > mu() const
Dynamic viscosity of mixture [kg/m/s].
static autoPtr< rhoThermo > New(const fvMesh &, const word &phaseName=word::null)
Selector.
volScalarField mu_
Dynamic viscosity [kg/m/s].
virtual tmp< volScalarField > rho() const
Density [kg/m^3].
volScalarField psi_
Compressibility [s^2/m^2].
virtual const volScalarField & psi() const
Compressibility [s^2/m^2].
virtual void correctRho(const volScalarField &deltaRho, const dimensionedScalar &rhoMin, const dimensionedScalar &rhoMax)
Add the given density correction to the density field.
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 word dictName("faMeshDefinition")
const dimensionedScalar rhoMin
const dimensionedScalar rhoMax
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimDensity
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.