Class which represents a stationary (and therefore probably solid) phase. Generates, but does not store, zero velocity and flux field and turbulent quantities. Throws an error when non-const access is requested to the motion fields or when the momentum equation is requested. Usage must must protect against such calls. More...
Public Member Functions | |
StationaryPhaseModel (const phaseSystem &fluid, const word &phaseName, const bool referencePhase, const label index) | |
virtual | ~StationaryPhaseModel () |
Destructor. 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 const volVectorField & | URef () const |
Access the velocity. More... | |
virtual tmp< surfaceScalarField > | phi () const |
Return the volumetric flux. More... | |
virtual surfaceScalarField & | phiRef () |
Access the volumetric flux. More... | |
virtual const surfaceScalarField & | phiRef () const |
Access the volumetric flux. More... | |
virtual const autoPtr< surfaceVectorField > & | Uf () const |
Return the face velocity. More... | |
virtual surfaceVectorField & | UfRef () |
Access the face velocity. More... | |
virtual const surfaceVectorField & | UfRef () const |
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 const surfaceScalarField & | alphaPhiRef () const |
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 const surfaceScalarField & | alphaRhoPhiRef () const |
Access the mass flux of the phase. More... | |
virtual tmp< fvVectorMatrix > | UgradU () const |
Return the velocity transport matrix. More... | |
virtual tmp< fvVectorMatrix > | DUDt () const |
Return the substantive acceleration matrix. More... | |
virtual tmp< volScalarField > | continuityError () const |
Return the continuity error. More... | |
virtual tmp< volScalarField > | K () const |
Return the phase kinetic energy. More... | |
virtual const autoPtr< 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< surfaceScalarField > | pPrimef () const |
Return the face-phase-pressure'. More... | |
Class which represents a stationary (and therefore probably solid) phase. Generates, but does not store, zero velocity and flux field and turbulent quantities. Throws an error when non-const access is requested to the motion fields or when the momentum equation is requested. Usage must must protect against such calls.
Definition at line 56 of file StationaryPhaseModel.H.
StationaryPhaseModel | ( | const phaseSystem & | fluid, |
const word & | phaseName, | ||
const bool | referencePhase, | ||
const label | index | ||
) |
Definition at line 31 of file StationaryPhaseModel.C.
|
virtual |
Destructor.
Definition at line 46 of file StationaryPhaseModel.C.
|
virtual |
Return whether the phase is stationary.
Definition at line 53 of file StationaryPhaseModel.C.
|
virtual |
Return the momentum equation.
Definition at line 61 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Return the momentum equation for the face-based algorithm.
Definition at line 73 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Return the velocity.
Definition at line 85 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Access the velocity.
Definition at line 97 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Access the velocity.
Definition at line 109 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Return the volumetric flux.
Definition at line 121 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Access the volumetric flux.
Definition at line 133 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Access the volumetric flux.
Definition at line 145 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Return the face velocity.
Required for moving mesh cases
Definition at line 157 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Access the face velocity.
Required for moving mesh cases
Definition at line 170 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Access the face velocity.
Required for moving mesh cases
Definition at line 182 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Return the volumetric flux of the phase.
Definition at line 194 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Access the volumetric flux of the phase.
Definition at line 206 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Access the volumetric flux of the phase.
Definition at line 218 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Return the mass flux of the phase.
Definition at line 230 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Access the mass flux of the phase.
Definition at line 242 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Access the mass flux of the phase.
Definition at line 254 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Return the velocity transport matrix.
Definition at line 266 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Return the substantive acceleration matrix.
Definition at line 278 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Return the continuity error.
Definition at line 290 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Return the phase kinetic energy.
Definition at line 302 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().
|
virtual |
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
Definition at line 314 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Set the phase dilatation rate (d(alpha)/dt + div(alpha*phi))
Definition at line 326 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Return the turbulent kinetic energy.
Definition at line 339 of file StationaryPhaseModel.C.
References Foam::dimVelocity, IOobject::groupName(), Foam::name(), GeometricField< Type, PatchField, GeoMesh >::New(), and Foam::sqr().
|
virtual |
Return the face-phase-pressure'.
(derivative of phase-pressure w.r.t. phase-fraction)
Definition at line 352 of file StationaryPhaseModel.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and GeometricField< Type, PatchField, GeoMesh >::null().