34 #ifndef BlendedInterfacialModel_H 35 #define BlendedInterfacialModel_H 53 template<
class ModelType>
79 bool correctFixedFluxBCs_;
85 template<
template<
class>
class PatchField,
class GeoMesh>
86 void calculateBlendingCoeffs
94 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
95 void correctFixedFluxBCs
104 template<
class>
class PatchField,
111 (ModelType::*method)(Args ...)
const,
122 template<
class>
class PatchField,
129 (ModelType::*method)(Args ...)
const,
140 TypeName(
"BlendedInterfacialModel");
154 const bool correctFixedFluxBCs =
true 166 const bool correctFixedFluxBCs =
true 226 #define defineBlendedInterfacialModelTypeNameAndDebug(ModelType, DebugSwitch) \ 228 defineTemplateTypeNameAndDebugWithName \ 230 BlendedInterfacialModel<ModelType>, \ 232 word(BlendedInterfacialModel<ModelType>::typeName_()) + "<" \ 233 + ModelType::typeName_() + ">" \ tmp< volScalarField > dmdtf() const
Return the blended mass transfer rate.
const word & name() const
Return name.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
~BlendedInterfacialModel()
Destructor.
bool mixture() const
Return the list of individual species that are transferred.
tmp< volScalarField > K() const
Return the blended force coefficient.
tmp< surfaceScalarField > Ff() const
Return the face blended force.
tmp< surfaceScalarField > Kf() const
Return the face blended force coefficient.
Generic GeometricField class.
A HashTable specialisation for hashing pointers.
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.
A class for handling words, derived from string.
BlendedInterfacialModel(const phaseModel &phase1, const phaseModel &phase2, const blendingMethod &blending, autoPtr< ModelType > model, autoPtr< ModelType > model1In2, autoPtr< ModelType > model2In1, const bool correctFixedFluxBCs=true)
Construct from two phases, blending method and three models.
An STL-conforming hash table.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
hashedWordList species() const
Return the list of individual species that are transferred.
A wordList with hashed indices for faster lookup by name.
tmp< volScalarField > D() const
Return the blended diffusivity.
HashPtrTable< volScalarField > dmidtf() const
Return the blended mass transfer rates for individual species.
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...
void operator=(const BlendedInterfacialModel< ModelType > &)=delete
Disallow default bitwise assignment.
TypeName("BlendedInterfacialModel")
Runtime type information.