50 separatorsToTypeName({separator()}).c_str(),
66 (!strict || isType<dispersedPhaseInterface>(interface))
67 && (strict || isA<dispersedPhaseInterface>(interface))
69 == &refCast<const dispersedPhaseInterface>(interface).dispersed_
108 return dispersed().name() +
'_' + separator() +
'_' + continuous().name();
120 return otherPhase(dispersed_);
126 return &dispersed_ == &phase1() ? +1 : -1;
132 return dispersed().U() - continuous().U();
138 return magUr()*dispersed().d()/continuous().fluidThermo().nu();
145 continuous().fluidThermo().nu()
146 *continuous().thermo().Cp()
148 /continuous().thermo().kappa();
154 return Eo(dispersed().d());
167 mag(dispersed().
rho() - continuous().
rho())
181 *continuous().fluidThermo().nu()
193 return Re()*
pow(Mo(), 0.23);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
Class to represent a interface between phases where one phase is considered dispersed within the othe...
tmp< volScalarField > Eo() const
Eotvos number.
static word separator()
Return the separator that delimits this interface's name.
tmp< volScalarField > Mo() const
Morton Number.
virtual ~dispersedPhaseInterface()
Destructor.
virtual word name() const
Name.
dispersedPhaseInterface(const phaseModel &dispersed, const phaseModel &continuous)
Construct from phases.
scalar sign() const
Return the sign. +1 if the dispersed phase is first. -1 if the.
tmp< volScalarField > Pr() const
Prandtl number.
virtual bool same(const phaseInterface &interface, bool strict) const
Return true if the phase interfaces are the same.
const phaseModel & continuous() const
Continuous phase.
tmp< volScalarField > Re() const
Reynolds number.
tmp< volVectorField > Ur() const
Relative velocity.
const phaseModel & dispersed() const
Dispersed phase.
tmp< volScalarField > Ta() const
Takahashi Number.
Base-class for fluid thermodynamic properties.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
static bool addHeadSeparator(const word &separator)
Add a head separator to the list.
virtual bool same(const phaseInterface &interface, bool strict) const
Return true if the phase interfaces are the same.
static bool addOldSeparatorToSeparator(const word &oldSeparator, const word &separator)
Add a old separator to separator to the table.
Class to represent a system of phases.
A class for managing temporary objects.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
defineTypeNameAndDebugWithName(dispersedDisplacedPhaseInterface, separatorsToTypeName({ dispersedPhaseInterface::separator(), displacedPhaseInterface::separator() }).c_str(), 0)
bool dispersedPhaseInterfaceAddedOldSeparatorToSeparator
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
labelList first(const UList< labelPair > &p)
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
bool dispersedPhaseInterfaceAddedHeadSeparator
void pow3(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
scalarField Re(const UList< complex > &cf)