116 const word& phaseName
124 const word& phaseName
131 const word& phaseName,
132 const word& dictionaryName
148 const word& phaseName,
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static const word dictName
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Fundamental fluid thermodynamic properties.
Mesh data needed to do the Finite Volume discretisation.
Basic thermodynamic properties based on density.
volScalarField rho_
Density field [kg/m^3].
declareRunTimeSelectionTable(autoPtr, rhoThermo, fvMeshDictPhase,(const fvMesh &mesh, const word &phaseName, const word &dictName),(mesh, phaseName, dictName))
Declare run-time constructor selection table for dictionary based.
rhoThermo(const rhoThermo &)
Construct as copy (not implemented)
virtual ~rhoThermo()
Destructor.
declareRunTimeSelectionTable(autoPtr, rhoThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName))
Declare run-time constructor selection table.
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.
TypeName("rhoThermo")
Runtime type information.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
const dimensionedScalar rhoMin
const dimensionedScalar rhoMax
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.