34 #ifndef BlendedInterfacialModel_H 35 #define BlendedInterfacialModel_H 37 #include "blendingMethod.H" 38 #include "phasePair.H" 39 #include "orderedPhasePair.H" 52 template<
class modelType>
53 class BlendedInterfacialModel
58 const phasePair& pair_;
61 const orderedPhasePair& pair1In2_;
64 const orderedPhasePair& pair2In1_;
67 autoPtr<modelType> model_;
70 autoPtr<modelType> model1In2_;
73 autoPtr<modelType> model2In1_;
76 const blendingMethod& blending_;
79 bool correctFixedFluxBCs_;
85 BlendedInterfacialModel(
const BlendedInterfacialModel<modelType>&);
88 void operator=(
const BlendedInterfacialModel<modelType>&);
91 template<
class GeometricField>
92 void correctFixedFluxBCs(GeometricField& field)
const;
100 BlendedInterfacialModel
103 const blendingMethod& blending,
104 const phasePair& pair,
105 const orderedPhasePair& pair1In2,
106 const orderedPhasePair& pair2In1,
107 const bool correctFixedFluxBCs =
true 124 tmp<volScalarField>
K()
const;
127 tmp<surfaceScalarField>
Kf()
const;
131 tmp<GeometricField<Type, fvPatchField, volMesh>>
F()
const;
134 tmp<surfaceScalarField>
Ff()
const;
137 tmp<volScalarField>
D()
const;
148 #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.
const modelType & phaseModel(const phaseModel &phase) const
Return the model 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< surfaceScalarField > Kf() const
Return the face blended force coefficient.
tmp< GeometricField< Type, fvPatchField, volMesh > > F() const
Return the blended force.
tmp< volScalarField > D() const
Return the blended diffusivity.