Public Member Functions | List of all members
StationaryPhaseModel< BasePhaseModel > Class Template Reference

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...

Inheritance diagram for StationaryPhaseModel< BasePhaseModel >:
Inheritance graph
[legend]
Collaboration diagram for StationaryPhaseModel< BasePhaseModel >:
Collaboration graph
[legend]

Public Member Functions

 StationaryPhaseModel (const phaseSystem &fluid, const word &phaseName, const label index)
 
virtual ~StationaryPhaseModel ()
 
virtual bool stationary () const
 
virtual tmp< fvVectorMatrixUEqn ()
 
virtual tmp< fvVectorMatrixUfEqn ()
 
virtual tmp< volVectorFieldU () const
 
virtual volVectorFieldURef ()
 
virtual tmp< surfaceScalarFieldphi () const
 
virtual surfaceScalarFieldphiRef ()
 
virtual tmp< surfaceScalarFieldalphaPhi () const
 
virtual surfaceScalarFieldalphaPhiRef ()
 
virtual tmp< surfaceScalarFieldalphaRhoPhi () const
 
virtual surfaceScalarFieldalphaRhoPhiRef ()
 
virtual tmp< volVectorFieldDUDt () const
 
virtual tmp< surfaceScalarFieldDUDtf () const
 
virtual tmp< volScalarFieldcontinuityError () const
 
virtual tmp< volScalarFieldcontinuityErrorFlow () const
 
virtual tmp< volScalarFieldcontinuityErrorSources () const
 
virtual tmp< volScalarFieldK () const
 
virtual tmp< volScalarFielddivU () const
 
virtual void divU (tmp< volScalarField > divU)
 
virtual tmp< volScalarFieldmut () const
 
virtual tmp< volScalarFieldmuEff () const
 
virtual tmp< volScalarFieldnut () const
 
virtual tmp< volScalarFieldnuEff () const
 
virtual tmp< volScalarFieldkappaEff () const
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 
virtual tmp< volScalarFieldalphaEff () const
 
virtual tmp< scalarFieldalphaEff (const label patchi) const
 
virtual tmp< volScalarFieldk () const
 
virtual tmp< volScalarFieldpPrime () const
 
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
 

Detailed Description

template<class BasePhaseModel>
class Foam::StationaryPhaseModel< BasePhaseModel >

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.

See also
MovingPhaseModel
Source files

Definition at line 54 of file StationaryPhaseModel.H.

Constructor & Destructor Documentation

◆ StationaryPhaseModel()

StationaryPhaseModel ( const phaseSystem fluid,
const word phaseName,
const label  index 
)

Definition at line 84 of file StationaryPhaseModel.C.

◆ ~StationaryPhaseModel()

Definition at line 97 of file StationaryPhaseModel.C.

Member Function Documentation

◆ stationary()

bool stationary
virtual

Definition at line 104 of file StationaryPhaseModel.C.

◆ UEqn()

Definition at line 112 of file StationaryPhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ UfEqn()

Foam::tmp< Foam::fvVectorMatrix > UfEqn
virtual

Definition at line 124 of file StationaryPhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ U()

Definition at line 136 of file StationaryPhaseModel.C.

References Foam::dimVelocity.

◆ URef()

Foam::volVectorField & URef
virtual

Definition at line 144 of file StationaryPhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ phi()

Definition at line 156 of file StationaryPhaseModel.C.

References Foam::dimTime, and Foam::dimVolume.

◆ phiRef()

Foam::surfaceScalarField & phiRef
virtual

Definition at line 164 of file StationaryPhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ alphaPhi()

Foam::tmp< Foam::surfaceScalarField > alphaPhi
virtual

Definition at line 176 of file StationaryPhaseModel.C.

References Foam::dimTime, and Foam::dimVolume.

◆ alphaPhiRef()

Foam::surfaceScalarField & alphaPhiRef
virtual

Definition at line 184 of file StationaryPhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ alphaRhoPhi()

Foam::tmp< Foam::surfaceScalarField > alphaRhoPhi
virtual

Definition at line 196 of file StationaryPhaseModel.C.

References Foam::dimMass, and Foam::dimTime.

◆ alphaRhoPhiRef()

Foam::surfaceScalarField & alphaRhoPhiRef
virtual

Definition at line 204 of file StationaryPhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ DUDt()

Definition at line 216 of file StationaryPhaseModel.C.

References Foam::dimTime, and Foam::dimVelocity.

◆ DUDtf()

Definition at line 224 of file StationaryPhaseModel.C.

References Foam::dimArea, Foam::dimTime, and Foam::dimVelocity.

◆ continuityError()

Foam::tmp< Foam::volScalarField > continuityError
virtual

Definition at line 232 of file StationaryPhaseModel.C.

References Foam::dimDensity, and Foam::dimTime.

◆ continuityErrorFlow()

Foam::tmp< Foam::volScalarField > continuityErrorFlow
virtual

Definition at line 240 of file StationaryPhaseModel.C.

References Foam::dimDensity, and Foam::dimTime.

◆ continuityErrorSources()

Foam::tmp< Foam::volScalarField > continuityErrorSources
virtual

Definition at line 248 of file StationaryPhaseModel.C.

References Foam::dimDensity, and Foam::dimTime.

◆ K()

Definition at line 256 of file StationaryPhaseModel.C.

References Foam::dimVelocity, and Foam::sqr().

Here is the call graph for this function:

◆ divU() [1/2]

Definition at line 264 of file StationaryPhaseModel.C.

◆ divU() [2/2]

void divU ( tmp< volScalarField divU)
virtual

Definition at line 272 of file StationaryPhaseModel.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ mut()

Definition at line 284 of file StationaryPhaseModel.C.

References Foam::dimDynamicViscosity.

◆ muEff()

Foam::tmp< Foam::volScalarField > muEff
virtual

Definition at line 292 of file StationaryPhaseModel.C.

References thermo.

◆ nut()

Definition at line 300 of file StationaryPhaseModel.C.

References Foam::dimViscosity.

◆ nuEff()

Foam::tmp< Foam::volScalarField > nuEff
virtual

Definition at line 308 of file StationaryPhaseModel.C.

References thermo.

◆ kappaEff() [1/2]

Foam::tmp< Foam::volScalarField > kappaEff
virtual

Definition at line 316 of file StationaryPhaseModel.C.

References thermo.

◆ kappaEff() [2/2]

Foam::tmp< Foam::scalarField > kappaEff ( const label  patchi) const
virtual

Definition at line 324 of file StationaryPhaseModel.C.

References thermo.

◆ alphaEff() [1/2]

Foam::tmp< Foam::volScalarField > alphaEff
virtual

Definition at line 332 of file StationaryPhaseModel.C.

References thermo.

◆ alphaEff() [2/2]

Foam::tmp< Foam::scalarField > alphaEff ( const label  patchi) const
virtual

Definition at line 340 of file StationaryPhaseModel.C.

References thermo.

◆ k()

Definition at line 348 of file StationaryPhaseModel.C.

References Foam::dimVelocity, and Foam::sqr().

Here is the call graph for this function:

◆ pPrime()

Foam::tmp< Foam::volScalarField > pPrime
virtual

Definition at line 356 of file StationaryPhaseModel.C.

References Foam::dimPressure.

◆ zeroField()

Foam::tmp<Foam::GeometricField<Type, PatchField, GeoMesh> > zeroField ( const word name,
const dimensionSet dims,
const bool  cache 
) const

Definition at line 29 of file StationaryPhaseModel.C.

References mesh, Foam::name(), timeName, and Foam::Zero.

Here is the call graph for this function:

◆ zeroVolField()

Foam::tmp<Foam::GeometricField<Type, Foam::fvPatchField, Foam::volMesh> > zeroVolField ( const word name,
const dimensionSet dims,
const bool  cache 
) const

Definition at line 56 of file StationaryPhaseModel.C.

References Foam::name().

Here is the call graph for this function:

◆ zeroSurfaceField()

Foam::tmp<Foam::GeometricField<Type, Foam::fvsPatchField, Foam::surfaceMesh> > zeroSurfaceField ( const word name,
const dimensionSet dims,
const bool  cache 
) const

Definition at line 70 of file StationaryPhaseModel.C.

References Foam::name().

Here is the call graph for this function:

The documentation for this class was generated from the following files: