30 template<
class BasePhaseModel>
34 const word& phaseName,
35 const bool referencePhase,
39 BasePhaseModel(fluid, phaseName, referencePhase, index)
45 template<
class BasePhaseModel>
52 template<
class BasePhaseModel>
59 template<
class BasePhaseModel>
64 <<
"Cannot construct a momentum equation for a stationary phase"
71 template<
class BasePhaseModel>
76 <<
"Cannot construct a momentum equation for a stationary phase"
83 template<
class BasePhaseModel>
88 <<
"Cannot access the velocity of a stationary phase"
95 template<
class BasePhaseModel>
100 <<
"Cannot access the velocity of a stationary phase"
107 template<
class BasePhaseModel>
112 <<
"Cannot access the velocity of a stationary phase"
119 template<
class BasePhaseModel>
124 <<
"Cannot access the flux of a stationary phase"
131 template<
class BasePhaseModel>
136 <<
"Cannot access the flux of a stationary phase"
143 template<
class BasePhaseModel>
148 <<
"Cannot access the flux of a stationary phase"
155 template<
class BasePhaseModel>
160 <<
"Cannot access the face velocity of a stationary phase"
168 template<
class BasePhaseModel>
173 <<
"Cannot access the face velocity of a stationary phase"
180 template<
class BasePhaseModel>
185 <<
"Cannot access the face velocity of a stationary phase"
192 template<
class BasePhaseModel>
197 <<
"Cannot access the flux of a stationary phase"
204 template<
class BasePhaseModel>
209 <<
"Cannot access the volumetric flux of a stationary phase"
216 template<
class BasePhaseModel>
221 <<
"Cannot access the flux of a stationary phase"
228 template<
class BasePhaseModel>
233 <<
"Cannot access the flux of a stationary phase"
240 template<
class BasePhaseModel>
245 <<
"Cannot access the flux of a stationary phase"
252 template<
class BasePhaseModel>
257 <<
"Cannot access the flux of a stationary phase"
264 template<
class BasePhaseModel>
269 <<
"Cannot calculate UgradU of a stationary phase"
276 template<
class BasePhaseModel>
281 <<
"Cannot calculate DUDt of a stationary phase"
288 template<
class BasePhaseModel>
293 <<
"Cannot access the continuityError of a stationary phase"
300 template<
class BasePhaseModel>
305 <<
"Cannot access the kinetic energy of a stationary phase"
312 template<
class BasePhaseModel>
317 <<
"Cannot access the dilatation rate of a stationary phase"
325 template<
class BasePhaseModel>
332 <<
"Cannot set the dilatation rate of a stationary phase"
337 template<
class BasePhaseModel>
350 template<
class BasePhaseModel>
355 <<
"Cannot access the pPrime of a stationary phase"
Generic GeometricField class.
static const GeometricField< Type, PatchField, GeoMesh > & null()
Return a null geometric field.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
static word groupName(Name name, const word &group)
virtual tmp< fvVectorMatrix > UEqn()
Return the momentum equation.
virtual tmp< volScalarField > k() const
Return the turbulent kinetic energy.
virtual tmp< fvVectorMatrix > DUDt() const
Return the substantive acceleration matrix.
virtual tmp< volVectorField > U() const
Return the velocity.
virtual surfaceScalarField & alphaRhoPhiRef()
Access the mass flux of the phase.
virtual const autoPtr< volScalarField > & divU() const
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
virtual surfaceScalarField & phiRef()
Access the volumetric flux.
virtual tmp< surfaceScalarField > alphaPhi() const
Return the volumetric flux of the phase.
virtual tmp< volScalarField > K() const
Return the phase kinetic energy.
virtual tmp< surfaceScalarField > pPrimef() const
Return the face-phase-pressure'.
virtual const autoPtr< surfaceVectorField > & Uf() const
Return the face velocity.
virtual surfaceVectorField & UfRef()
Access the face velocity.
virtual ~StationaryPhaseModel()
Destructor.
StationaryPhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
virtual surfaceScalarField & alphaPhiRef()
Access the volumetric flux of the phase.
virtual tmp< surfaceScalarField > alphaRhoPhi() const
Return the mass flux of the phase.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux.
virtual tmp< fvVectorMatrix > UfEqn()
Return the momentum equation for the face-based algorithm.
virtual volVectorField & URef()
Access the velocity.
virtual bool stationary() const
Return whether the phase is stationary.
virtual tmp< fvVectorMatrix > UgradU() const
Return the velocity transport matrix.
virtual tmp< volScalarField > continuityError() const
Return the continuity error.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Class to represent a system of phases and model interfacial transfers between them.
A class for managing temporary objects.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
word name(const bool)
Return a word representation of a bool.
errorManip< error > abort(error &err)
const dimensionSet dimVelocity
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.