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 template<
class GeometricField>
86 void correctFixedFluxBCs(GeometricField& field)
const;
97 const blendingMethod& blending,
98 const phasePair& pair,
99 const orderedPhasePair& pair1In2,
100 const orderedPhasePair& pair2In1,
101 const bool correctFixedFluxBCs =
true 107 const BlendedInterfacialModel<modelType>&
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;
143 void operator=(
const BlendedInterfacialModel<modelType>&) =
delete;
154 #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.
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.
tmp< volScalarField > D() const
Return the blended diffusivity.
void operator=(const BlendedInterfacialModel< ModelType > &)=delete
Disallow default bitwise assignment.