Class which represents a stationary (and therefore probably solid) phase. Generates, but does not store, zero velocity and flux field and turbulent qauantities. 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...
#include <StationaryPhaseModel.H>


Public Member Functions | |
| StationaryPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index) | |
| virtual | ~StationaryPhaseModel () |
| Destructor. | |
| virtual bool | stationary () const |
| Return whether the phase is stationary. | |
| virtual tmp< fvVectorMatrix > | UEqn () |
| Return the momentum equation. | |
| virtual tmp< fvVectorMatrix > | UfEqn () |
| Return the momentum equation for the face-based algorithm. | |
| virtual tmp< volVectorField > | U () const |
| Return the velocity. | |
| virtual volVectorField & | URef () |
| Access the velocity. | |
| virtual tmp< surfaceScalarField > | phi () const |
| Return the volumetric flux. | |
| virtual surfaceScalarField & | phiRef () |
| Access the volumetric flux. | |
| virtual tmp< surfaceScalarField > | alphaPhi () const |
| Return the volumetric flux of the phase. | |
| virtual surfaceScalarField & | alphaPhiRef () |
| Access the volumetric flux of the phase. | |
| virtual tmp< surfaceScalarField > | alphaRhoPhi () const |
| Return the mass flux of the phase. | |
| virtual surfaceScalarField & | alphaRhoPhiRef () |
| Access the mass flux of the phase. | |
| virtual tmp< volVectorField > | DUDt () const |
| Return the substantive acceleration. | |
| virtual tmp< surfaceScalarField > | DUDtf () const |
| Return the substantive acceleration on the faces. | |
| virtual tmp< volScalarField > | continuityError () const |
| Return the continuity error. | |
| virtual tmp< volScalarField > | continuityErrorFlow () const |
| Return the continuity error due to the flow field. | |
| virtual tmp< volScalarField > | continuityErrorSources () const |
| Return the continuity error due to any sources. | |
| virtual tmp< volScalarField > | K () const |
| Return the phase kinetic energy. | |
| virtual tmp< volScalarField > | divU () const |
| Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi)). | |
| virtual void | divU (tmp< volScalarField > divU) |
| Set the phase dilatation rate (d(alpha)/dt + div(alpha*phi)). | |
| virtual tmp< volScalarField > | mut () const |
| Return the turbulent dynamic viscosity. | |
| virtual tmp< volScalarField > | muEff () const |
| Return the effective dynamic viscosity. | |
| virtual tmp< volScalarField > | nut () const |
| Return the turbulent kinematic viscosity. | |
| virtual tmp< volScalarField > | nuEff () const |
| Return the effective kinematic viscosity. | |
| virtual tmp< volScalarField > | kappaEff () const |
| Return the effective thermal conductivity. | |
| virtual tmp< scalarField > | kappaEff (const label patchi) const |
| Return the effective thermal conductivity on a patch. | |
| virtual tmp< volScalarField > | alphaEff () const |
| Return the effective thermal diffusivity. | |
| virtual tmp< scalarField > | alphaEff (const label patchi) const |
| Return the effective thermal conductivity on a patch. | |
| virtual tmp< volScalarField > | k () const |
| Return the turbulent kinetic energy. | |
| virtual tmp< volScalarField > | pPrime () const |
| Return the phase-pressure'. | |
| template<class Type, template< class > class PatchField, class GeoMesh> | |
| Foam::tmp< Foam::GeometricField< Type, PatchField, GeoMesh > > | zeroField (const word &name, const dimensionSet &dims, const bool cache) const |
| template<class Type> | |
| Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > | zeroVolField (const word &name, const dimensionSet &dims, const bool cache) const |
| template<class Type> | |
| Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > | zeroSurfaceField (const word &name, const dimensionSet &dims, const bool cache) const |
Class which represents a stationary (and therefore probably solid) phase. Generates, but does not store, zero velocity and flux field and turbulent qauantities. 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 54 of file StationaryPhaseModel.H.
| StationaryPhaseModel | ( | const phaseSystem & | fluid, |
| const word & | phaseName, | ||
| const label | index ) |
Definition at line 83 of file StationaryPhaseModel.C.
References fluid.
|
virtual |
Destructor.
Definition at line 97 of file StationaryPhaseModel.C.
|
virtual |
Return whether the phase is stationary.
Definition at line 104 of file StationaryPhaseModel.C.
|
virtual |
Return the momentum equation.
Definition at line 112 of file StationaryPhaseModel.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Return the momentum equation for the face-based algorithm.
Definition at line 124 of file StationaryPhaseModel.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Return the velocity.
Definition at line 136 of file StationaryPhaseModel.C.
References Foam::dimVelocity.
|
virtual |
Access the velocity.
Definition at line 144 of file StationaryPhaseModel.C.
References GeometricField< Type, PatchField, GeoMesh >::constCast(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and GeometricField< vector, fvPatchField, volMesh >::null().

|
virtual |
Return the volumetric flux.
Definition at line 156 of file StationaryPhaseModel.C.
References Foam::dimTime, and Foam::dimVolume.
|
virtual |
Access the volumetric flux.
Definition at line 164 of file StationaryPhaseModel.C.
References GeometricField< Type, PatchField, GeoMesh >::constCast(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and GeometricField< scalar, fvsPatchField, surfaceMesh >::null().

|
virtual |
Return the volumetric flux of the phase.
Definition at line 176 of file StationaryPhaseModel.C.
References Foam::dimTime, and Foam::dimVolume.
|
virtual |
Access the volumetric flux of the phase.
Definition at line 184 of file StationaryPhaseModel.C.
References GeometricField< Type, PatchField, GeoMesh >::constCast(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and GeometricField< scalar, fvsPatchField, surfaceMesh >::null().

|
virtual |
Return the mass flux of the phase.
Definition at line 196 of file StationaryPhaseModel.C.
References Foam::dimMass, and Foam::dimTime.
|
virtual |
Access the mass flux of the phase.
Definition at line 204 of file StationaryPhaseModel.C.
References GeometricField< Type, PatchField, GeoMesh >::constCast(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and GeometricField< scalar, fvsPatchField, surfaceMesh >::null().

|
virtual |
Return the substantive acceleration.
Definition at line 216 of file StationaryPhaseModel.C.
References Foam::dimTime, and Foam::dimVelocity.
|
virtual |
Return the substantive acceleration on the faces.
Definition at line 224 of file StationaryPhaseModel.C.
References Foam::dimArea, Foam::dimTime, and Foam::dimVelocity.
|
virtual |
Return the continuity error.
Definition at line 232 of file StationaryPhaseModel.C.
References Foam::dimDensity, and Foam::dimTime.
|
virtual |
Return the continuity error due to the flow field.
Definition at line 240 of file StationaryPhaseModel.C.
References Foam::dimDensity, and Foam::dimTime.
|
virtual |
Return the continuity error due to any sources.
Definition at line 248 of file StationaryPhaseModel.C.
References Foam::dimDensity, and Foam::dimTime.
|
virtual |
Return the phase kinetic energy.
Definition at line 256 of file StationaryPhaseModel.C.
References Foam::dimVelocity, and Foam::sqr().

|
virtual |
Return the phase dilatation rate (d(alpha)/dt + div(alpha*phi)).
Definition at line 264 of file StationaryPhaseModel.C.
Referenced by divU().

|
virtual |
Set the phase dilatation rate (d(alpha)/dt + div(alpha*phi)).
Definition at line 271 of file StationaryPhaseModel.C.
References divU(), Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

|
virtual |
Return the turbulent dynamic viscosity.
Definition at line 284 of file StationaryPhaseModel.C.
References Foam::dimDynamicViscosity.
|
virtual |
Return the effective dynamic viscosity.
Definition at line 292 of file StationaryPhaseModel.C.
References psiThermo::mu(), and thermo.

|
virtual |
Return the turbulent kinematic viscosity.
Definition at line 300 of file StationaryPhaseModel.C.
References Foam::dimViscosity.
|
virtual |
Return the effective kinematic viscosity.
Definition at line 308 of file StationaryPhaseModel.C.
References fluidThermo::nu(), and thermo.

|
virtual |
Return the effective thermal conductivity.
Definition at line 316 of file StationaryPhaseModel.C.
References basicThermo::kappa(), and thermo.

|
virtual |
Return the effective thermal conductivity on a patch.
Definition at line 324 of file StationaryPhaseModel.C.
References basicThermo::kappa(), and thermo.

|
virtual |
Return the effective thermal diffusivity.
Definition at line 332 of file StationaryPhaseModel.C.
References basicThermo::alpha(), and thermo.

|
virtual |
Return the effective thermal conductivity on a patch.
Definition at line 340 of file StationaryPhaseModel.C.
References basicThermo::alpha(), and thermo.

|
virtual |
Return the turbulent kinetic energy.
Definition at line 348 of file StationaryPhaseModel.C.
References Foam::dimVelocity, and Foam::sqr().

|
virtual |
Return the phase-pressure'.
(derivative of phase-pressure w.r.t. phase-fraction)
Definition at line 356 of file StationaryPhaseModel.C.
References Foam::dimPressure.
| Foam::tmp< Foam::GeometricField< Type, PatchField, GeoMesh > > zeroField | ( | const word & | name, |
| const dimensionSet & | dims, | ||
| const bool | cache ) const |
Definition at line 28 of file StationaryPhaseModel.C.
References IOobject::groupName(), mesh, Foam::name(), name, timeName, and Foam::Zero.

| Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > zeroVolField | ( | const word & | name, |
| const dimensionSet & | dims, | ||
| const bool | cache ) const |
Definition at line 55 of file StationaryPhaseModel.C.
References Foam::name().

| Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > zeroSurfaceField | ( | const word & | name, |
| const dimensionSet & | dims, | ||
| const bool | cache ) const |
Definition at line 69 of file StationaryPhaseModel.C.
References Foam::name().
