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;
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());
163 const uniformDimensionedVectorField& g =
167 mag(dispersed().
rho() - continuous().
rho())
176 const uniformDimensionedVectorField& g =
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.
tmp< volVectorField > Ur(const phaseModel &phase) const
Velocity of the phase relative to the other phase.
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
labelList first(const UList< labelPair > &p)
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
bool dispersedPhaseInterfaceAddedHeadSeparator
void pow3(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
scalarField Re(const UList< complex > &cf)