Class which represents a moving fluid phase. Holds the velocity, fluxes and turbulence model. Provides access to the turbulent quantities. 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 | correctTurbulence () |
Correct the turbulence. More... | |
virtual void | correctEnergyTransport () |
Correct the energy transport e.g. alphat. More... | |
virtual tmp< fvVectorMatrix > | UEqn () |
Return the momentum equation. More... | |
virtual const surfaceScalarField & | DbyA () const |
Return the phase diffusivity divided by the momentum coefficient. More... | |
virtual void | DbyA (const tmp< surfaceScalarField > &DbyA) |
Set the phase diffusivity divided by the momentum coefficient. More... | |
virtual tmp< volVectorField > | U () const |
Constant access the velocity. More... | |
virtual volVectorField & | U () |
Access the velocity. More... | |
virtual tmp< volVectorField > | DUDt () const |
Return the substantive acceleration. More... | |
virtual const tmp< volScalarField > & | divU () const |
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi)) More... | |
virtual void | divU (const tmp< volScalarField > &divU) |
Set the phase dilatation rate (d(alpha)/dt + div(alpha*phi)) More... | |
virtual tmp< volScalarField > | continuityError () const |
Constant access the continuity error. More... | |
virtual tmp< surfaceScalarField > | phi () const |
Constant access the volumetric flux. More... | |
virtual surfaceScalarField & | phi () |
Access the volumetric flux. More... | |
virtual tmp< surfaceScalarField > | alphaPhi () const |
Constant access the volumetric flux of the phase. More... | |
virtual surfaceScalarField & | alphaPhi () |
Access the volumetric flux of the phase. More... | |
virtual tmp< surfaceScalarField > | alphaRhoPhi () const |
Constant access the mass flux of the phase. More... | |
virtual surfaceScalarField & | alphaRhoPhi () |
Access the mass flux of the phase. More... | |
virtual const phaseCompressibleTurbulenceModel & | turbulence () const |
Return the turbulence model. More... | |
Class which represents a moving fluid phase. Holds the velocity, fluxes and turbulence model. Provides access to the turbulent quantities.
Possible future extensions include separating the turbulent fuctionality into another layer. It should also be possible to replace this layer with a stationary phase model, in order to model packed beds or simple porous media. This would probably require extra functionality, such as returning the inputs into the general pressure equation (A, HbyA, etc ...).
Note that this class does not return the turbulence model, it just provides indirect access to the turbulent data. This is so a layer without turbulence modelling (such as a stationary model) could be substituted.
Definition at line 61 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 turbulence.
|
virtual |
Correct the energy transport e.g. alphat.
|
virtual |
Return the momentum equation.
|
virtual |
Return the phase diffusivity divided by the momentum coefficient.
|
virtual |
Set the phase diffusivity divided by the momentum coefficient.
|
virtual |
Constant access the velocity.
|
virtual |
Access the velocity.
|
virtual |
Return the substantive acceleration.
|
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 |
Constant access the continuity error.
|
virtual |
Constant access the volumetric flux.
|
virtual |
Access the volumetric flux.
|
virtual |
Constant access the volumetric flux of the phase.
|
virtual |
Access the volumetric flux of the phase.
|
virtual |
Constant access the mass flux of the phase.
|
virtual |
Access the mass flux of the phase.
|
virtual |
Return the turbulence model.