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" bool hasModel(const phaseModel &phase) const
Return true if a model is specified for the supplied phase.
const ModelType & model(const phaseModel &phase) const
Return the model for the supplied phase.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
const word & name() const noexcept
Return the object name.
~BlendedInterfacialModel()
Destructor.
tmp< volScalarField > K() const
Return the blended force coefficient.
Generic GeometricField class.
tmp< surfaceScalarField > Ff() const
Return the face blended force.
tmp< GeometricField< Type, fvPatchField, volMesh > > F() const
Return the blended force.
void subtract(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
A class for handling words, derived from Foam::string.
scalar sign(const phaseModel &phase) const
Return the sign of the explicit value for the supplied phase.
static tmp< GeoField > interpolate(tmp< volScalarField > f)
Convenience function to interpolate blending values. Needs to be.
A HashTable similar to std::unordered_map.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
tmp< surfaceScalarField > Kf() const
Return the face blended force coefficient.
tmp< volScalarField > D() const
Return the blended diffusivity.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
A class for managing temporary objects.
Foam::argList args(argc, argv)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
TypeName("BlendedInterfacialModel")
Runtime type information.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
tmp< volScalarField > dmdt() const
Return the blended mass transfer rate.