reactingTwoPhaseEulerFoam: Generalize the handling of the dilatation rate

to support any number of phases
This commit is contained in:
Henry Weller
2015-06-25 16:10:07 +01:00
parent fa6902fde0
commit d83df30b98
10 changed files with 155 additions and 65 deletions

View File

@ -174,9 +174,6 @@ protected:
//- Rate of change of pressure
volScalarField dpdt_;
//- Dilatation
volScalarField dgdt_;
//- Blending methods
blendingMethodTable blendingMethods_;
@ -366,12 +363,6 @@ public:
//- Access the rate of change of the pressure
inline volScalarField& dpdt();
//- Constant access the dilatation parameter
inline const volScalarField& dgdt() const;
//- Access the dilatation parameter
inline volScalarField& dgdt();
//- Access a sub model between a phase pair
template <class modelType>
const modelType& lookupSubModel(const phasePair& key) const;