reactingEulerFoam: Correct handling of phaseName in ReactingPhaseModel

This commit is contained in:
Henry Weller
2015-08-29 00:02:15 +01:00
parent 87532b27b0
commit 0c926959b4

View File

@ -39,7 +39,7 @@ Foam::ReactingPhaseModel<BasePhaseModel, ReactionType>::ReactingPhaseModel
BasePhaseModel(fluid, phaseName, false), BasePhaseModel(fluid, phaseName, false),
reaction_ reaction_
( (
ReactionType::New(fluid.mesh(), phaseName) ReactionType::New(fluid.mesh(), this->name())
) )
{ {
this->thermo_ = &reaction_->thermo(); this->thermo_ = &reaction_->thermo();