51 phaseScopedName(
"thermo",
"psi"),
66 phaseScopedName(
"thermo",
"mu"),
82 const word& phaseName,
83 const word& dictionaryName
92 phaseScopedName(
"thermo",
"psi"),
107 phaseScopedName(
"thermo",
"mu"),
134 const word& phaseName,
135 const word& dictionaryName
158 return p_.boundaryField()[patchi]*
psi_.boundaryField()[patchi];
190 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.
volScalarField & p_
Pressure [Pa].
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.
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 compressibility.
psiThermo(const psiThermo &)
Construct as copy (not implemented).
virtual tmp< volScalarField > mu() const
Dynamic viscosity of mixture [kg/m/s].
virtual ~psiThermo()
Destructor.
static autoPtr< psiThermo > New(const fvMesh &mesh, const word &phaseName=word::null)
Selector.
volScalarField mu_
Dynamic viscosity [kg/m/s].
virtual tmp< volScalarField > rho() const
Density [kg/m^3] - uses current value of pressure.
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 dimensionedScalar rhoMin
const dimensionedScalar rhoMax
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.