35 const word& phaseName,
36 const dictionary& phaseDict,
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_);
virtual bool read()
Read object.
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.
void correct()
Correct the phase properties.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< phase > clone() const
Return clone.
phase(const word &name, const dictionary &phaseDict, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
const dimensionSet dimDensity
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.