reactingEulerFoam/phaseSystem: Create an ordered container for phaseModels

The previous method using a HashTable required a separate ordered list
of names which is hard to work with and maintain.
This commit is contained in:
Henry Weller
2015-08-28 18:40:22 +01:00
parent 363cd93d59
commit ffedbafee1
16 changed files with 214 additions and 84 deletions

View File

@ -254,14 +254,14 @@ public:
virtual volScalarField& he()
{
notImplemented("multiphaseMixtureThermo::he()");
return phases_[0]->thermo().he();
return phases_[0].thermo().he();
}
//- Enthalpy/Internal energy [J/kg]
virtual const volScalarField& he() const
{
notImplemented("multiphaseMixtureThermo::he() const");
return phases_[0]->thermo().he();
return phases_[0].thermo().he();
}
//- Enthalpy/Internal energy