Class which represents a moving fluid phase. Holds the velocity, fluxes and turbulence model and can generate the momentum equation. The interface is quite restrictive as it also has to support an equivalent stationary model, which does not store motion fields or a turbulence model. More...
Public Member Functions | |
MovingPhaseModel (const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index) | |
virtual | ~MovingPhaseModel () |
Destructor. More... | |
virtual void | correct () |
Correct the phase properties other than the thermo and turbulence. More... | |
virtual void | correctContinuityError (const volScalarField &source) |
Correct the continuity error. More... | |
virtual void | correctKinematics () |
Correct the kinematics. More... | |
virtual void | correctTurbulence () |
Correct the turbulence. More... | |
virtual void | correctEnergyTransport () |
Correct the energy transport e.g. alphat. More... | |
virtual bool | stationary () const |
Return whether the phase is stationary. More... | |
virtual tmp< fvVectorMatrix > | UEqn () |
Return the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | UfEqn () |
Return the momentum equation for the face-based algorithm. More... | |
virtual tmp< volVectorField > | U () const |
Return the velocity. More... | |
virtual volVectorField & | URef () |
Access the velocity. More... | |
virtual tmp< surfaceScalarField > | phi () const |
Return the volumetric flux. More... | |
virtual surfaceScalarField & | phiRef () |
Access the volumetric flux. More... | |
virtual tmp< surfaceScalarField > | alphaPhi () const |
Return the volumetric flux of the phase. More... | |
virtual surfaceScalarField & | alphaPhiRef () |
Access the volumetric flux of the phase. More... | |
virtual tmp< surfaceScalarField > | alphaRhoPhi () const |
Return the mass flux of the phase. More... | |
virtual surfaceScalarField & | alphaRhoPhiRef () |
Access the mass flux of the phase. More... | |
virtual tmp< volVectorField > | DUDt () const |
Return the substantive acceleration. More... | |
virtual tmp< surfaceScalarField > | DUDtf () const |
Return the substantive acceleration on the faces. More... | |
virtual tmp< volScalarField > | continuityError () const |
Return the continuity error. More... | |
virtual tmp< volScalarField > | K () const |
Return the phase kinetic energy. More... | |
virtual tmp< volScalarField > | divU () const |
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi)) More... | |
virtual void | divU (tmp< volScalarField > divU) |
Set the phase dilatation rate (d(alpha)/dt + div(alpha*phi)) More... | |
virtual tmp< scalarField > | kappaEff (const label patchi) const |
Return the effective thermal conductivity on a patch. More... | |
virtual tmp< volScalarField > | k () const |
Return the turbulent kinetic energy. More... | |
virtual tmp< volScalarField > | pPrime () const |
Return the phase-pressure'. More... | |
virtual tmp< fvScalarMatrix > | divq (volScalarField &he) const |
Return the source term for the energy equation. More... | |
virtual tmp< fvScalarMatrix > | divj (volScalarField &Yi) const |
Return the source term for the given specie mass-fraction. More... | |
Protected Attributes | |
volVectorField | U_ |
Velocity field. More... | |
surfaceScalarField | phi_ |
Flux. More... | |
surfaceScalarField | alphaPhi_ |
Volumetric flux. More... | |
surfaceScalarField | alphaRhoPhi_ |
Mass flux. More... | |
tmp< volVectorField > | DUDt_ |
Lagrangian acceleration field (needed for virtual-mass) More... | |
tmp< surfaceScalarField > | DUDtf_ |
Lagrangian acceleration field on the faces (needed for virtual-mass) More... | |
tmp< volScalarField > | divU_ |
Dilatation rate. More... | |
autoPtr< phaseCompressibleMomentumTransportModel > | turbulence_ |
Turbulence model. More... | |
autoPtr< PhaseThermophysicalTransportModel< phaseCompressibleMomentumTransportModel, typename BasePhaseModel::thermoModel > > | thermophysicalTransport_ |
Thermophysical transport model. More... | |
volScalarField | continuityError_ |
Continuity error. More... | |
tmp< volScalarField > | K_ |
Kinetic Energy. More... | |
Class which represents a moving fluid phase. Holds the velocity, fluxes and turbulence model and can generate the momentum equation. The interface is quite restrictive as it also has to support an equivalent stationary model, which does not store motion fields or a turbulence model.
Possible future extensions include separating the turbulent functionality into another layer.
Definition at line 60 of file MovingPhaseModel.H.
MovingPhaseModel | ( | const phaseSystem & | fluid, |
const word & | phaseName, | ||
const bool | referencePhase, | ||
const label | index | ||
) |
|
virtual |
Destructor.
|
virtual |
Correct the phase properties other than the thermo and turbulence.
|
virtual |
Correct the continuity error.
|
virtual |
Correct the kinematics.
|
virtual |
Correct the turbulence.
|
virtual |
Correct the energy transport e.g. alphat.
|
virtual |
Return whether the phase is stationary.
|
virtual |
Return the momentum equation.
|
virtual |
Return the momentum equation for the face-based algorithm.
|
virtual |
Return the velocity.
|
virtual |
Access the velocity.
|
virtual |
Return the volumetric flux.
|
virtual |
Access the volumetric flux.
|
virtual |
Return the volumetric flux of the phase.
|
virtual |
Access the volumetric flux of the phase.
|
virtual |
Return the mass flux of the phase.
|
virtual |
Access the mass flux of the phase.
|
virtual |
Return the substantive acceleration.
|
virtual |
Return the substantive acceleration on the faces.
|
virtual |
Return the continuity error.
|
virtual |
Return the phase kinetic energy.
|
virtual |
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
|
virtual |
Set the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
|
virtual |
Return the effective thermal conductivity on a patch.
|
virtual |
Return the turbulent kinetic energy.
|
virtual |
Return the phase-pressure'.
(derivative of phase-pressure w.r.t. phase-fraction)
|
virtual |
Return the source term for the energy equation.
|
virtual |
Return the source term for the given specie mass-fraction.
equation
|
protected |
Velocity field.
Definition at line 69 of file MovingPhaseModel.H.
|
protected |
Flux.
Definition at line 72 of file MovingPhaseModel.H.
|
protected |
Volumetric flux.
Definition at line 75 of file MovingPhaseModel.H.
|
protected |
Mass flux.
Definition at line 78 of file MovingPhaseModel.H.
|
mutableprotected |
Lagrangian acceleration field (needed for virtual-mass)
Definition at line 81 of file MovingPhaseModel.H.
|
mutableprotected |
Lagrangian acceleration field on the faces (needed for virtual-mass)
Definition at line 84 of file MovingPhaseModel.H.
|
protected |
Dilatation rate.
Definition at line 87 of file MovingPhaseModel.H.
|
protected |
Turbulence model.
Definition at line 90 of file MovingPhaseModel.H.
|
protected |
Thermophysical transport model.
Definition at line 100 of file MovingPhaseModel.H.
|
protected |
Continuity error.
Definition at line 103 of file MovingPhaseModel.H.
|
mutableprotected |
Kinetic Energy.
Definition at line 106 of file MovingPhaseModel.H.