32 const word& phaseName,
33 const dictionary& phaseDict,
42 IOobject::groupName(
"alpha", phaseName),
51 phaseDict_(phaseDict),
56 IOobject::groupName(
"nu", phaseName),
71 return autoPtr<phase>(
nullptr);
83 phaseDict_ = phaseDict;
85 if (nuModel_->read(phaseDict_))
87 phaseDict_.lookup(
"rho") >> rho_;
virtual bool read()
Read object.
void correct()
Correct the phase properties.
GeometricField< vector, fvPatchField, volMesh > volVectorField
dictionary()
Construct top-level dictionary null.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
autoPtr< phase > clone() const
Return clone.
const dimensionSet dimDensity
phase(const word &name, const dictionary &phaseDict, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.