57 return movingPhaseModels_;
64 return movingPhaseModels_;
71 return stationaryPhaseModels_;
78 return stationaryPhaseModels_;
85 return anisothermalPhaseModels_;
92 return anisothermalPhaseModels_;
99 return multicomponentPhaseModels_;
106 return multicomponentPhaseModels_;
115 if (phaseModels_.size() != 2)
118 <<
"Call from a two-phase model in a multi-phase system."
122 if (&phase == &phaseModels_[0])
124 return phaseModels_[1];
128 return phaseModels_[0];
Generic GeometricField class.
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
static autoPtr< dictionary > New(Istream &)
Construct top-level dictionary on freestore from Istream.
Finite volume constraints.
Mesh data needed to do the Finite Volume discretisation.
const IOMRFZoneList & MRF() const
Return MRF zones.
const phaseModel & otherPhase(const phaseModel &phase) const
Return the phase not given as an argument in a two-phase system.
const fvMesh & mesh_
Reference to the mesh.
const dimensionedScalar & deltaN() const
Stabilisation for normalisation of the interface normal.
const Foam::fvModels & fvModels() const
Access the fvModels.
const surfaceScalarField & phi() const
Return the mixture flux.
const volScalarField & dpdt() const
Return the rate of change of the pressure.
const phaseModelPartialList & multicomponentPhases() const
Return the models for phases that have multiple species.
const phaseModelPartialList & movingPhases() const
Return the models for phases that are moving.
const phaseModelList & phases() const
Return the phase models.
const phaseModelPartialList & anisothermalPhases() const
Return the models for phases that have variable temperature.
const pimpleNoLoopControl & pimple() const
Return pimpleNoLoopControl.
const phaseModelPartialList & stationaryPhases() const
Return the models for phases that are stationary.
const fvMesh & mesh() const
Return the mesh.
const Foam::fvConstraints & fvConstraints() const
Access the fvConstraints.
Pimple no-loop control class. Implements various option flags, but leaves loop controls to the deriva...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)