32template<
class BasePhaseModel>
33template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
48 IOobject::groupName(
name, this->name()),
59template<
class BasePhaseModel>
73template<
class BasePhaseModel>
89template<
class BasePhaseModel>
93 const word& phaseName,
97 BasePhaseModel(
fluid, phaseName, index)
103template<
class BasePhaseModel>
110template<
class BasePhaseModel>
117template<
class BasePhaseModel>
122 <<
"Cannot construct a momentum equation for a stationary phase"
129template<
class BasePhaseModel>
134 <<
"Cannot construct a momentum equation for a stationary phase"
141template<
class BasePhaseModel>
145 return zeroVolField<vector>(
"U",
dimVelocity,
true);
149template<
class BasePhaseModel>
154 <<
"Cannot access the velocity of a stationary phase"
161template<
class BasePhaseModel>
169template<
class BasePhaseModel>
174 <<
"Cannot access the flux of a stationary phase"
181template<
class BasePhaseModel>
189template<
class BasePhaseModel>
194 <<
"Cannot access the volumetric flux of a stationary phase"
201template<
class BasePhaseModel>
209template<
class BasePhaseModel>
214 <<
"Cannot access the mass flux of a stationary phase"
221template<
class BasePhaseModel>
229template<
class BasePhaseModel>
237template<
class BasePhaseModel>
245template<
class BasePhaseModel>
253template<
class BasePhaseModel>
261template<
class BasePhaseModel>
269template<
class BasePhaseModel>
277template<
class BasePhaseModel>
284 <<
"Cannot set the dilatation rate of a stationary phase"
289template<
class BasePhaseModel>
297template<
class BasePhaseModel>
301 return this->
thermo().mu();
305template<
class BasePhaseModel>
309 return zeroVolField<scalar>(
"continuityError",
dimViscosity);
313template<
class BasePhaseModel>
317 return this->
thermo().nu();
321template<
class BasePhaseModel>
325 return this->
thermo().kappa();
329template<
class BasePhaseModel>
333 return this->
thermo().kappa(patchi);
337template<
class BasePhaseModel>
341 return this->
thermo().alpha();
345template<
class BasePhaseModel>
349 return this->
thermo().alpha(patchi);
353template<
class BasePhaseModel>
361template<
class BasePhaseModel>
365 return zeroVolField<scalar>(
"pPrime",
dimPressure);
Generic GeometricField class.
static const GeometricField< vector, fvPatchField, volMesh > & null()
Return a null geometric field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Class which represents a stationary (and therefore probably solid) phase. Generates,...
virtual tmp< volScalarField > continuityErrorSources() const
Return the continuity error due to any sources.
virtual tmp< fvVectorMatrix > UEqn()
Return the momentum equation.
virtual tmp< surfaceScalarField > DUDtf() const
Return the substantive acceleration on the faces.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
virtual tmp< volScalarField > k() const
Return the turbulent kinetic energy.
virtual tmp< volVectorField > U() const
Return the velocity.
virtual tmp< volScalarField > mut() const
Return the turbulent dynamic viscosity.
virtual surfaceScalarField & alphaRhoPhiRef()
Access the mass flux of the phase.
virtual surfaceScalarField & phiRef()
Access the volumetric flux.
virtual tmp< volScalarField > alphaEff() const
Return the effective thermal diffusivity.
virtual tmp< surfaceScalarField > alphaPhi() const
Return the volumetric flux of the phase.
virtual tmp< volScalarField > K() const
Return the phase kinetic energy.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
virtual tmp< volScalarField > continuityErrorFlow() const
Return the continuity error due to the flow field.
virtual tmp< volScalarField > nuEff() const
Return the effective kinematic viscosity.
virtual ~StationaryPhaseModel()
Destructor.
virtual tmp< volScalarField > divU() const
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
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 tmp< volScalarField > nut() const
Return the turbulent kinematic viscosity.
virtual volVectorField & URef()
Access the velocity.
virtual tmp< volVectorField > DUDt() const
Return the substantive acceleration.
virtual tmp< volScalarField > kappaEff() const
Return the effective thermal conductivity.
virtual bool stationary() const
Return whether the phase is stationary.
virtual tmp< volScalarField > continuityError() const
Return the continuity error.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Generic dimensioned Type class.
Class to represent a system of phases and model interfacial transfers between them.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
A class representing the concept of a field of 0 used to avoid unnecessary manipulations for objects ...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionSet dimPressure
const dimensionSet dimViscosity
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet dimVelocity
const dimensionSet dimDynamicViscosity
const dimensionSet dimVolume(pow3(dimLength))
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
const dimensionSet dimDensity
errorManipArg< error, int > exit(error &err, const int errNo=1)
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)