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 label index) | |
virtual | ~MovingPhaseModel () |
Destructor. More... | |
virtual void | correct () |
Correct the phase properties other than the thermo and turbulence. More... | |
virtual void | correctKinematics () |
Correct the kinematics. More... | |
virtual void | correctThermo () |
Correct the thermodynamics. 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 > | continuityErrorFlow () const |
Return the continuity error due to the flow field. More... | |
virtual tmp< volScalarField > | continuityErrorSources () const |
Return the continuity error due to any sources. 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< volScalarField > | mut () const |
Return the turbulent dynamic viscosity. More... | |
virtual tmp< volScalarField > | muEff () const |
Return the effective dynamic viscosity. More... | |
virtual tmp< volScalarField > | nut () const |
Return the turbulent kinematic viscosity. More... | |
virtual tmp< volScalarField > | nuEff () const |
Return the effective kinematic viscosity. More... | |
virtual tmp< volScalarField > | kappaEff () const |
Return the effective thermal conductivity. More... | |
virtual tmp< scalarField > | kappaEff (const label patchi) const |
Return the effective thermal conductivity on a patch. More... | |
virtual tmp< volScalarField > | alphaEff () const |
Return the effective thermal diffusivity. More... | |
virtual tmp< scalarField > | alphaEff (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... | |
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< phaseCompressibleTurbulenceModel > | turbulence_ |
Turbulence model. More... | |
volScalarField | continuityErrorFlow_ |
Continuity error due to the flow. More... | |
volScalarField | continuityErrorSources_ |
Continuity error due to any sources. 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 fuctionality into another layer.
Definition at line 59 of file MovingPhaseModel.H.
MovingPhaseModel | ( | const phaseSystem & | fluid, |
const word & | phaseName, | ||
const label | index | ||
) |
|
virtual |
Destructor.
|
virtual |
Correct the phase properties other than the thermo and turbulence.
|
virtual |
Correct the kinematics.
|
virtual |
Correct the thermodynamics.
|
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 continuity error due to the flow field.
|
virtual |
Return the continuity error due to any sources.
|
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 turbulent dynamic viscosity.
|
virtual |
Return the effective dynamic viscosity.
|
virtual |
Return the turbulent kinematic viscosity.
|
virtual |
Return the effective kinematic viscosity.
|
virtual |
Return the effective thermal conductivity.
|
virtual |
Return the effective thermal conductivity on a patch.
|
virtual |
Return the effective thermal diffusivity.
|
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)
|
protected |
Velocity field.
Definition at line 68 of file MovingPhaseModel.H.
|
protected |
Flux.
Definition at line 71 of file MovingPhaseModel.H.
|
protected |
Volumetric flux.
Definition at line 74 of file MovingPhaseModel.H.
|
protected |
Mass flux.
Definition at line 77 of file MovingPhaseModel.H.
|
mutableprotected |
Lagrangian acceleration field (needed for virtual-mass)
Definition at line 80 of file MovingPhaseModel.H.
|
mutableprotected |
Lagrangian acceleration field on the faces (needed for virtual-mass)
Definition at line 83 of file MovingPhaseModel.H.
|
protected |
Dilatation rate.
Definition at line 86 of file MovingPhaseModel.H.
|
protected |
Turbulence model.
Definition at line 89 of file MovingPhaseModel.H.
|
protected |
Continuity error due to the flow.
Definition at line 92 of file MovingPhaseModel.H.
|
protected |
Continuity error due to any sources.
Definition at line 95 of file MovingPhaseModel.H.
|
mutableprotected |
Kinetic Energy.
Definition at line 98 of file MovingPhaseModel.H.