34 namespace blendingMethods
72 phase_(interface_.fluid().phases()[
dict.lookup<
word>(
"phase")])
86 return interface_.contains(phase_) && interface_.index(phase_) == index;
Macros for easy insertion into run-time selection tables.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Abstract base class for functions that are used to combine interfacial sub-models according to the vo...
const phaseInterface interface_
Interface.
tmp< volScalarField > constant(const UPtrList< const volScalarField > &alphas, const scalar k) const
Return a constant field with the given value.
Blending method for the case in which the continuous phase is always the same. E.g....
virtual tmp< volScalarField > fContinuous(const UPtrList< const volScalarField > &alphas, const label phaseSet, const label systemSet) const
Evaluate the blending function.
virtual bool canSegregate() const
Return whether or not this interface can segregate.
virtual bool canBeContinuous(const label index) const
Return whether or not a phase can be considered continuous.
continuous(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Class to represent an interface between phases. Derivations can further specify the configuration of ...
label index(const phaseModel &phase) const
Return the index of the given phase. Generates a FatalError if.
bool contains(const phaseModel &phase) const
Return true if this phaseInterface contains the given phase.
A class for managing temporary objects.
A class for handling words, derived from string.
defineTypeNameAndDebug(continuous, 0)
addToRunTimeSelectionTable(blendingMethod, continuous, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.