112 const word& phaseName
120 const word& phaseName,
121 const word& dictionaryName
137 const word& phaseName
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static const word dictName
The dictionary name ("thermophysicalProperties").
fluidThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
Mesh data needed to do the Finite Volume discretisation.
psiThermo(const psiThermo &)
Construct as copy (not implemented).
declareRunTimeSelectionTable(autoPtr, psiThermo, fvMeshDictPhase,(const fvMesh &mesh, const word &phaseName, const word &dictName),(mesh, phaseName, dictName))
Declare run-time constructor selection table for dictionary based.
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.
TypeName("psiThermo")
Runtime type information.
volScalarField mu_
Dynamic viscosity [kg/m/s].
declareRunTimeSelectionTable(autoPtr, psiThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName))
Declare run-time constructor selection table.
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.
static const word null
An empty word.
const dimensionedScalar rhoMin
const dimensionedScalar rhoMax
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
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.