36 #ifndef BlendedInterfacialModel_H 37 #define BlendedInterfacialModel_H 39 #include "blendingMethod.H" 40 #include "phasePair.H" 41 #include "orderedPhasePair.H" 54 template<
class modelType>
55 class BlendedInterfacialModel
60 const phasePair& pair_;
63 const orderedPhasePair& pair1In2_;
66 const orderedPhasePair& pair2In1_;
69 autoPtr<modelType> model_;
72 autoPtr<modelType> model1In2_;
75 autoPtr<modelType> model2In1_;
78 const blendingMethod& blending_;
81 bool correctFixedFluxBCs_;
87 BlendedInterfacialModel
89 const BlendedInterfacialModel&
93 void operator=(
const BlendedInterfacialModel<modelType>&) =
delete;
96 template<
class GeometricField>
97 void correctFixedFluxBCs(GeometricField&
field)
const;
105 BlendedInterfacialModel
108 const blendingMethod& blending,
109 const phasePair& pair,
110 const orderedPhasePair& pair1In2,
111 const orderedPhasePair& pair2In1,
112 const bool correctFixedFluxBCs =
true 129 tmp<volScalarField>
K()
const;
132 tmp<surfaceScalarField>
Kf()
const;
136 tmp<GeometricField<Type, fvPatchField, volMesh>>
F()
const;
139 tmp<surfaceScalarField>
Ff()
const;
142 tmp<volScalarField>
D()
const;
153 #include "BlendedInterfacialModel.C" HashTable< dictionary, phasePairKey, phasePairKey::hash > dictTable
Dictionary hash table.
bool hasModel(const phaseModel &phase) const
Return true if a model is specified for the supplied phase.
~BlendedInterfacialModel()
Destructor.
tmp< volScalarField > K() const
Return the blended force coefficient.
tmp< surfaceScalarField > Ff() const
Return the face blended force.
tmp< GeometricField< Type, fvPatchField, volMesh > > F() const
Return the blended force.
const modelType & phaseModel(const phaseModel &phase) const
Return the model for the supplied phase.
tmp< surfaceScalarField > Kf() const
Return the face blended force coefficient.
tmp< volScalarField > D() const
Return the blended diffusivity.