70 const word& phaseName,
71 const word& dictionaryName
105 const word& phaseName,
129 return rho_.boundaryField()[patchi];
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static const word dictName
The dictionary name ("thermophysicalProperties").
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,...
Mesh data needed to do the Finite Volume discretisation.
virtual bool read()
Read object.
volScalarField rho_
Density field [kg/m^3].
rhoThermo(const rhoThermo &)
Construct as copy (not implemented).
Fundamental solid thermodynamic properties.
virtual ~solidThermo()
Destructor.
solidThermo(const fvMesh &, const word &phaseName)
Construct from mesh and phase name.
static autoPtr< solidThermo > New(const fvMesh &, const word &phaseName=word::null)
Return a pointer to a new solidThermo created from.
virtual tmp< volScalarField > rho() const
Density [kg/m^3].
virtual bool read()
Read thermophysicalProperties dictionary.
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")
GeometricField< scalar, fvPatchField, volMesh > volScalarField
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.