47 #ifndef MovingPhaseModel_H 48 #define MovingPhaseModel_H 50 #include "phaseModel.H" 51 #include "phaseCompressibleTurbulenceModel.H" 62 template<
class BasePhaseModel>
63 class MovingPhaseModel
121 const word& phaseName,
257 #include "MovingPhaseModel.C" virtual tmp< volVectorField > U() const
Access const reference to U.
autoPtr< phaseCompressibleTurbulenceModel > turbulence_
Turbulence model.
virtual tmp< fvVectorMatrix > UEqn()
Return the momentum equation.
virtual ~MovingPhaseModel()=default
Destructor.
virtual tmp< volScalarField > mut() const
Return the turbulent dynamic viscosity.
virtual tmp< surfaceScalarField > DUDtf() const
Return the substantive acceleration on the faces.
virtual tmp< fvVectorMatrix > UfEqn()
Return the momentum equation for the face-based algorithm.
virtual tmp< volScalarField > nuEff() const
Return the effective kinematic viscosity.
MovingPhaseModel(const multiphaseInterSystem &fluid, const word &phaseName)
virtual void correctKinematics()
Correct the kinematics.
virtual void correct()
Correct the phase properties other than the thermo and turbulence.
volScalarField continuityErrorFlow_
Continuity error due to the flow.
virtual surfaceScalarField & alphaPhiRef()
Access the volumetric flux of the phase.
tmp< volVectorField > DUDt_
Lagrangian acceleration field (needed for virtual-mass)
virtual tmp< volScalarField > continuityErrorFlow() const
Return the continuity error due to the flow field.
virtual tmp< volScalarField > K() const
Return the phase kinetic energy.
virtual tmp< volVectorField > DUDt() const
Return the substantive acceleration.
virtual tmp< surfaceScalarField > alphaRhoPhi() const
Return the mass flux of the phase.
virtual volVectorField & URef()
Access the velocity.
Class to represent a system of phases and model interfacial transfers between them.
A class for handling words, derived from Foam::string.
tmp< volScalarField > divU_
Dilatation rate.
virtual surfaceScalarField & phiRef()
Access the volumetric flux.
tmp< surfaceScalarField > DUDtf_
Lagrangian acceleration field on the faces (needed for virtual-mass)
virtual tmp< volScalarField > kappaEff() const
Return the effective thermal conductivity.
tmp< volScalarField > K_
Kinetic Energy.
virtual tmp< volScalarField > divU() const
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
virtual tmp< volScalarField > k() const
Return the turbulent kinetic energy.
virtual tmp< volScalarField > muEff() const
Return the effective dynamic viscosity.
virtual tmp< volScalarField > alphaEff() const
Return the effective thermal diffusivity.
virtual tmp< volScalarField > continuityError() const
Return the continuity error.
virtual void correctEnergyTransport()
Correct the energy transport e.g. alphat.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
volScalarField alphaEff("alphaEff", turbulence->nu()/Pr+alphat)
A class for managing temporary objects.
surfaceScalarField alphaRhoPhi_
Mass flux.
virtual void correctTurbulence()
Correct the turbulence.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
virtual tmp< volScalarField > continuityErrorSources() const
Return the continuity error due to any sources.
virtual surfaceScalarField & alphaRhoPhiRef()
Access the mass flux of the phase.
virtual bool stationary() const
Return whether the phase is stationary.
volScalarField continuityErrorSources_
Continuity error due to any sources.
virtual tmp< volScalarField > nut() const
Return the turbulent kinematic viscosity.
virtual tmp< surfaceScalarField > phi() const
Constant access the volumetric flux.
virtual tmp< surfaceScalarField > alphaPhi() const
Constant access the volumetric flux of the phase.