Public Member Functions | List of all members
BlendedInterfacialModel< ModelType > Class Template Reference
Inheritance diagram for BlendedInterfacialModel< ModelType >:
Inheritance graph
[legend]
Collaboration diagram for BlendedInterfacialModel< ModelType >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("BlendedInterfacialModel")
 
 BlendedInterfacialModel (const phaseModel &phase1, const phaseModel &phase2, const blendingMethod &blending, autoPtr< ModelType > model, autoPtr< ModelType > model1In2, autoPtr< ModelType > model2In1, const bool correctFixedFluxBCs=true)
 
 BlendedInterfacialModel (const phasePair::dictTable &modelTable, const blendingMethod &blending, const phasePair &pair, const orderedPhasePair &pair1In2, const orderedPhasePair &pair2In1, const bool correctFixedFluxBCs=true)
 
 ~BlendedInterfacialModel ()
 
bool hasModel (const phaseModel &phase) const
 
const ModelType & model (const phaseModel &phase) const
 
scalar sign (const phaseModel &phase) const
 
tmp< volScalarFieldK () const
 
tmp< volScalarFieldK (const scalar residualAlpha) const
 
tmp< surfaceScalarFieldKf () const
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > F () const
 
tmp< surfaceScalarFieldFf () const
 
tmp< volScalarFieldD () const
 
tmp< volScalarFielddmdt () const
 
bool writeData (Ostream &os) const
 
 BlendedInterfacialModel (const phasePair::dictTable &modelTable, const blendingMethod &blending, const phasePair &pair, const orderedPhasePair &pair1In2, const orderedPhasePair &pair2In1, const bool correctFixedFluxBCs=true)
 
 ~BlendedInterfacialModel ()
 
bool hasModel (const phaseModel &phase) const
 
const modelType & phaseModel (const phaseModel &phase) const
 
tmp< volScalarFieldK () const
 
tmp< surfaceScalarFieldKf () const
 
template<class Type >
tmp< GeometricField< Type, fvPatchField, volMesh > > F () const
 
tmp< surfaceScalarFieldFf () const
 
tmp< volScalarFieldD () const
 
template<class Type , template< class > class PatchField, class GeoMesh , class ... Args>
Foam::tmp< Foam::GeometricField< Type, PatchField, GeoMesh > > evaluate (tmp< GeometricField< Type, PatchField, GeoMesh >>(ModelType::*method)(Args ...) const, const word &name, const dimensionSet &dims, const bool subtract, Args ... args) const
 
template<class Type >
Foam::tmp< Foam::GeometricField< Type, Foam::fvPatchField, Foam::volMesh > > F () const
 
- Public Member Functions inherited from regIOobject
 TypeName ("regIOobject")
 
 regIOobject (const IOobject &io, const bool isTimeObject=false)
 
 regIOobject (const regIOobject &rio)
 
 regIOobject (const regIOobject &rio, bool registerCopy)
 
 regIOobject (const word &newName, const regIOobject &, bool registerCopy)
 
 regIOobject (const IOobject &io, const regIOobject &rio)
 
virtual ~regIOobject ()
 
bool checkIn ()
 
bool checkOut ()
 
virtual void addWatch ()
 
bool ownedByRegistry () const
 
bool store ()
 
void release (const bool unregister=false)
 
label eventNo () const
 
label & eventNo ()
 
bool upToDate (const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const
 
bool upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const
 
void setUpToDate ()
 
virtual void rename (const word &newName)
 
const dictionaryfindMetaData () const noexcept
 
dictionarygetMetaData () noexcept
 
void removeMetaData ()
 
virtual void updateMetaData ()
 
virtual fileName filePath () const
 
bool headerOk ()
 
IstreamreadStream (const word &, const bool valid=true)
 
void close ()
 
virtual bool readData (Istream &)
 
virtual bool read ()
 
virtual label addWatch (const fileName &)
 
const labelListwatchIndices () const
 
labelListwatchIndices ()
 
virtual bool modified () const
 
virtual bool readIfModified ()
 
virtual bool writeObject (IOstreamOption streamOpt, const bool valid) const
 
virtual bool write (const bool valid=true) const
 
virtual bool global () const
 
void operator= (const IOobject &io)
 
virtual bool writeObject (IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver, IOstreamOption::compressionType comp, const bool valid) const
 
- Public Member Functions inherited from IOobject
 TypeName ("IOobject")
 
 IOobject (const IOobject &)=default
 
virtual ~IOobject ()=default
 
 IOobject (const word &name, const fileName &instance, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const fileName &path, const objectRegistry &registry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false)
 
 IOobject (const IOobject &io, const objectRegistry &registry)
 
 IOobject (const IOobject &io, const word &name)
 
 IOobject (const IOobject &io, readOption, writeOption)
 
autoPtr< IOobjectclone () const
 
autoPtr< IOobjectclone (const objectRegistry &registry) const
 
const objectRegistrydb () const noexcept
 
const Timetime () const
 
const wordname () const noexcept
 
const wordheaderClassName () const noexcept
 
wordheaderClassName () noexcept
 
const stringnote () const noexcept
 
stringnote () noexcept
 
bool registerObject () const noexcept
 
bool registerObject (bool on) noexcept
 
bool globalObject () const noexcept
 
bool globalObject (bool on) noexcept
 
unsigned labelByteSize () const noexcept
 
unsigned scalarByteSize () const noexcept
 
bool isHeaderClassName (const word &clsName) const
 
template<class Type >
bool isHeaderClassName () const
 
readOption readOpt () const noexcept
 
readOption readOpt (readOption opt) noexcept
 
writeOption writeOpt () const noexcept
 
writeOption writeOpt (writeOption opt) noexcept
 
word group () const
 
word member () const
 
const fileNamerootPath () const
 
const fileNamecaseName () const
 
const fileNameinstance () const noexcept
 
fileNameinstance () noexcept
 
const fileNamelocal () const noexcept
 
fileName path () const
 
fileName path (const word &instance, const fileName &local=fileName::null) const
 
fileName objectPath () const
 
fileName objectRelPath () const
 
fileName localFilePath (const word &typeName, const bool search=true) const
 
fileName globalFilePath (const word &typeName, const bool search=true) const
 
IOstreamOption parseHeader (const dictionary &headerDict)
 
bool readHeader (Istream &is)
 
bool readHeader (dictionary &headerDict, Istream &is)
 
template<class Type >
bool typeHeaderOk (const bool checkType=true, const bool search=true, const bool verbose=true)
 
template<class Type >
void warnNoRereading () const
 
bool writeHeader (Ostream &os) const
 
bool writeHeader (Ostream &os, const word &objectType) const
 
void writeHeader (dictionary &dict, IOstreamOption streamOpt) const
 
void writeHeader (dictionary &dict, const word &objectType, IOstreamOption streamOpt) const
 
bool good () const noexcept
 
bool bad () const noexcept
 
InfoProxy< IOobjectinfo () const
 
void operator= (const IOobject &io)
 
readOptionreadOpt () noexcept
 
writeOptionwriteOpt () noexcept
 
boolregisterObject () noexcept
 
boolglobalObject () noexcept
 
template<>
bool isHeaderClassName () const
 
template<class StringType >
Foam::word groupName (StringType base, const word &group)
 

Additional Inherited Members

- Public Types inherited from IOobject
enum  objectState : char { GOOD, BAD }
 
enum  readOption : char { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ }
 
enum  writeOption : char { AUTO_WRITE = 0, NO_WRITE = 1 }
 
enum  fileCheckTypes : char { timeStamp, timeStampMaster, inotify, inotifyMaster }
 
- Static Public Member Functions inherited from regIOobject
template<class Type >
static Type & store (Type *p)
 
template<class Type >
static Type & store (autoPtr< Type > &ptr)
 
template<class Type >
static Type & store (autoPtr< Type > &&ptr)
 
template<class Type >
static Type & store (refPtr< Type > &ptr)
 
template<class Type >
static Type & store (refPtr< Type > &&ptr)
 
template<class Type >
static Type & store (tmp< Type > &ptr)
 
template<class Type >
static Type & store (tmp< Type > &&ptr)
 
- Static Public Member Functions inherited from IOobject
static bool bannerEnabled () noexcept
 
static bool bannerEnabled (bool on) noexcept
 
static bool fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name)
 
template<class StringType >
static word groupName (StringType base, const word &group)
 
static word group (const word &name)
 
static word member (const word &name)
 
static word scopedName (const std::string &scope, const word &name)
 
static IOobject selectIO (const IOobject &io, const fileName &altFile, const word &ioName="")
 
static OstreamwriteBanner (Ostream &os, const bool noSyntaxHint=false)
 
static OstreamwriteDivider (Ostream &os)
 
static OstreamwriteEndDivider (Ostream &os)
 
- Static Public Attributes inherited from IOobject
static const Enum< fileCheckTypesfileCheckTypesNames
 
static char scopeSeparator
 
static fileCheckTypes fileModificationChecking
 
static float fileModificationSkew
 
static int maxFileModificationPolls
 
- Protected Member Functions inherited from regIOobject
bool readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName)
 
- Protected Member Functions inherited from IOobject
void setBad (const string &s)
 
- Static Protected Member Functions inherited from IOobject
static void writeHeaderContent (Ostream &os, const IOobject &io, const word &objectType, const dictionary *metaDataDict=nullptr)
 
static void writeHeaderContent (dictionary &dict, const IOobject &io, const word &objectType, IOstreamOption streamOpt, const dictionary *metaDataDict=nullptr)
 
- Static Protected Attributes inherited from regIOobject
static bool masterOnlyReading = false
 

Detailed Description

template<class ModelType>
class Foam::BlendedInterfacialModel< ModelType >

Source files

Source files

Definition at line 64 of file BlendedInterfacialModel.H.

Constructor & Destructor Documentation

◆ BlendedInterfacialModel() [1/3]

BlendedInterfacialModel ( const phaseModel phase1,
const phaseModel phase2,
const blendingMethod blending,
autoPtr< ModelType >  model,
autoPtr< ModelType >  model1In2,
autoPtr< ModelType >  model2In1,
const bool  correctFixedFluxBCs = true 
)

Definition at line 188 of file BlendedInterfacialModel.C.

◆ BlendedInterfacialModel() [2/3]

BlendedInterfacialModel ( const phasePair::dictTable modelTable,
const blendingMethod blending,
const phasePair pair,
const orderedPhasePair pair1In2,
const orderedPhasePair pair2In1,
const bool  correctFixedFluxBCs = true 
)

Definition at line 219 of file BlendedInterfacialModel.C.

References HashTable::found(), and Foam::New().

Here is the call graph for this function:

◆ ~BlendedInterfacialModel() [1/2]

Definition at line 283 of file BlendedInterfacialModel.C.

◆ BlendedInterfacialModel() [3/3]

BlendedInterfacialModel ( const phasePair::dictTable modelTable,
const blendingMethod blending,
const phasePair pair,
const orderedPhasePair pair1In2,
const orderedPhasePair pair2In1,
const bool  correctFixedFluxBCs = true 
)

◆ ~BlendedInterfacialModel() [2/2]

Member Function Documentation

◆ TypeName()

TypeName ( "BlendedInterfacialModel< ModelType >"  )

◆ hasModel() [1/2]

bool hasModel ( const phaseModel phase) const

◆ model()

const ModelType & model ( const phaseModel phase) const

Definition at line 304 of file BlendedInterfacialModel.C.

◆ sign()

scalar sign ( const phaseModel phase) const

◆ K() [1/3]

Definition at line 314 of file BlendedInterfacialModel.C.

References Foam::stringOps::evaluate(), and k.

Here is the call graph for this function:

◆ K() [2/3]

Foam::tmp< Foam::volScalarField > K ( const scalar  residualAlpha) const

Definition at line 324 of file BlendedInterfacialModel.C.

References Foam::stringOps::evaluate(), and k.

Here is the call graph for this function:

◆ Kf() [1/2]

Definition at line 334 of file BlendedInterfacialModel.C.

References Foam::stringOps::evaluate().

Here is the call graph for this function:

◆ F() [1/3]

tmp<GeometricField<Type, fvPatchField, volMesh> > F ( ) const

◆ Ff() [1/2]

Definition at line 351 of file BlendedInterfacialModel.C.

References Foam::dimArea, Foam::stringOps::evaluate(), and Ff().

Here is the call graph for this function:

◆ D() [1/2]

Definition at line 359 of file BlendedInterfacialModel.C.

References D, and Foam::stringOps::evaluate().

Here is the call graph for this function:

◆ dmdt()

Definition at line 367 of file BlendedInterfacialModel.C.

References Foam::stringOps::evaluate().

Here is the call graph for this function:

◆ writeData()

bool writeData ( Ostream os) const
virtual

Implements regIOobject.

Definition at line 374 of file BlendedInterfacialModel.C.

References os().

Here is the call graph for this function:

◆ hasModel() [2/2]

bool hasModel ( const phaseModel phase) const

◆ phaseModel()

const modelType & phaseModel ( const phaseModel phase) const

Definition at line 456 of file BlendedInterfacialModel.C.

◆ K() [3/3]

tmp<volScalarField> K ( ) const

◆ Kf() [2/2]

tmp<surfaceScalarField> Kf ( ) const

◆ F() [2/3]

tmp<GeometricField<Type, fvPatchField, volMesh> > F ( ) const

◆ Ff() [2/2]

tmp<surfaceScalarField> Ff ( ) const

◆ D() [2/2]

tmp<volScalarField> D ( ) const

◆ evaluate()

Foam::tmp<Foam::GeometricField<Type, PatchField, GeoMesh> > evaluate ( tmp< GeometricField< Type, PatchField, GeoMesh >>(ModelType::*)(Args ...) const  method,
const word name,
const dimensionSet dims,
const bool  subtract,
Args ...  args 
) const

Definition at line 89 of file BlendedInterfacialModel.C.

References args, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::name(), Foam::subtract(), x, and Foam::Zero.

Here is the call graph for this function:

◆ F() [3/3]

Definition at line 343 of file BlendedInterfacialModel.C.

References Foam::stringOps::evaluate(), and F().

Here is the call graph for this function:

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