44 #ifndef MovingPhaseModel_H 45 #define MovingPhaseModel_H 47 #include "phaseModel.H" 60 template<
class BasePhaseModel>
99 typename BasePhaseModel::thermoModel
125 const word& phaseName,
126 const bool referencePhase,
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.
PhaseCompressibleMomentumTransportModel< phaseModel > phaseCompressibleMomentumTransportModel
Typedef for phaseCompressibleMomentumTransportModel.
virtual surfaceScalarField & alphaRhoPhiRef()
Access the mass flux of the phase.
volVectorField U_
Velocity field.
autoPtr< phaseCompressibleMomentumTransportModel > turbulence_
Turbulence model.
virtual bool stationary() const
Return whether the phase is stationary.
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 tmp< fvScalarMatrix > divj(volScalarField &Yi) const
Return the source term for the given specie mass-fraction.
virtual void correctTurbulence()
Correct the turbulence.
Templated base class for multiphase thermophysical transport models.
volScalarField continuityError_
Continuity error.
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 ...
MovingPhaseModel(const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index)
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.
surfaceScalarField phi_
Flux.
tmp< surfaceScalarField > DUDtf_
Lagrangian acceleration field on the faces (needed for virtual-mass)
tmp< volScalarField > K_
Kinetic Energy.
virtual volVectorField & URef()
Access the velocity.
virtual tmp< volScalarField > pPrime() const
Return the phase-pressure'.
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< fvScalarMatrix > divq(volScalarField &he) const
Return the source term for the energy equation.
autoPtr< PhaseThermophysicalTransportModel< phaseCompressibleMomentumTransportModel, typename BasePhaseModel::thermoModel > > thermophysicalTransport_
Thermophysical transport model.
virtual tmp< volScalarField > K() const
Return the phase kinetic energy.
virtual void correctContinuityError(const volScalarField &source)
Correct the continuity error.
virtual surfaceScalarField & alphaPhiRef()
Access the volumetric flux of the phase.
virtual tmp< fvVectorMatrix > UEqn()
Return the momentum equation.
virtual tmp< scalarField > kappaEff(const label patchi) const
Return the effective thermal conductivity on a patch.
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.