Class to represent a interface between phases where one phase is considered dispersed within the other. More...


Public Member Functions | |
| TypeName ("dispersedPhaseInterface") | |
| Runtime type information. More... | |
| dispersedPhaseInterface (const phaseModel &dispersed, const phaseModel &continuous) | |
| Construct from phases. More... | |
| dispersedPhaseInterface (const phaseSystem &fluid, const word &name) | |
| Construct from fluid and name. More... | |
| virtual | ~dispersedPhaseInterface () |
| Destructor. More... | |
| virtual word | name () const |
| Name. More... | |
| const phaseModel & | dispersed () const |
| Dispersed phase. More... | |
| const phaseModel & | continuous () const |
| Continuous phase. More... | |
| scalar | sign () const |
| Return the sign. +1 if the dispersed phase is first. -1 if the. More... | |
| tmp< volVectorField > | Ur () const |
| Relative velocity. More... | |
| tmp< volScalarField > | Re () const |
| Reynolds number. More... | |
| tmp< volScalarField > | Pr () const |
| Prandtl number. More... | |
| tmp< volScalarField > | Eo () const |
| Eotvos number. More... | |
| tmp< volScalarField > | Eo (const volScalarField &d) const |
| Eotvos number for given diameter. More... | |
| tmp< volScalarField > | Mo () const |
| Morton Number. More... | |
| tmp< volScalarField > | Ta () const |
| Takahashi Number. More... | |
Public Member Functions inherited from phaseInterface | |
| TypeName ("phaseInterface") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, phaseInterface, word,(const phaseSystem &fluid, const word &name),(fluid, name)) | |
| phaseInterface (const phaseModel &phase1, const phaseModel &phase2) | |
| Construct from phases. More... | |
| phaseInterface (const Tuple2< const phaseModel &, const phaseModel & > &phases) | |
| Construct from phases. More... | |
| phaseInterface (const phaseSystem &fluid, const word &name) | |
| Construct from fluid and name. More... | |
| phaseInterface (const phaseSystem &fluid, const phaseInterfaceKey &name) | |
| Construct from fluid and key. More... | |
| virtual autoPtr< phaseInterface > | clone () const |
| Clone function. More... | |
| virtual | ~phaseInterface () |
| Destructor. More... | |
| template<class ModelType , class Derived > | |
| const Derived & | modelCast () const |
| Cast to derived type for use in a model. More... | |
| virtual const volScalarField & | alpha1 () const |
| Return the volume fraction of phase 1. More... | |
| virtual const volScalarField & | alpha2 () const |
| Return the volume fraction of phase 2. More... | |
| virtual const rhoFluidThermo & | thermo1 () const |
| Return the thermo for phase 1. More... | |
| virtual const rhoFluidThermo & | thermo2 () const |
| Return the thermo for phase 2. More... | |
| virtual const volScalarField & | rho1 () const |
| Return the density of phase 1. More... | |
| virtual const volScalarField & | rho2 () const |
| Return the density of phase 2. More... | |
| const phaseModel & | phase1 () const |
| Return phase 1. More... | |
| const phaseModel & | phase2 () const |
| Return phase 2. More... | |
| bool | contains (const phaseModel &phase) const |
| Return true if this phaseInterface contains the given phase. More... | |
| bool | operator== (const phaseInterface &interface) const |
| Return true if the phase interfaces are the same. More... | |
| bool | operator!= (const phaseInterface &interface) const |
| Return true if the phase interfaces are different. More... | |
| const phaseModel & | otherPhase (const phaseModel &phase) const |
| Return the other phase relative to the given phase. More... | |
| label | index (const phaseModel &phase) const |
| Return the index of the given phase. Generates a FatalError if. More... | |
| const phaseModel & | operator[] (const label index) const |
| Access the phase for the given index. Generates a FatalError if. More... | |
| const phaseSystem & | fluid () const |
| Return the phase system. More... | |
| const fvMesh & | mesh () const |
| Return the mesh. More... | |
| tmp< volScalarField > | rho () const |
| Average density. More... | |
| tmp< volScalarField > | magUr () const |
| Relative velocity magnitude. More... | |
| tmp< volScalarField > | sigma () const |
| Surface tension coefficient. More... | |
| const_iterator | cbegin () const |
| const_iterator set to the beginning of the interface More... | |
| const_iterator | cend () const |
| const_iterator set to beyond the end of the interface More... | |
| const_iterator | begin () const |
| const_iterator set to the beginning of the interface More... | |
| const_iterator | end () const |
| const_iterator set to beyond the end of the interface More... | |
Public Member Functions inherited from compressibleTwoPhases | |
| TypeName ("compressibleTwoPhases") | |
| Runtime type information. More... | |
| compressibleTwoPhases () | |
| Default construct. More... | |
| virtual | ~compressibleTwoPhases () |
| Destructor. More... | |
| const rhoFluidThermo & | thermo (const bool index) const |
| Return the density of a given phase. More... | |
| const volScalarField & | rho (const bool index) const |
| Return the density of a given phase. More... | |
Public Member Functions inherited from twoPhases | |
| TypeName ("twoPhases") | |
| Runtime type information. More... | |
| twoPhases () | |
| Default construct. More... | |
| virtual | ~twoPhases () |
| Destructor. More... | |
| const fvMesh & | mesh () const |
| Access the mesh. More... | |
| bool | index (const word &name) const |
| Return the index associated with a given phase name. More... | |
| const volScalarField & | alpha (const bool index) const |
| Return the volume-fraction of a given phase. More... | |
Static Public Member Functions | |
| static word | separator () |
| Return the separator that delimits this interface's name. More... | |
Static Public Member Functions inherited from phaseInterface | |
| static const phaseModel & | getPhase1 (const phaseModel &phase1, const phaseModel &phase2) |
| Get a reference to phase1 after sorting the phases by index. More... | |
| static const phaseModel & | getPhase2 (const phaseModel &phase1, const phaseModel &phase2) |
| Get a reference to phase2 after sorting the phases by index. More... | |
| static bool | addHeadSeparator (const word &separator) |
| Add a head separator to the list. More... | |
| static bool | addOldSeparatorToSeparator (const word &oldSeparator, const word &separator) |
| Add a old separator to separator to the table. More... | |
| static wordList | nameToNameParts (const phaseSystem &fluid, const word &name) |
| Split an interface name and return all its parts. More... | |
| static wordList | nameToSeparators (const phaseSystem &fluid, const word &name) |
| Split an interface name and return its separators. More... | |
| static word | separatorsToTypeName (const wordList &separators) |
| Convert a list of separators into a type name. More... | |
| static word | nameToTypeName (const phaseSystem &fluid, const word &name) |
| Convert an interface name into a type name. Essentially just. More... | |
| static word | namePartsToName (const phaseSystem &fluid, const wordList &nameParts) |
| Convert interface name parts to an interface name. More... | |
| static word | oldNamePartsToName (const phaseSystem &fluid, const wordList &oldNameParts) |
| Convert old-format interface name parts to an interface name. Used. More... | |
| static Tuple2< const phaseModel &, const phaseModel & > | identifyPhases (const phaseSystem &fluid, const word &name, const wordList &separators) |
| Return references to the phases associated with a given name, and a. More... | |
| static autoPtr< phaseInterface > | New (const phaseSystem &fluid, const word &name) |
| Select given fluid and name. More... | |
| static autoPtr< phaseInterface > | New (const phaseInterface &interface1, const phaseInterface &interface2) |
| Select by combining two interfaces. More... | |
| static word | separator () |
| Return the separator that delimits this interface's name. More... | |
Protected Member Functions | |
| virtual bool | same (const phaseInterface &interface, bool strict) const |
| Return true if the phase interfaces are the same. More... | |
Class to represent a interface between phases where one phase is considered dispersed within the other.
Definition at line 49 of file dispersedPhaseInterface.H.
| dispersedPhaseInterface | ( | const phaseModel & | dispersed, |
| const phaseModel & | continuous | ||
| ) |
Construct from phases.
Definition at line 76 of file dispersedPhaseInterface.C.
| dispersedPhaseInterface | ( | const phaseSystem & | fluid, |
| const word & | name | ||
| ) |
Construct from fluid and name.
Definition at line 87 of file dispersedPhaseInterface.C.
References dispersedPhaseInterface::separator().

|
virtual |
Destructor.
Definition at line 100 of file dispersedPhaseInterface.C.
|
protectedvirtual |
Return true if the phase interfaces are the same.
Reimplemented from phaseInterface.
Reimplemented in dispersedSidedPhaseInterface, dispersedDisplacedSidedPhaseInterface, and dispersedDisplacedPhaseInterface.
Definition at line 59 of file dispersedPhaseInterface.C.
References phaseInterface::same().
Referenced by dispersedDisplacedPhaseInterface::same(), dispersedDisplacedSidedPhaseInterface::same(), and dispersedSidedPhaseInterface::same().


| TypeName | ( | "dispersedPhaseInterface" | ) |
Runtime type information.
|
inlinestatic |
Return the separator that delimits this interface's name.
Definition at line 99 of file dispersedPhaseInterface.H.
Referenced by Foam::defineTypeNameAndDebugWithName(), and dispersedPhaseInterface::dispersedPhaseInterface().

|
virtual |
Name.
Reimplemented from phaseInterface.
Reimplemented in dispersedSidedPhaseInterface, dispersedDisplacedSidedPhaseInterface, and dispersedDisplacedPhaseInterface.
Definition at line 106 of file dispersedPhaseInterface.C.
Referenced by dispersedDisplacedPhaseInterface::name(), dispersedDisplacedSidedPhaseInterface::name(), and dispersedSidedPhaseInterface::name().

| const Foam::phaseModel & dispersed | ( | ) | const |
Dispersed phase.
Definition at line 112 of file dispersedPhaseInterface.C.
Referenced by cosine::limiter(), linear::limiter(), and sine::limiter().

| const Foam::phaseModel & continuous | ( | ) | const |
Continuous phase.
Definition at line 118 of file dispersedPhaseInterface.C.
| Foam::scalar sign | ( | ) | const |
Return the sign. +1 if the dispersed phase is first. -1 if the.
continuous phase is first.
Definition at line 124 of file dispersedPhaseInterface.C.
| Foam::tmp< Foam::volVectorField > Ur | ( | ) | const |
Relative velocity.
Definition at line 130 of file dispersedPhaseInterface.C.
| Foam::tmp< Foam::volScalarField > Re | ( | ) | const |
Reynolds number.
Definition at line 136 of file dispersedPhaseInterface.C.
| Foam::tmp< Foam::volScalarField > Pr | ( | ) | const |
Prandtl number.
Definition at line 142 of file dispersedPhaseInterface.C.
| Foam::tmp< Foam::volScalarField > Eo | ( | ) | const |
Eotvos number.
Definition at line 152 of file dispersedPhaseInterface.C.
| Foam::tmp< Foam::volScalarField > Eo | ( | const volScalarField & | d | ) | const |
Eotvos number for given diameter.
Definition at line 158 of file dispersedPhaseInterface.C.
References objectRegistry::lookupObject(), Foam::mag(), mesh, rho, Foam::constant::physicoChemical::sigma, and Foam::sqr().

| Foam::tmp< Foam::volScalarField > Mo | ( | ) | const |
Morton Number.
Definition at line 174 of file dispersedPhaseInterface.C.
References objectRegistry::lookupObject(), Foam::mag(), mesh, Foam::pow3(), rho, and Foam::constant::physicoChemical::sigma.

| Foam::tmp< Foam::volScalarField > Ta | ( | ) | const |
Takahashi Number.
Definition at line 191 of file dispersedPhaseInterface.C.
References Foam::pow(), and Foam::Re().
