Go to the documentation of this file.
36 #ifndef BlendedInterfacialModel_H
37 #define BlendedInterfacialModel_H
39 #include "blendingMethod.H"
40 #include "phasePair.H"
41 #include "orderedPhasePair.H"
59 template<
class GeoField>
68 template<
class ModelType>
94 bool correctFixedFluxBCs_;
106 template<
class GeoField>
107 void correctFixedFluxBCs(GeoField&
field)
const;
113 template<
class>
class PatchField,
120 (ModelType::*method)(Args ...)
const,
131 TypeName(
"BlendedInterfacialModel");
145 const bool correctFixedFluxBCs =
true
157 const bool correctFixedFluxBCs =
true
205 #define defineBlendedInterfacialModelTypeNameAndDebug(ModelType, DebugSwitch) \
207 defineTemplateTypeNameAndDebugWithName \
209 BlendedInterfacialModel<ModelType>, \
211 word(BlendedInterfacialModel<ModelType>::typeName_()) + "<" \
212 + ModelType::typeName_() + ">" \
224 #include "BlendedInterfacialModel.C"
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
void subtract(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
tmp< surfaceScalarField > Kf() const
Return the face blended force coefficient.
scalar sign(const phaseModel &phase) const
Return the sign of the explicit value for the supplied phase.
A class for handling words, derived from Foam::string.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
tmp< volScalarField > dmdt() const
Return the blended mass transfer rate.
~BlendedInterfacialModel()
Destructor.
tmp< GeometricField< Type, fvPatchField, volMesh > > F() const
Return the blended force.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
bool hasModel(const phaseModel &phase) const
Return true if a model is specified for the supplied phase.
TypeName("BlendedInterfacialModel")
Runtime type information.
static tmp< GeoField > interpolate(tmp< volScalarField > f)
Convenience function to interpolate blending values. Needs to be.
OBJstream os(runTime.globalPath()/outputName)
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
A HashTable similar to std::unordered_map.
const word & name() const noexcept
Return name.
tmp< volScalarField > K() const
Return the blended force coefficient.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
tmp< surfaceScalarField > Ff() const
Return the face blended force.
tmp< volScalarField > D() const
Return the blended diffusivity.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
Foam::argList args(argc, argv)
const ModelType & model(const phaseModel &phase) const
Return the model for the supplied phase.
bool writeData(Ostream &os) const
Dummy write for regIOobject.