44 #ifndef StationaryPhaseModel_H 45 #define StationaryPhaseModel_H 47 #include "phaseModel.H" 58 template<
class BasePhaseModel>
68 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
73 const bool cache =
false 82 const bool cache =
false 91 const bool cache =
false 102 const word& phaseName,
virtual tmp< volScalarField > k() const
Return the turbulent kinetic energy.
virtual tmp< fvVectorMatrix > UfEqn()
Return the momentum equation for the face-based algorithm.
virtual tmp< volScalarField > divU() const
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
virtual tmp< volScalarField > continuityError() const
Return the continuity error.
virtual volVectorField & URef()
Access the velocity.
virtual surfaceScalarField & alphaRhoPhiRef()
Access the mass flux of the phase.
virtual tmp< volScalarField > K() const
Return the phase kinetic energy.
virtual tmp< volVectorField > DUDt() const
Return the substantive acceleration.
virtual tmp< volScalarField > continuityErrorSources() const
Return the continuity error due to any sources.
virtual tmp< fvVectorMatrix > UEqn()
Return the momentum equation.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
virtual tmp< surfaceScalarField > alphaRhoPhi() const
Return the mass flux of the phase.
Class which represents a stationary (and therefore probably solid) phase. Generates, but does not store, zero velocity and flux field and turbulent qauantities. Throws an error when non-const access is requested to the motion fields or when the momentum equation is requested. Usage must must protect against such calls.
virtual tmp< volScalarField > continuityErrorFlow() const
Return the continuity error due to the flow field.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
virtual surfaceScalarField & alphaPhiRef()
Access the volumetric flux of the phase.
Class to represent a system of phases and model interfacial transfers between them.
A class representing the concept of a field of 0 used to avoid unnecessary manipulations for objects ...
virtual surfaceScalarField & phiRef()
Access the volumetric flux.
virtual bool stationary() const
Return whether the phase is stationary.
A class for handling words, derived from Foam::string.
virtual tmp< volScalarField > nuEff() const
Return the effective kinematic viscosity.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
virtual tmp< surfaceScalarField > DUDtf() const
Return the substantive acceleration on the faces.
virtual ~StationaryPhaseModel()
Destructor.
virtual tmp< volVectorField > U() const
Return the velocity.
virtual tmp< volScalarField > nut() const
Return the turbulent kinematic viscosity.
virtual tmp< volScalarField > kappaEff() const
Return the effective thermal conductivity.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux.
virtual tmp< volScalarField > mut() const
Return the turbulent dynamic viscosity.
virtual tmp< surfaceScalarField > alphaPhi() const
Return the volumetric flux of the phase.
volScalarField alphaEff("alphaEff", turbulence->nu()/Pr+alphat)
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
A class for managing temporary objects.
virtual tmp< volScalarField > alphaEff() const
Return the effective thermal diffusivity.
StationaryPhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)