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 void | correctUf () |
Correct the face velocity for moving meshes. 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< surfaceVectorField > | Uf () const |
Return the face velocity. More... | |
virtual surfaceVectorField & | UfRef () |
Access the face velocity. 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< volScalarField > | k () const |
Return the turbulent kinetic energy. More... | |
virtual tmp< volScalarField > | pPrime () const |
Return the phase-pressure'. More... | |
virtual tmp< scalarField > | kappaEff (const label patchi) const |
Return the effective thermal conductivity on a patch. 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 Types | |
typedef MovingPhaseModelTransportThermoModel< typename BasePhaseModel::thermoModel >::type | transportThermoModel |
Thermo type for the thermophysical transport model. More... | |
Protected Attributes | |
volVectorField | U_ |
Velocity field. More... | |
surfaceScalarField | phi_ |
Flux. More... | |
surfaceScalarField | alphaPhi_ |
Volumetric flux. More... | |
surfaceScalarField | alphaRhoPhi_ |
Mass flux. More... | |
tmp< surfaceVectorField > | Uf_ |
Face velocity field. 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< phaseCompressible::momentumTransportModel > | turbulence_ |
Turbulence model. More... | |
autoPtr< PhaseThermophysicalTransportModel< phaseCompressible::momentumTransportModel, transportThermoModel > > | 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 79 of file MovingPhaseModel.H.
|
protected |
Thermo type for the thermophysical transport model.
Definition at line 93 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 |
Correct the face velocity for moving meshes.
|
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 face velocity.
Required for moving mesh cases
|
virtual |
Access the face velocity.
Required for moving mesh cases
|
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 turbulent kinetic energy.
|
virtual |
Return the phase-pressure'.
(derivative of phase-pressure w.r.t. phase-fraction)
|
virtual |
Return the effective thermal conductivity on a patch.
|
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 99 of file MovingPhaseModel.H.
|
protected |
Flux.
Definition at line 102 of file MovingPhaseModel.H.
|
protected |
Volumetric flux.
Definition at line 105 of file MovingPhaseModel.H.
|
protected |
Mass flux.
Definition at line 108 of file MovingPhaseModel.H.
|
protected |
Face velocity field.
Definition at line 111 of file MovingPhaseModel.H.
|
mutableprotected |
Lagrangian acceleration field (needed for virtual-mass)
Definition at line 114 of file MovingPhaseModel.H.
|
mutableprotected |
Lagrangian acceleration field on the faces (needed for virtual-mass)
Definition at line 117 of file MovingPhaseModel.H.
|
protected |
Dilatation rate.
Definition at line 120 of file MovingPhaseModel.H.
|
protected |
Turbulence model.
Definition at line 123 of file MovingPhaseModel.H.
|
protected |
Thermophysical transport model.
Definition at line 133 of file MovingPhaseModel.H.
|
protected |
Continuity error.
Definition at line 136 of file MovingPhaseModel.H.
|
mutableprotected |
Kinetic Energy.
Definition at line 139 of file MovingPhaseModel.H.