Classes | Public Member Functions | Static Public Member Functions | List of all members
phaseModel Class Referenceabstract

Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture for interface-capturing multi-phase simulations. More...

Inheritance diagram for phaseModel:
Inheritance graph
[legend]
Collaboration diagram for phaseModel:
Collaboration graph
[legend]

Classes

class  iNew
 

Public Member Functions

 phaseModel (const word &phaseName, const dictionary &phaseDict, const fvMesh &mesh)
 
autoPtr< phaseModelclone () const
 
virtual ~phaseModel ()
 
const wordname () const
 
const wordkeyword () const
 
tmp< volScalarFieldd () const
 
const dimensionedScalarnu () const
 
const dimensionedScalarkappa () const
 
const dimensionedScalarCp () const
 
const dimensionedScalarrho () const
 
const volVectorFieldU () const
 
volVectorFieldU ()
 
const volVectorFieldDDtU () const
 
volVectorFieldDDtU ()
 
const surfaceScalarFieldphi () const
 
surfaceScalarFieldphi ()
 
const surfaceScalarFieldalphaPhi () const
 
surfaceScalarFieldalphaPhi ()
 
void correctInflowOutflow (surfaceScalarField &alphaPhi) const
 
void correct ()
 
bool read (const dictionary &phaseDict)
 
 ClassName ("phaseModel")
 
 declareRunTimeSelectionTable (autoPtr, phaseModel, phaseSystem,(const phaseSystem &fluid, const word &phaseName),(fluid, phaseName))
 
 phaseModel (const phaseSystem &fluid, const word &phaseName)
 
virtual ~phaseModel ()=default
 
const wordname () const
 
const phaseSystemfluid () const
 
virtual void correct ()
 
virtual void correctTurbulence ()
 
virtual void solveYi (PtrList< volScalarField::Internal > &Su, PtrList< volScalarField::Internal > &Sp)=0
 
virtual bool read ()
 
virtual const rhoThermothermo () const =0
 
virtual rhoThermothermo ()=0
 
tmp< volScalarFieldrho () const
 
tmp< scalarFieldrho (const label patchi) const
 
tmp< volScalarFieldhc () const
 
tmp< volScalarFieldCp () const
 
tmp< scalarFieldCp (const scalarField &p, const scalarField &T, const label patchi) const
 
tmp< volScalarFieldCv () const
 
tmp< scalarFieldCv (const scalarField &p, const scalarField &T, const label patchI) const
 
tmp< volScalarFieldgamma () const
 
tmp< scalarFieldgamma (const scalarField &p, const scalarField &T, const label patchi) const
 
tmp< volScalarFieldCpv () const
 
tmp< scalarFieldCpv (const scalarField &p, const scalarField &T, const label patchi) const
 
tmp< volScalarFieldCpByCpv () const
 
tmp< scalarFieldCpByCpv (const scalarField &p, const scalarField &T, const label patchi) const
 
bool dpdt () const
 
const volScalarFieldalpha () const
 
const scalarFieldalpha (const label patchi) const
 
tmp< volScalarFieldkappa () const
 
tmp< scalarFieldkappa (const label patchi) const
 
tmp< volScalarFieldalphahe () const
 
tmp< scalarFieldalphahe (const label patchi) const
 
tmp< volScalarFieldkappaEff (const volScalarField &) const
 
tmp< scalarFieldkappaEff (const scalarField &alphat, const label patchi) const
 
tmp< volScalarFieldalphaEff (const volScalarField &alphat) const
 
tmp< scalarFieldalphaEff (const scalarField &alphat, const label patchi) const
 
virtual tmp< volScalarFieldnu () const
 
virtual tmp< scalarFieldnu (const label patchi) const
 
virtual tmp< volScalarFieldmu () const
 
virtual tmp< scalarFieldmu (const label patchi) const
 
virtual tmp< surfaceScalarFielddiffNo () const =0
 
virtual const PtrList< volScalarField > & Y () const =0
 
virtual PtrList< volScalarField > & Y ()=0
 
virtual tmp< surfaceScalarFieldphi () const =0
 
virtual const surfaceScalarFieldphi ()=0
 
virtual tmp< surfaceScalarFieldalphaPhi () const =0
 
virtual surfaceScalarFieldalphaPhi ()=0
 
virtual tmp< volVectorFieldU () const =0
 
 ClassName ("phaseModel")
 
 declareRunTimeSelectionTable (autoPtr, phaseModel, phaseSystem,(const phaseSystem &fluid, const word &phaseName, const label index),(fluid, phaseName, index))
 
 phaseModel (const phaseSystem &fluid, const word &phaseName, const label index)
 
autoPtr< phaseModelclone () const
 
virtual ~phaseModel ()
 
const wordname () const
 
const wordkeyword () const
 
label index () const
 
const phaseSystemfluid () const
 
const dimensionedScalarresidualAlpha () const
 
scalar alphaMax () const
 
tmp< volScalarFieldd () const
 
const autoPtr< diameterModel > & dPtr () const
 
virtual void correct ()
 
virtual void correctKinematics ()
 
virtual void correctThermo ()
 
virtual void correctTurbulence ()
 
virtual void correctEnergyTransport ()
 
void correctInflowOutflow (surfaceScalarField &alphaPhi) const
 
virtual bool read ()
 
virtual bool compressible () const =0
 
virtual tmp< volScalarFielddivU () const =0
 
virtual void divU (tmp< volScalarField > divU)=0
 
virtual bool isothermal () const =0
 
virtual tmp< fvScalarMatrixheEqn ()=0
 
virtual const rhoThermothermo () const =0
 
virtual rhoThermothermoRef ()=0
 
virtual tmp< volScalarFieldrho () const =0
 
virtual bool pure () const =0
 
virtual tmp< fvScalarMatrixYiEqn (volScalarField &Yi)=0
 
virtual const PtrList< volScalarField > & Y () const =0
 
virtual const volScalarFieldY (const word &name) const =0
 
virtual PtrList< volScalarField > & YRef ()=0
 
virtual const UPtrList< volScalarField > & YActive () const =0
 
virtual UPtrList< volScalarField > & YActiveRef ()=0
 
virtual bool stationary () const =0
 
virtual tmp< fvVectorMatrixUEqn ()=0
 
virtual tmp< fvVectorMatrixUfEqn ()=0
 
virtual tmp< volVectorFieldU () const =0
 
virtual volVectorFieldURef ()=0
 
virtual tmp< surfaceScalarFieldphi () const =0
 
virtual surfaceScalarFieldphiRef ()=0
 
virtual tmp< surfaceScalarFieldalphaPhi () const =0
 
virtual surfaceScalarFieldalphaPhiRef ()=0
 
virtual tmp< surfaceScalarFieldalphaRhoPhi () const =0
 
virtual surfaceScalarFieldalphaRhoPhiRef ()=0
 
virtual tmp< volVectorFieldDUDt () const =0
 
virtual tmp< surfaceScalarFieldDUDtf () const =0
 
virtual tmp< volScalarFieldcontinuityError () const =0
 
virtual tmp< volScalarFieldcontinuityErrorFlow () const =0
 
virtual tmp< volScalarFieldcontinuityErrorSources () const =0
 
virtual tmp< volScalarFieldK () const =0
 
virtual tmp< volScalarFieldmu () const =0
 
virtual tmp< scalarFieldmu (const label patchi) const =0
 
virtual tmp< volScalarFieldnu () const =0
 
virtual tmp< scalarFieldnu (const label patchi) const =0
 
virtual tmp< volScalarFieldalpha () const =0
 
virtual tmp< scalarFieldalpha (const label patchi) const =0
 
virtual tmp< volScalarFieldkappa () const =0
 
virtual tmp< scalarFieldkappa (const label patchi) const =0
 
virtual tmp< volScalarFieldalphahe () const =0
 
virtual tmp< scalarFieldalphahe (const label patchi) const =0
 
virtual tmp< volScalarFieldkappaEff (const volScalarField &alphat) const =0
 
virtual tmp< scalarFieldkappaEff (const scalarField &alphat, const label patchi) const =0
 
virtual tmp< volScalarFieldalphaEff (const volScalarField &alphat) const =0
 
virtual tmp< scalarFieldalphaEff (const scalarField &alphat, const label patchi) const =0
 
virtual tmp< volScalarFieldmut () const =0
 
virtual tmp< volScalarFieldmuEff () const =0
 
virtual tmp< volScalarFieldnut () const =0
 
virtual tmp< volScalarFieldnuEff () const =0
 
virtual tmp< volScalarFieldkappaEff () const =0
 
virtual tmp< scalarFieldkappaEff (const label patchi) const =0
 
virtual tmp< volScalarFieldalphaEff () const =0
 
virtual tmp< scalarFieldalphaEff (const label patchi) const =0
 
virtual tmp< volScalarFieldk () const =0
 
virtual tmp< volScalarFieldpPrime () const =0
 
 phaseModel (const twoPhaseSystem &fluid, const dictionary &phaseProperties, const word &phaseName)
 
virtual ~phaseModel ()
 
const wordname () const
 
const twoPhaseSystemfluid () const
 
const phaseModelotherPhase () const
 
const dimensionedScalarresidualAlpha () const
 
scalar alphaMax () const
 
tmp< volScalarFieldd () const
 
const PhaseCompressibleTurbulenceModel< phaseModel > & turbulence () const
 
PhaseCompressibleTurbulenceModel< phaseModel > & turbulence ()
 
const rhoThermothermo () const
 
rhoThermothermo ()
 
tmp< volScalarFieldnu () const
 
tmp< scalarFieldnu (const label patchi) const
 
tmp< volScalarFieldmu () const
 
tmp< scalarFieldmu (const label patchi) const
 
tmp< scalarFieldkappa (const label patchi) const
 
tmp< volScalarFieldkappa () const
 
tmp< volScalarFieldalphahe () const
 
tmp< scalarFieldalphahe (const label patchi) const
 
tmp< volScalarFieldkappaEff (const volScalarField &alphat) const
 
tmp< scalarFieldkappaEff (const scalarField &alphat, const label patchi) const
 
tmp< volScalarFieldalpha () const
 
tmp< scalarFieldalpha (const label patchi) const
 
tmp< volScalarFieldalphaEff (const volScalarField &alphat) const
 
tmp< scalarFieldalphaEff (const scalarField &alphat, const label patchi) const
 
tmp< volScalarFieldCp () const
 
const volScalarFieldrho () const
 
const volVectorFieldU () const
 
volVectorFieldU ()
 
const surfaceScalarFieldphi () const
 
surfaceScalarFieldphi ()
 
const surfaceScalarFieldalphaPhi () const
 
surfaceScalarFieldalphaPhi ()
 
const surfaceScalarFieldalphaRhoPhi () const
 
surfaceScalarFieldalphaRhoPhi ()
 
void correctInflowOutflow (surfaceScalarField &alphaPhi) const
 
void correct ()
 
virtual bool read (const dictionary &phaseProperties)
 
virtual bool read ()
 
 phaseModel (const word &phaseName, const volScalarField &p, const volScalarField &T)
 
autoPtr< phaseModelclone () const
 
const wordname () const
 
const wordkeyword () const
 
const rhoThermothermo () const
 
rhoThermothermo ()
 
const volScalarFielddgdt () const
 
volScalarFielddgdt ()
 
void correct ()
 
- Public Member Functions inherited from GeometricField
 TypeName ("GeometricField")
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList())
 
 GeometricField (const IOobject &io, const Internal &diField, const PtrList< PatchField< Type >> &ptfl)
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType())
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const PtrList< PatchField< Type >> &ptfl)
 
 GeometricField (const IOobject &io, const Mesh &mesh, const bool readOldTime=true)
 
 GeometricField (const IOobject &io, const Mesh &mesh, const dictionary &dict)
 
 GeometricField (const GeometricField< Type, PatchField, GeoMesh > &gf)
 
 GeometricField (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
 GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf)
 
 GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
 GeometricField (const word &newName, const GeometricField< Type, PatchField, GeoMesh > &gf)
 
 GeometricField (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
 GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const word &patchFieldType)
 
 GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const labelList &patchIDs, const word &patchFieldType)
 
 GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList())
 
 GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList())
 
tmp< GeometricField< Type, PatchField, GeoMesh > > clone () const
 
virtual ~GeometricField ()
 
Internalref (const bool updateAccessTime=true)
 
const InternalinternalField () const
 
const Internalv () const
 
Internal::FieldTypeprimitiveFieldRef (const bool updateAccessTime=true)
 
const Internal::FieldTypeprimitiveField () const
 
BoundaryboundaryFieldRef (const bool updateAccessTime=true)
 
const BoundaryboundaryField () const
 
label timeIndex () const
 
label & timeIndex ()
 
void storeOldTimes () const
 
void storeOldTime () const
 
label nOldTimes () const
 
const GeometricField< Type, PatchField, GeoMesh > & oldTime () const
 
GeometricField< Type, PatchField, GeoMesh > & oldTime ()
 
void storePrevIter () const
 
const GeometricField< Type, PatchField, GeoMesh > & prevIter () const
 
void correctBoundaryConditions ()
 
bool needReference () const
 
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component (const direction) const
 
bool writeData (Ostream &) const
 
tmp< GeometricField< Type, PatchField, GeoMesh > > T () const
 
void relax (const scalar alpha)
 
void relax ()
 
word select (bool final) const
 
void writeMinMax (Ostream &os) const
 
void negate ()
 
void replace (const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf)
 
void replace (const direction d, const dimensioned< cmptType > &ds)
 
void min (const dimensioned< Type > &dt)
 
void max (const dimensioned< Type > &dt)
 
void clip (const dimensioned< MinMax< Type >> &range)
 
void clip (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal)
 
void maxMin (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal)
 
const Internaloperator() () const
 
void operator= (const GeometricField< Type, PatchField, GeoMesh > &)
 
void operator= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
 
void operator= (const dimensioned< Type > &)
 
void operator== (const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
 
void operator== (const dimensioned< Type > &)
 
void operator+= (const GeometricField< Type, PatchField, GeoMesh > &)
 
void operator+= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
 
void operator-= (const GeometricField< Type, PatchField, GeoMesh > &)
 
void operator-= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &)
 
void operator*= (const GeometricField< scalar, PatchField, GeoMesh > &)
 
void operator*= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &)
 
void operator/= (const GeometricField< scalar, PatchField, GeoMesh > &)
 
void operator/= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &)
 
void operator+= (const dimensioned< Type > &)
 
void operator-= (const dimensioned< Type > &)
 
void operator*= (const dimensioned< scalar > &)
 
void operator/= (const dimensioned< scalar > &)
 
tmp< GeometricField< scalar, faPatchField, areaMesh > > component (const direction) const
 
void replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &gsf)
 
tmp< GeometricField< scalar, faPatchField, areaMesh > > component (const direction) const
 
void replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &sf)
 
tmp< GeometricField< scalar, fvPatchField, volMesh > > component (const direction) const
 
void replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &gsf)
 
tmp< GeometricField< scalar, fvPatchField, volMesh > > component (const direction) const
 
void replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &sf)
 

Static Public Member Functions

static autoPtr< phaseModelNew (const phaseSystem &fluid, const word &phaseName)
 
static autoPtr< phaseModelNew (const phaseSystem &fluid, const word &phaseName, const label index)
 
- Static Public Member Functions inherited from GeometricField
static const GeometricField< Type, PatchField, GeoMesh > & null ()
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList())
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf)
 
static tmp< GeometricField< Type, PatchField, GeoMesh > > New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList())
 

Additional Inherited Members

- Public Types inherited from GeometricField
typedef GeoMesh::Mesh Mesh
 
typedef GeoMesh::BoundaryMesh BoundaryMesh
 
typedef DimensionedField< Type, GeoMeshInternal
 
typedef PatchField< Type > Patch
 
typedef Field< Type >::cmptType cmptType
 

Detailed Description

Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture for interface-capturing multi-phase simulations.

Source files

Source files
Source files
Source files

Source files

Definition at line 49 of file phaseModel.H.

Constructor & Destructor Documentation

◆ phaseModel() [1/5]

phaseModel ( const word phaseName,
const dictionary phaseDict,
const fvMesh mesh 
)

Definition at line 32 of file phaseModel.C.

References Foam::endl(), Foam::fvc::flux(), forAll, Foam::Info, mesh, Foam::New(), and IOobject::typeHeaderOk().

Referenced by phaseModel::iNew::operator()().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~phaseModel() [1/4]

~phaseModel ( )
virtual

Definition at line 194 of file phaseModel.C.

◆ phaseModel() [2/5]

phaseModel ( const phaseSystem fluid,
const word phaseName 
)

Definition at line 35 of file phaseModel.C.

◆ ~phaseModel() [2/4]

virtual ~phaseModel ( )
virtualdefault

◆ phaseModel() [3/5]

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

Definition at line 38 of file phaseModel.C.

References fluid, and Foam::New().

Here is the call graph for this function:

◆ ~phaseModel() [3/4]

virtual ~phaseModel ( )
virtual

◆ phaseModel() [4/5]

phaseModel ( const twoPhaseSystem fluid,
const dictionary phaseProperties,
const word phaseName 
)

Definition at line 40 of file phaseModel.C.

References Foam::endl(), Foam::fvc::flux(), forAll, Foam::Info, Foam::New(), phi, and IOobject::typeHeaderOk().

Here is the call graph for this function:

◆ ~phaseModel() [4/4]

virtual ~phaseModel ( )
virtual

◆ phaseModel() [5/5]

phaseModel ( const word phaseName,
const volScalarField p,
const volScalarField T 
)

Member Function Documentation

◆ clone() [1/3]

Foam::autoPtr< Foam::phaseModel > clone ( ) const

Definition at line 200 of file phaseModel.C.

References NotImplemented.

◆ name() [1/5]

const Foam::word & name ( ) const
inline

◆ keyword() [1/3]

const Foam::word & keyword ( ) const
inline

Definition at line 140 of file phaseModel.H.

References phaseModel::name().

Here is the call graph for this function:

◆ d() [1/3]

Definition at line 250 of file phaseModel.C.

Referenced by deposition::dmdt(), sine::limiter(), linear::limiter(), and cosine::limiter().

Here is the caller graph for this function:

◆ nu() [1/7]

Foam::tmp< Foam::volScalarField > nu ( ) const
inline

Definition at line 147 of file phaseModel.H.

Referenced by LuoSvendsen::correct().

Here is the caller graph for this function:

◆ kappa() [1/7]

Foam::tmp< Foam::volScalarField > kappa ( ) const
inline

Definition at line 152 of file phaseModel.H.

Referenced by Bromley::htcFilmBoil().

Here is the caller graph for this function:

◆ Cp() [1/4]

Foam::tmp< Foam::volScalarField > Cp ( ) const
inline

Definition at line 157 of file phaseModel.H.

◆ rho() [1/5]

Foam::tmp< Foam::volScalarField > rho ( ) const
inline

◆ U() [1/6]

const volVectorField& U ( ) const
inline

◆ U() [2/6]

volVectorField& U ( )
inline

Definition at line 172 of file phaseModel.H.

◆ DDtU() [1/2]

const volVectorField& DDtU ( ) const
inline

Definition at line 177 of file phaseModel.H.

Referenced by multiphaseSystem::Svm().

Here is the caller graph for this function:

◆ DDtU() [2/2]

volVectorField& DDtU ( )
inline

Definition at line 182 of file phaseModel.H.

◆ phi() [1/7]

const surfaceScalarField& phi ( ) const
inline

Definition at line 187 of file phaseModel.H.

Referenced by MomentumTransferPhaseSystem< BasePhaseSystem >::ddtCorrByAs(), and multiphaseSystem::dragCoeffs().

Here is the caller graph for this function:

◆ phi() [2/7]

surfaceScalarField& phi ( )
inline

Definition at line 192 of file phaseModel.H.

◆ alphaPhi() [1/7]

const surfaceScalarField& alphaPhi ( ) const
inline

Definition at line 197 of file phaseModel.H.

◆ alphaPhi() [2/7]

surfaceScalarField& alphaPhi ( )
inline

Definition at line 202 of file phaseModel.H.

◆ correctInflowOutflow() [1/3]

void correctInflowOutflow ( surfaceScalarField alphaPhi) const

Definition at line 232 of file phaseModel.C.

References alphaPhi(), GeometricField::boundaryField(), GeometricField::boundaryFieldRef(), fvsPatchField::coupled(), forAll, and phi.

Here is the call graph for this function:

◆ correct() [1/5]

void correct ( )

Definition at line 208 of file phaseModel.C.

◆ read() [1/5]

bool read ( const dictionary phaseDict)

Definition at line 214 of file phaseModel.C.

References dictionary::readEntry().

Here is the call graph for this function:

◆ ClassName() [1/2]

ClassName ( "phaseModel"  )

◆ declareRunTimeSelectionTable() [1/2]

declareRunTimeSelectionTable ( autoPtr  ,
phaseModel  ,
phaseSystem  ,
(const phaseSystem &fluid, const word &phaseName)  ,
(fluid, phaseName)   
)

◆ New() [1/2]

Foam::autoPtr< Foam::phaseModel > New ( const phaseSystem fluid,
const word phaseName 
)
static

Definition at line 62 of file phaseModel.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, fluid, and Foam::Info.

Referenced by phaseSystem::generatePhaseModels(), and phaseModel::iNew::operator()().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ name() [2/5]

const word& name ( ) const
inline

Definition at line 108 of file phaseModel.H.

◆ fluid() [1/3]

const Foam::phaseSystem & fluid ( ) const

Definition at line 93 of file phaseModel.C.

Referenced by deposition::dmdt(), orderedPhasePair::E(), IATEsource::fluid(), and phasePair::sigma().

Here is the caller graph for this function:

◆ correct() [2/5]

virtual void correct ( )
virtual

◆ correctTurbulence() [1/2]

void correctTurbulence ( )
virtual

Definition at line 105 of file phaseModel.C.

◆ solveYi()

virtual void solveYi ( PtrList< volScalarField::Internal > &  Su,
PtrList< volScalarField::Internal > &  Sp 
)
pure virtual

◆ read() [2/5]

bool read ( )
virtual

Definition at line 314 of file phaseModel.C.

◆ thermo() [1/7]

virtual const rhoThermo& thermo ( ) const
pure virtual

◆ thermo() [2/7]

virtual rhoThermo& thermo ( )
pure virtual

◆ rho() [2/5]

tmp<volScalarField> rho ( ) const

◆ rho() [3/5]

Foam::tmp< Foam::scalarField > rho ( const label  patchi) const

Definition at line 117 of file phaseModel.C.

References psiThermo::rho(), and thermo.

Here is the call graph for this function:

◆ hc()

Definition at line 123 of file phaseModel.C.

References basicThermo::hc(), and thermo.

Here is the call graph for this function:

◆ Cp() [2/4]

tmp<volScalarField> Cp ( ) const

◆ Cp() [3/4]

Foam::tmp< Foam::scalarField > Cp ( const scalarField p,
const scalarField T,
const label  patchi 
) const

Definition at line 136 of file phaseModel.C.

References Cp, p, Foam::T(), and thermo.

Here is the call graph for this function:

◆ Cv() [1/2]

Definition at line 146 of file phaseModel.C.

References basicThermo::Cv(), and thermo.

Here is the call graph for this function:

◆ Cv() [2/2]

Foam::tmp< Foam::scalarField > Cv ( const scalarField p,
const scalarField T,
const label  patchI 
) const

Definition at line 153 of file phaseModel.C.

References basicThermo::Cv(), p, Foam::T(), and thermo.

Here is the call graph for this function:

◆ gamma() [1/2]

Foam::tmp< Foam::volScalarField > gamma ( ) const

Definition at line 163 of file phaseModel.C.

References basicThermo::gamma(), and thermo.

Here is the call graph for this function:

◆ gamma() [2/2]

Foam::tmp< Foam::scalarField > gamma ( const scalarField p,
const scalarField T,
const label  patchi 
) const

Definition at line 170 of file phaseModel.C.

References basicThermo::gamma(), p, Foam::T(), and thermo.

Here is the call graph for this function:

◆ Cpv() [1/2]

Foam::tmp< Foam::volScalarField > Cpv ( ) const

Definition at line 180 of file phaseModel.C.

References basicThermo::Cpv(), and thermo.

Here is the call graph for this function:

◆ Cpv() [2/2]

Foam::tmp< Foam::scalarField > Cpv ( const scalarField p,
const scalarField T,
const label  patchi 
) const

Definition at line 187 of file phaseModel.C.

References basicThermo::Cpv(), p, Foam::T(), and thermo.

Here is the call graph for this function:

◆ CpByCpv() [1/2]

Foam::tmp< Foam::volScalarField > CpByCpv ( ) const

Definition at line 197 of file phaseModel.C.

References basicThermo::CpByCpv(), and thermo.

Here is the call graph for this function:

◆ CpByCpv() [2/2]

Foam::tmp< Foam::scalarField > CpByCpv ( const scalarField p,
const scalarField T,
const label  patchi 
) const

Definition at line 204 of file phaseModel.C.

References basicThermo::CpByCpv(), p, Foam::T(), and thermo.

Here is the call graph for this function:

◆ dpdt()

bool dpdt ( ) const
inline

Definition at line 208 of file phaseModel.H.

References basicThermo::dpdt(), and phaseModel::thermo().

Here is the call graph for this function:

◆ alpha() [1/6]

const Foam::volScalarField & alpha ( ) const

Definition at line 214 of file phaseModel.C.

References basicThermo::alpha(), and thermo.

Here is the call graph for this function:

◆ alpha() [2/6]

const Foam::scalarField & alpha ( const label  patchi) const

Definition at line 220 of file phaseModel.C.

References basicThermo::alpha(), and thermo.

Here is the call graph for this function:

◆ kappa() [2/7]

tmp<volScalarField> kappa ( ) const

◆ kappa() [3/7]

Foam::tmp< Foam::scalarField > kappa ( const label  patchi) const

Definition at line 232 of file phaseModel.C.

References basicThermo::kappa(), and thermo.

Here is the call graph for this function:

◆ alphahe() [1/6]

Foam::tmp< Foam::volScalarField > alphahe ( ) const

Definition at line 238 of file phaseModel.C.

References basicThermo::alphahe(), and thermo.

Here is the call graph for this function:

◆ alphahe() [2/6]

Foam::tmp< Foam::scalarField > alphahe ( const label  patchi) const

Definition at line 244 of file phaseModel.C.

References basicThermo::alphahe(), and thermo.

Here is the call graph for this function:

◆ kappaEff() [1/8]

Foam::tmp< Foam::volScalarField > kappaEff ( const volScalarField kappat) const

Definition at line 251 of file phaseModel.C.

References Foam::constant::electromagnetic::kappa, and kappaEff.

◆ kappaEff() [2/8]

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

Definition at line 262 of file phaseModel.C.

References Foam::constant::electromagnetic::kappa.

◆ alphaEff() [1/8]

Foam::tmp< Foam::volScalarField > alphaEff ( const volScalarField alphat) const

Definition at line 272 of file phaseModel.C.

References Foam::constant::atomic::alpha, and thermo.

◆ alphaEff() [2/8]

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

Definition at line 281 of file phaseModel.C.

References Foam::constant::atomic::alpha, and thermo.

◆ nu() [2/7]

virtual tmp<volScalarField> nu ( ) const
virtual

◆ nu() [3/7]

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

Definition at line 308 of file phaseModel.C.

References fluidThermo::nu(), and thermo.

Here is the call graph for this function:

◆ mu() [1/6]

Foam::tmp< Foam::volScalarField > mu ( ) const
virtual

Definition at line 290 of file phaseModel.C.

References psiThermo::mu(), and thermo.

Referenced by CoulaloglouTavlaridesCoalescence::addToCoalescenceRate(), Bromley::htcFilmBoil(), and LaakkonenAlopaeusAittamaa::setBreakupRate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mu() [2/6]

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

Definition at line 296 of file phaseModel.C.

References psiThermo::mu(), and thermo.

Here is the call graph for this function:

◆ diffNo()

virtual tmp<surfaceScalarField> diffNo ( ) const
pure virtual

◆ Y() [1/4]

virtual const PtrList<volScalarField>& Y ( ) const
pure virtual

◆ Y() [2/4]

virtual PtrList<volScalarField>& Y ( )
pure virtual

◆ phi() [3/7]

virtual tmp<surfaceScalarField> phi ( ) const
pure virtual

◆ phi() [4/7]

virtual const surfaceScalarField& phi ( )
pure virtual

◆ alphaPhi() [3/7]

virtual tmp<surfaceScalarField> alphaPhi ( ) const
pure virtual

◆ alphaPhi() [4/7]

virtual surfaceScalarField& alphaPhi ( )
pure virtual

◆ U() [3/6]

virtual tmp<volVectorField> U ( ) const
pure virtual

◆ ClassName() [2/2]

ClassName ( "phaseModel"  )

◆ declareRunTimeSelectionTable() [2/2]

declareRunTimeSelectionTable ( autoPtr  ,
phaseModel  ,
phaseSystem  ,
(const phaseSystem &fluid, const word &phaseName, const label index ,
(fluid, phaseName, index  
)

◆ clone() [2/3]

autoPtr<phaseModel> clone ( ) const

◆ New() [2/2]

Foam::autoPtr< Foam::phaseModel > New ( const phaseSystem fluid,
const word phaseName,
const label  index 
)
static

Definition at line 85 of file phaseModel.C.

References Foam::abort(), dict, Foam::endl(), Foam::FatalIOError, FatalIOErrorInLookup, fluid, dictionary::get(), Foam::Info, and dictionary::subDict().

Here is the call graph for this function:

◆ name() [3/5]

const word& name ( ) const

◆ keyword() [2/3]

const word& keyword ( ) const

◆ index()

Foam::label index ( ) const

◆ fluid() [2/3]

const phaseSystem& fluid ( ) const

◆ residualAlpha() [1/2]

const Foam::dimensionedScalar & residualAlpha ( ) const

Definition at line 147 of file phaseModel.C.

Referenced by LehrMilliesMewesCoalescence::addToCoalescenceRate().

Here is the caller graph for this function:

◆ alphaMax() [1/2]

Foam::scalar alphaMax ( ) const

Definition at line 153 of file phaseModel.C.

◆ d() [2/3]

tmp<volScalarField> d ( ) const

◆ dPtr()

const Foam::autoPtr< Foam::diameterModel > & dPtr ( ) const

Definition at line 165 of file phaseModel.C.

◆ correct() [3/5]

virtual void correct ( )
virtual

◆ correctKinematics()

void correctKinematics ( )
virtual

Definition at line 177 of file phaseModel.C.

◆ correctThermo()

void correctThermo ( )
virtual

Definition at line 181 of file phaseModel.C.

◆ correctTurbulence() [2/2]

virtual void correctTurbulence ( )
virtual

◆ correctEnergyTransport()

void correctEnergyTransport ( )
virtual

Definition at line 189 of file phaseModel.C.

◆ correctInflowOutflow() [2/3]

void correctInflowOutflow ( surfaceScalarField alphaPhi) const

◆ read() [3/5]

virtual bool read ( )
virtual

◆ compressible()

virtual bool compressible ( ) const
pure virtual

◆ divU() [1/2]

virtual tmp<volScalarField> divU ( ) const
pure virtual

◆ divU() [2/2]

virtual void divU ( tmp< volScalarField divU)
pure virtual

◆ isothermal()

virtual bool isothermal ( ) const
pure virtual

◆ heEqn()

virtual tmp<fvScalarMatrix> heEqn ( )
pure virtual

◆ thermo() [3/7]

virtual const rhoThermo& thermo ( ) const
pure virtual

◆ thermoRef()

virtual rhoThermo& thermoRef ( )
pure virtual

◆ rho() [4/5]

virtual tmp<volScalarField> rho ( ) const
pure virtual

◆ pure()

virtual bool pure ( ) const
pure virtual

◆ YiEqn()

virtual tmp<fvScalarMatrix> YiEqn ( volScalarField Yi)
pure virtual

◆ Y() [3/4]

virtual const PtrList<volScalarField>& Y ( ) const
pure virtual

◆ Y() [4/4]

virtual const volScalarField& Y ( const word name) const
pure virtual

◆ YRef()

virtual PtrList<volScalarField>& YRef ( )
pure virtual

◆ YActive()

virtual const UPtrList<volScalarField>& YActive ( ) const
pure virtual

◆ YActiveRef()

virtual UPtrList<volScalarField>& YActiveRef ( )
pure virtual

◆ stationary()

virtual bool stationary ( ) const
pure virtual

◆ UEqn()

virtual tmp<fvVectorMatrix> UEqn ( )
pure virtual

◆ UfEqn()

virtual tmp<fvVectorMatrix> UfEqn ( )
pure virtual

◆ U() [4/6]

virtual tmp<volVectorField> U ( ) const
pure virtual

◆ URef()

virtual volVectorField& URef ( )
pure virtual

◆ phi() [5/7]

virtual tmp<surfaceScalarField> phi ( ) const
pure virtual

◆ phiRef()

virtual surfaceScalarField& phiRef ( )
pure virtual

◆ alphaPhi() [5/7]

virtual tmp<surfaceScalarField> alphaPhi ( ) const
pure virtual

◆ alphaPhiRef()

virtual surfaceScalarField& alphaPhiRef ( )
pure virtual

◆ alphaRhoPhi() [1/3]

virtual tmp<surfaceScalarField> alphaRhoPhi ( ) const
pure virtual

◆ alphaRhoPhiRef()

virtual surfaceScalarField& alphaRhoPhiRef ( )
pure virtual

◆ DUDt()

virtual tmp<volVectorField> DUDt ( ) const
pure virtual

Referenced by phaseForces::execute(), and MomentumTransferPhaseSystem< BasePhaseSystem >::momentumTransfer().

Here is the caller graph for this function:

◆ DUDtf()

virtual tmp<surfaceScalarField> DUDtf ( ) const
pure virtual

◆ continuityError()

virtual tmp<volScalarField> continuityError ( ) const
pure virtual

◆ continuityErrorFlow()

virtual tmp<volScalarField> continuityErrorFlow ( ) const
pure virtual

◆ continuityErrorSources()

virtual tmp<volScalarField> continuityErrorSources ( ) const
pure virtual

◆ K()

virtual tmp<volScalarField> K ( ) const
pure virtual

◆ mu() [3/6]

virtual tmp<volScalarField> mu ( ) const
pure virtual

◆ mu() [4/6]

virtual tmp<scalarField> mu ( const label  patchi) const
pure virtual

◆ nu() [4/7]

virtual tmp<volScalarField> nu ( ) const
pure virtual

◆ nu() [5/7]

virtual tmp<scalarField> nu ( const label  patchi) const
pure virtual

◆ alpha() [3/6]

virtual tmp<volScalarField> alpha ( ) const
pure virtual

◆ alpha() [4/6]

virtual tmp<scalarField> alpha ( const label  patchi) const
pure virtual

◆ kappa() [4/7]

virtual tmp<volScalarField> kappa ( ) const
pure virtual

◆ kappa() [5/7]

virtual tmp<scalarField> kappa ( const label  patchi) const
pure virtual

◆ alphahe() [3/6]

virtual tmp<volScalarField> alphahe ( ) const
pure virtual

◆ alphahe() [4/6]

virtual tmp<scalarField> alphahe ( const label  patchi) const
pure virtual

◆ kappaEff() [3/8]

virtual tmp<volScalarField> kappaEff ( const volScalarField alphat) const
pure virtual

◆ kappaEff() [4/8]

virtual tmp<scalarField> kappaEff ( const scalarField alphat,
const label  patchi 
) const
pure virtual

◆ alphaEff() [3/8]

virtual tmp<volScalarField> alphaEff ( const volScalarField alphat) const
pure virtual

◆ alphaEff() [4/8]

virtual tmp<scalarField> alphaEff ( const scalarField alphat,
const label  patchi 
) const
pure virtual

◆ mut()

virtual tmp<volScalarField> mut ( ) const
pure virtual

◆ muEff()

virtual tmp<volScalarField> muEff ( ) const
pure virtual

◆ nut()

virtual tmp<volScalarField> nut ( ) const
pure virtual

◆ nuEff()

virtual tmp<volScalarField> nuEff ( ) const
pure virtual

◆ kappaEff() [5/8]

virtual tmp<volScalarField> kappaEff ( ) const
pure virtual

◆ kappaEff() [6/8]

virtual tmp<scalarField> kappaEff ( const label  patchi) const
pure virtual

◆ alphaEff() [5/8]

virtual tmp<volScalarField> alphaEff ( ) const
pure virtual

◆ alphaEff() [6/8]

virtual tmp<scalarField> alphaEff ( const label  patchi) const
pure virtual

◆ k()

virtual tmp<volScalarField> k ( ) const
pure virtual

◆ pPrime()

virtual tmp<volScalarField> pPrime ( ) const
pure virtual

◆ name() [4/5]

const word& name ( ) const
inline

Definition at line 118 of file phaseModel.H.

◆ fluid() [3/3]

const twoPhaseSystem& fluid ( ) const
inline

Definition at line 124 of file phaseModel.H.

◆ otherPhase()

const Foam::phaseModel & otherPhase ( ) const

◆ residualAlpha() [2/2]

const dimensionedScalar& residualAlpha ( ) const
inline

Definition at line 134 of file phaseModel.H.

◆ alphaMax() [2/2]

scalar alphaMax ( ) const
inline

Definition at line 141 of file phaseModel.H.

◆ d() [3/3]

tmp<volScalarField> d ( ) const

◆ turbulence() [1/2]

Definition at line 224 of file phaseModel.C.

◆ turbulence() [2/2]

◆ thermo() [4/7]

const rhoThermo& thermo ( ) const
inline

Definition at line 159 of file phaseModel.H.

◆ thermo() [5/7]

rhoThermo& thermo ( )
inline

Definition at line 166 of file phaseModel.H.

◆ nu() [6/7]

tmp<volScalarField> nu ( ) const
inline

Definition at line 172 of file phaseModel.H.

◆ nu() [7/7]

tmp<scalarField> nu ( const label  patchi) const
inline

Definition at line 178 of file phaseModel.H.

◆ mu() [5/6]

tmp<volScalarField> mu ( ) const
inline

Definition at line 184 of file phaseModel.H.

◆ mu() [6/6]

tmp<scalarField> mu ( const label  patchi) const
inline

Definition at line 190 of file phaseModel.H.

◆ kappa() [6/7]

tmp<scalarField> kappa ( const label  patchi) const
inline

Definition at line 196 of file phaseModel.H.

◆ kappa() [7/7]

tmp<volScalarField> kappa ( ) const
inline

Definition at line 202 of file phaseModel.H.

◆ alphahe() [5/6]

tmp<volScalarField> alphahe ( ) const
inline

Definition at line 208 of file phaseModel.H.

◆ alphahe() [6/6]

tmp<scalarField> alphahe ( const label  patchi) const
inline

Definition at line 214 of file phaseModel.H.

◆ kappaEff() [7/8]

tmp<volScalarField> kappaEff ( const volScalarField alphat) const
inline

Definition at line 221 of file phaseModel.H.

◆ kappaEff() [8/8]

tmp<scalarField> kappaEff ( const scalarField alphat,
const label  patchi 
) const
inline

Definition at line 230 of file phaseModel.H.

◆ alpha() [5/6]

tmp<volScalarField> alpha ( ) const
inline

Definition at line 239 of file phaseModel.H.

◆ alpha() [6/6]

tmp<scalarField> alpha ( const label  patchi) const
inline

Definition at line 245 of file phaseModel.H.

◆ alphaEff() [7/8]

tmp<volScalarField> alphaEff ( const volScalarField alphat) const
inline

Definition at line 252 of file phaseModel.H.

◆ alphaEff() [8/8]

tmp<scalarField> alphaEff ( const scalarField alphat,
const label  patchi 
) const
inline

Definition at line 261 of file phaseModel.H.

◆ Cp() [4/4]

tmp<volScalarField> Cp ( ) const
inline

Definition at line 270 of file phaseModel.H.

◆ rho() [5/5]

const volScalarField& rho ( ) const
inline

Definition at line 276 of file phaseModel.H.

◆ U() [5/6]

const volVectorField& U ( ) const
inline

Definition at line 282 of file phaseModel.H.

◆ U() [6/6]

volVectorField& U ( )
inline

Definition at line 289 of file phaseModel.H.

◆ phi() [6/7]

const surfaceScalarField& phi ( ) const
inline

Definition at line 295 of file phaseModel.H.

◆ phi() [7/7]

surfaceScalarField& phi ( )
inline

Definition at line 301 of file phaseModel.H.

◆ alphaPhi() [6/7]

const surfaceScalarField& alphaPhi ( ) const
inline

Definition at line 307 of file phaseModel.H.

◆ alphaPhi() [7/7]

surfaceScalarField& alphaPhi ( )
inline

Definition at line 313 of file phaseModel.H.

◆ alphaRhoPhi() [2/3]

const surfaceScalarField& alphaRhoPhi ( ) const
inline

Definition at line 319 of file phaseModel.H.

◆ alphaRhoPhi() [3/3]

surfaceScalarField& alphaRhoPhi ( )
inline

Definition at line 325 of file phaseModel.H.

◆ correctInflowOutflow() [3/3]

void correctInflowOutflow ( surfaceScalarField alphaPhi) const

◆ correct() [4/5]

void correct ( )

◆ read() [4/5]

virtual bool read ( const dictionary phaseProperties)
virtual

◆ read() [5/5]

virtual bool read ( )
inlinevirtual

Definition at line 342 of file phaseModel.H.

◆ clone() [3/3]

autoPtr<phaseModel> clone ( ) const

◆ name() [5/5]

const word& name ( ) const
inline

Definition at line 105 of file phaseModel.H.

◆ keyword() [3/3]

const word& keyword ( ) const
inline

Definition at line 110 of file phaseModel.H.

References phaseModel::name().

Here is the call graph for this function:

◆ thermo() [6/7]

const rhoThermo& thermo ( ) const
inline

Definition at line 116 of file phaseModel.H.

◆ thermo() [7/7]

rhoThermo& thermo ( )
inline

Definition at line 122 of file phaseModel.H.

◆ dgdt() [1/2]

const volScalarField& dgdt ( ) const
inline

Definition at line 128 of file phaseModel.H.

◆ dgdt() [2/2]

volScalarField& dgdt ( )
inline

Definition at line 134 of file phaseModel.H.

◆ correct() [5/5]

void correct ( )

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