35 const word& phaseName,
37 const volVectorField&
U,
38 const surfaceScalarField&
phi
45 IOobject::groupName(
"alpha", phaseName),
54 phaseDict_(phaseDict),
59 IOobject::groupName(
"nu", phaseName),
86 phaseDict_ = phaseDict;
88 if (nuModel_->read(phaseDict_))
90 phaseDict_.readEntry(
"rho", rho_);
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void correct()
Correct the phase properties.
autoPtr< phase > clone() const
Return clone.
phase(const word &name, const dictionary &phaseDict, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual bool read()
Read object.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimDensity