Skip to content

Commit 171215c

Browse files
authored
Merge pull request #248 from pkuLmq/master
adjust function THE in CanteraMixture.C
2 parents c1785a8 + cb5c921 commit 171215c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/dfCanteraMixture/CanteraMixture.C

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,9 @@ Foam::scalar Foam::CanteraMixture::THE
211211
const scalar& T
212212
) const
213213
{
214-
CanteraGas_->setState_HP(h, p);
215-
return CanteraGas_->temperature();
214+
// In DeepFlame temperature field is updated in correctThermo()
215+
// so there is no need to update T in this function
216+
return T;
216217
}
217218

218219
Foam::scalar Foam::CanteraMixture::Hc() const

0 commit comments

Comments
 (0)