Description for mass transfer between a pair of phases. The direction of the mass transfer is from the phase 'from' to the phasse 'to'. More...
Classes | |
class | const_iterator |
Public Types | |
typedef HashTable< dictionary, phasePairKey, phasePairKey::hash > | dictTable |
typedef HashTable< scalar, phasePairKey, phasePairKey::hash > | scalarTable |
typedef HashTable< dictionary, phasePairKey, phasePairKey::hash > | dictTable |
typedef HashTable< scalar, phasePairKey, phasePairKey::hash > | scalarTable |
![]() | |
using | hash = phasePairKey::hasher |
using | hash = phasePairKey::hasher |
using | hash = phasePairKey::hasher |
Public Member Functions | |
phasePair (const phaseModel &phase1, const phaseModel &phase2, const bool ordered=false) | |
virtual | ~phasePair ()=default |
virtual const phaseModel & | from () const |
virtual const phaseModel & | to () const |
virtual word | name () const |
const phaseModel & | phase1 () const |
const phaseModel & | phase2 () const |
phasePair (const phaseModel &phase1, const phaseModel &phase2, const bool ordered=false) | |
virtual | ~phasePair () |
virtual const phaseModel & | dispersed () const |
virtual const phaseModel & | continuous () const |
virtual word | name () const |
virtual word | otherName () const |
tmp< volScalarField > | rho () const |
tmp< volScalarField > | magUr () const |
tmp< volVectorField > | Ur () const |
tmp< volScalarField > | Re () const |
tmp< volScalarField > | Pr () const |
tmp< volScalarField > | Eo () const |
tmp< volScalarField > | EoH1 () const |
tmp< volScalarField > | EoH2 () const |
tmp< volScalarField > | sigma () const |
tmp< volScalarField > | Mo () const |
tmp< volScalarField > | Ta () const |
virtual tmp< volScalarField > | E () const |
const phaseModel & | phase1 () const |
const phaseModel & | phase2 () const |
bool | contains (const phaseModel &phase) const |
const phaseModel & | otherPhase (const phaseModel &phase) const |
label | index (const phaseModel &phase) const |
const uniformDimensionedVectorField & | g () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_iterator | begin () const |
const_iterator | end () const |
phasePair (const phaseModel &phase1, const phaseModel &phase2, const dimensionedVector &g, const scalarTable &sigmaTable, const bool ordered=false) | |
virtual | ~phasePair () |
virtual const phaseModel & | dispersed () const |
virtual const phaseModel & | continuous () const |
virtual word | name () const |
tmp< volScalarField > | rho () const |
tmp< volScalarField > | magUr () const |
tmp< volVectorField > | Ur () const |
tmp< volScalarField > | Re () const |
tmp< volScalarField > | Pr () const |
tmp< volScalarField > | Eo () const |
tmp< volScalarField > | EoH1 () const |
tmp< volScalarField > | EoH2 () const |
tmp< volScalarField > | Mo () const |
tmp< volScalarField > | Ta () const |
virtual tmp< volScalarField > | E () const |
const phaseModel & | phase1 () const |
const phaseModel & | phase2 () const |
const dimensionedVector & | g () const |
const dimensionedScalar & | sigma () const |
![]() | |
phasePairKey ()=default | |
phasePairKey (const word &name1, const word &name2, const bool ordered=false) | |
virtual | ~phasePairKey ()=default |
bool | ordered () const noexcept |
phasePairKey ()=default | |
phasePairKey (const word &name1, const word &name2, const bool ordered=false) | |
virtual | ~phasePairKey ()=default |
bool | ordered () const noexcept |
phasePairKey ()=default | |
phasePairKey (const word &name1, const word &name2, const bool ordered=false) | |
virtual | ~phasePairKey ()=default |
bool | ordered () const noexcept |
![]() | |
Pair ()=default | |
Pair (const T &f, const T &s) | |
Pair (T &&f, T &&s) | |
Pair (const std::pair< T, T > &vals) | |
Pair (std::pair< T, T > &&vals) | |
Pair (const FixedList< T, 2 > &list) | |
Pair (const T &f, const T &s, const bool doSort) | |
Pair (const FixedList< T, 2 > &list, const bool doSort) | |
Pair (Istream &is) | |
const T & | second () const noexcept |
T & | second () noexcept |
const T & | other (const T &a) const |
bool | sorted () const |
void | flip () |
void | sort () |
Additional Inherited Members | |
![]() | |
static int | compare (const Pair< T > &a, const Pair< T > &b) |
Description for mass transfer between a pair of phases. The direction of the mass transfer is from the phase 'from' to the phasse 'to'.
Definition at line 49 of file phasePair.H.
typedef HashTable<dictionary, phasePairKey, phasePairKey::hash> dictTable |
Definition at line 57 of file phasePair.H.
typedef HashTable<scalar, phasePairKey, phasePairKey::hash> scalarTable |
Definition at line 61 of file phasePair.H.
typedef HashTable<dictionary, phasePairKey, phasePairKey::hash> dictTable |
Definition at line 56 of file phasePair.H.
typedef HashTable<scalar, phasePairKey, phasePairKey::hash> scalarTable |
Definition at line 60 of file phasePair.H.
phasePair | ( | const phaseModel & | phase1, |
const phaseModel & | phase2, | ||
const bool | ordered = false |
||
) |
Definition at line 28 of file phasePair.C.
|
virtualdefault |
Definition at line 59 of file phasePair.C.
phasePair | ( | const phaseModel & | phase1, |
const phaseModel & | phase2, | ||
const bool | ordered = false |
||
) |
|
virtual |
phasePair | ( | const phaseModel & | phase1, |
const phaseModel & | phase2, | ||
const dimensionedVector & | g, | ||
const scalarTable & | sigmaTable, | ||
const bool | ordered = false |
||
) |
Definition at line 41 of file phasePair.C.
|
virtual |
|
virtual |
Reimplemented in orderedPhasePair.
Definition at line 42 of file phasePair.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by interfaceHeatResistance< Thermo, OtherThermo >::Kexp(), kineticGasEvaporation< Thermo, OtherThermo >::Kexp(), and interfaceOxideRate< Thermo, OtherThermo >::Kexp().
|
virtual |
Reimplemented in orderedPhasePair.
Definition at line 52 of file phasePair.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by interfaceHeatResistance< Thermo, OtherThermo >::Kexp(), kineticGasEvaporation< Thermo, OtherThermo >::Kexp(), and interfaceOxideRate< Thermo, OtherThermo >::Kexp().
|
virtual |
Reimplemented in orderedPhasePair, orderedPhasePair, and orderedPhasePair.
Definition at line 62 of file phasePair.C.
Referenced by phaseChange::addToDriftRate(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::InterfaceCompositionPhaseChangePhaseSystem(), MomentumTransferPhaseSystem< BasePhaseSystem >::MomentumTransferPhaseSystem(), phaseChange::phaseChange(), PopulationBalancePhaseSystem< BasePhaseSystem >::PopulationBalancePhaseSystem(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::ThermalPhaseChangePhaseSystem(), and TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::TwoResistanceHeatTransferPhaseSystem().
|
inline |
Definition at line 23 of file phasePairI.H.
Referenced by MassTransferPhaseSystem< BasePhaseSystem >::alphaTransfer(), turbulentDispersionModel::continuousTurbulence(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), PopulationBalancePhaseSystem< BasePhaseSystem >::dmdts(), PhaseTransferPhaseSystem< BasePhaseSystem >::dmdts(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::dmdts(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::dmdts(), orderedPhasePair::from(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::heatTransfer(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::InterfaceCompositionPhaseChangePhaseSystem(), PopulationBalancePhaseSystem< BasePhaseSystem >::massTransfer(), PhaseTransferPhaseSystem< BasePhaseSystem >::massTransfer(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::massTransfer(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::massTransfer(), interfaceCompositionModel::New(), phaseForces::nonDragForce(), NonRandomTwoLiquid< Thermo, OtherThermo >::NonRandomTwoLiquid(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialElimination(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialEliminationf(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFfs(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFs(), constantSurfaceTensionCoefficient::sigma(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::TwoResistanceHeatTransferPhaseSystem(), and MassTransferPhaseSystem< BasePhaseSystem >::volTransfer().
|
inline |
Definition at line 29 of file phasePairI.H.
Referenced by MassTransferPhaseSystem< BasePhaseSystem >::alphaTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), PopulationBalancePhaseSystem< BasePhaseSystem >::dmdts(), PhaseTransferPhaseSystem< BasePhaseSystem >::dmdts(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::dmdts(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::dmdts(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::heatTransfer(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::InterfaceCompositionPhaseChangePhaseSystem(), PopulationBalancePhaseSystem< BasePhaseSystem >::massTransfer(), PhaseTransferPhaseSystem< BasePhaseSystem >::massTransfer(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::massTransfer(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::massTransfer(), interfaceCompositionModel::New(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialElimination(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialEliminationf(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFfs(), MomentumTransferPhaseSystem< BasePhaseSystem >::phiFs(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::TwoResistanceHeatTransferPhaseSystem(), and MassTransferPhaseSystem< BasePhaseSystem >::volTransfer().
|
virtual |
Reimplemented in orderedPhasePair, and orderedPhasePair.
Definition at line 65 of file phasePair.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by wallLubricationModel::F(), linear::limiter(), sine::limiter(), and cosine::limiter().
|
virtual |
Reimplemented in orderedPhasePair, and orderedPhasePair.
Definition at line 75 of file phasePair.C.
References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by turbulentDispersionModel::continuousTurbulence(), liftModel::Fi(), and virtualMassModel::Ki().
|
virtual |
Reimplemented in orderedPhasePair, orderedPhasePair, and orderedPhasePair.
|
virtual |
Reimplemented in orderedPhasePair.
Definition at line 93 of file phasePair.C.
Foam::tmp< Foam::volScalarField > rho | ( | ) | const |
Definition at line 101 of file phasePair.C.
References phase1, phase2, and phaseModel::rho().
Foam::tmp< Foam::volScalarField > magUr | ( | ) | const |
Definition at line 107 of file phasePair.C.
References Foam::mag(), phase1, phase2, and U.
Foam::tmp< Foam::volVectorField > Ur | ( | ) | const |
Definition at line 113 of file phasePair.C.
Referenced by liftModel::Fi().
Foam::tmp< Foam::volScalarField > Re | ( | ) | const |
Definition at line 119 of file phasePair.C.
Foam::tmp< Foam::volScalarField > Pr | ( | ) | const |
Definition at line 125 of file phasePair.C.
Foam::tmp< Foam::volScalarField > Eo | ( | ) | const |
Definition at line 135 of file phasePair.C.
Foam::tmp< Foam::volScalarField > EoH1 | ( | ) | const |
Definition at line 141 of file phasePair.C.
References Foam::cbrt(), and Foam::pow().
Foam::tmp< Foam::volScalarField > EoH2 | ( | ) | const |
Definition at line 152 of file phasePair.C.
References Foam::cbrt().
|
inline |
Definition at line 163 of file phasePair.C.
References phaseModel::fluid(), phaseSystem::lookupSubModel(), phase1, phase2, and sigma().
Foam::tmp< Foam::volScalarField > Mo | ( | ) | const |
Definition at line 173 of file phasePair.C.
References g, Foam::mag(), nu, Foam::pow3(), rho, and sigma().
Foam::tmp< Foam::volScalarField > Ta | ( | ) | const |
Definition at line 187 of file phasePair.C.
References Foam::pow(), and Foam::Re().
|
virtual |
Reimplemented in orderedPhasePair, and orderedPhasePair.
Definition at line 193 of file phasePair.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and phase1.
|
inline |
|
inline |
|
inline |
Definition at line 35 of file phasePairI.H.
Referenced by phaseChange::addToDriftRate(), phaseChange::correct(), phaseForces::execute(), phaseSystem::generatePairsAndSubModels(), and phaseForces::phaseForces().
|
inline |
Definition at line 42 of file phasePairI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and phase::name().
Referenced by phaseForces::execute().
|
inline |
Definition at line 65 of file phasePairI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and phase::name().
Referenced by phaseSystem::generatePairsAndSubModels(), and InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::InterfaceCompositionPhaseChangePhaseSystem().
|
inline |
Definition at line 86 of file phasePairI.H.
|
inline |
Definition at line 187 of file phasePairI.H.
|
inline |
Definition at line 193 of file phasePairI.H.
|
inline |
Definition at line 199 of file phasePairI.H.
|
inline |
Definition at line 205 of file phasePairI.H.
|
virtual |
Reimplemented in orderedPhasePair, and orderedPhasePair.
|
virtual |
Reimplemented in orderedPhasePair, and orderedPhasePair.
|
virtual |
Reimplemented in orderedPhasePair, orderedPhasePair, and orderedPhasePair.
tmp<volScalarField> rho | ( | ) | const |
tmp<volScalarField> magUr | ( | ) | const |
tmp<volVectorField> Ur | ( | ) | const |
tmp<volScalarField> Re | ( | ) | const |
tmp<volScalarField> Pr | ( | ) | const |
tmp<volScalarField> Eo | ( | ) | const |
tmp<volScalarField> EoH1 | ( | ) | const |
tmp<volScalarField> EoH2 | ( | ) | const |
tmp<volScalarField> Mo | ( | ) | const |
tmp<volScalarField> Ta | ( | ) | const |
|
virtual |
Reimplemented in orderedPhasePair, and orderedPhasePair.
|
inline |
|
inline |
|
inline |
|
inline |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.