44 #ifndef MovingPhaseModel_H 45 #define MovingPhaseModel_H 47 #include "phaseModel.H" 59 template<
class BasePhaseModel>
110 void correctContinuityErrors();
120 const word& phaseName,
226 using BasePhaseModel::kappaEff;
235 using BasePhaseModel::alphaEff;
autoPtr< phaseCompressibleTurbulenceModel > turbulence_
Turbulence model.
virtual tmp< volScalarField > divU() const
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual surfaceScalarField & alphaRhoPhiRef()
Access the mass flux of the phase.
volVectorField U_
Velocity field.
virtual tmp< volScalarField > alphaEff() const
Return the effective thermal diffusivity.
virtual bool stationary() const
Return whether the phase is stationary.
MovingPhaseModel(const phaseSystem &fluid, const word &phaseName, const label index)
virtual tmp< volScalarField > mut() const
Return the turbulent dynamic viscosity.
volScalarField continuityErrorFlow_
Continuity error due to the flow.
virtual tmp< volVectorField > DUDt() const
Return the substantive acceleration.
virtual tmp< surfaceScalarField > alphaPhi() const
Return the volumetric flux of the phase.
tmp< volVectorField > DUDt_
Lagrangian acceleration field (needed for virtual-mass)
virtual void correctTurbulence()
Correct the turbulence.
virtual tmp< volScalarField > k() const
Return the turbulent kinetic energy.
Class which represents a moving fluid phase. Holds the velocity, fluxes and turbulence model and can ...
virtual void correctThermo()
Correct the thermodynamics.
Class to represent a system of phases and model interfacial transfers between them.
virtual tmp< surfaceScalarField > alphaRhoPhi() const
Return the mass flux of the phase.
virtual tmp< fvVectorMatrix > UfEqn()
Return the momentum equation for the face-based algorithm.
virtual ~MovingPhaseModel()
Destructor.
A class for handling words, derived from string.
tmp< volScalarField > divU_
Dilatation rate.
virtual surfaceScalarField & phiRef()
Access the volumetric flux.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
surfaceScalarField phi_
Flux.
tmp< surfaceScalarField > DUDtf_
Lagrangian acceleration field on the faces (needed for virtual-mass)
virtual tmp< volScalarField > continuityErrorSources() const
Return the continuity error due to any sources.
virtual tmp< volScalarField > continuityErrorFlow() const
Return the continuity error due to the flow field.
tmp< volScalarField > K_
Kinetic Energy.
virtual volVectorField & URef()
Access the velocity.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
virtual tmp< volScalarField > nut() const
Return the turbulent kinematic viscosity.
virtual tmp< volScalarField > kappaEff() const
Return the effective thermal conductivity.
virtual tmp< volScalarField > nuEff() const
Return the effective kinematic viscosity.
virtual void correct()
Correct the phase properties other than the thermo and turbulence.
virtual tmp< volVectorField > U() const
Return the velocity.
virtual void correctEnergyTransport()
Correct the energy transport e.g. alphat.
surfaceScalarField alphaPhi_
Volumetric flux.
virtual tmp< volScalarField > continuityError() const
Return the continuity error.
virtual tmp< volScalarField > K() const
Return the phase kinetic energy.
virtual surfaceScalarField & alphaPhiRef()
Access the volumetric flux of the phase.
virtual tmp< fvVectorMatrix > UEqn()
Return the momentum equation.
virtual void correctKinematics()
Correct the kinematics.
virtual tmp< surfaceScalarField > phi() const
Return the volumetric flux.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
surfaceScalarField alphaRhoPhi_
Mass flux.
virtual tmp< surfaceScalarField > DUDtf() const
Return the substantive acceleration on the faces.
volScalarField continuityErrorSources_
Continuity error due to any sources.