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