Blending method for segregated configurations. E.g., a churning flow in which it is never appropriate to consider one phase continuous. More...
Public Member Functions | |
TypeName ("segregated") | |
Runtime type information. More... | |
segregated (const dictionary &dict, const phaseInterface &interface) | |
Construct from a dictionary and an interface. More... | |
~segregated () | |
Destructor. More... | |
virtual bool | canBeContinuous (const label index) const |
Return whether or not a phase can be considered segregated. More... | |
virtual bool | canSegregate () const |
Return whether or not this interface can segregate. More... | |
![]() | |
TypeName ("blendingMethod") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, blendingMethod, dictionary,(const dictionary &dict, const phaseInterface &interface),(dict, interface)) | |
blendingMethod (const dictionary &dict, const phaseInterface &interface) | |
Construct from a dictionary and an interface. More... | |
virtual | ~blendingMethod () |
Destructor. More... | |
tmp< volScalarField > | f1DispersedIn2 (const UPtrList< const volScalarField > &alphas) const |
Return the coefficient for models in which phase 1 is dispersed in. More... | |
tmp< volScalarField > | f2DispersedIn1 (const UPtrList< const volScalarField > &alphas) const |
Return the coefficient for models in which phase 2 is dispersed in. More... | |
tmp< volScalarField > | fDisplaced (const UPtrList< const volScalarField > &alphas) const |
Return the coefficient for when the interface is displaced by a. More... | |
Protected Member Functions | |
virtual tmp< volScalarField > | fContinuous (const UPtrList< const volScalarField > &alphas, const label phaseSet, const label systemSet) const |
Evaluate the blending function. More... | |
![]() | |
tmp< volScalarField > | constant (const UPtrList< const volScalarField > &alphas, const scalar k) const |
Return a constant field with the given value. More... | |
tmp< volScalarField > | alpha (const UPtrList< const volScalarField > &alphas, const label set, const bool protect) const |
Get the volume fraction of the given set. More... | |
tmp< volScalarField > | parameter (const UPtrList< const volScalarField > &alphas, const label set, const Pair< blendingParameter > ¶meters) const |
Get a blending parameter averaged for the given set. More... | |
tmp< volScalarField > | x (const UPtrList< const volScalarField > &alphas, const label phaseSet, const label systemSet) const |
Return the coordinate of the blending function. More... | |
virtual tmp< volScalarField > | f (const UPtrList< const volScalarField > &alphas, const label phaseSet, const label systemSet) const |
Evaluate the blending function. Filters out phases that cannot. More... | |
Additional Inherited Members | |
![]() | |
static autoPtr< blendingMethod > | New (const word &modelTypeName, const dictionary &dict, const phaseInterface &interface) |
![]() | |
static blendingParameter | readParameter (const word &name, const dictionary &dict, const Pair< scalar > &bounds, const bool allowNone) |
Read a parameter and check it lies within specified bounds. More... | |
static Pair< blendingParameter > | readParameters (const word &name, const dictionary &dict, const phaseInterface &interface, const Pair< scalar > &bounds, const bool allowNone) |
Read a parameter for each phase in the interface. More... | |
![]() | |
const phaseInterface | interface_ |
Interface. More... | |
Blending method for segregated configurations. E.g., a churning flow in which it is never appropriate to consider one phase continuous.
Definition at line 51 of file segregatedBlendingMethod.H.
segregated | ( | const dictionary & | dict, |
const phaseInterface & | interface | ||
) |
Construct from a dictionary and an interface.
Definition at line 56 of file segregatedBlendingMethod.C.
~segregated | ( | ) |
Destructor.
Definition at line 68 of file segregatedBlendingMethod.C.
|
protectedvirtual |
Evaluate the blending function.
Implements blendingMethod.
Definition at line 43 of file segregatedBlendingMethod.C.
References blendingMethod::constant().
TypeName | ( | "segregated" | ) |
Runtime type information.
|
virtual |
Return whether or not a phase can be considered segregated.
Implements blendingMethod.
Definition at line 74 of file segregatedBlendingMethod.C.
|
virtual |
Return whether or not this interface can segregate.
Implements blendingMethod.
Definition at line 80 of file segregatedBlendingMethod.C.