Skip to content
Snippets Groups Projects
Commit 7b1ab8af authored by andy's avatar andy Committed by Andrew Heather
Browse files

BUG: reactingParcel - temperature was only limited on debug

parent df099b7f
No related merge requests found
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -120,7 +120,6 @@ void Foam::ReactingParcel<ParcelType>::calcPhaseChange
// Average molecular weight of carrier mix - assumes perfect gas
const scalar Wc = this->rhoc_*specie::RR*this->Tc_/this->pc_;
forAll(dMassPC, i)
{
const label idc = composition.localToGlobalCarrierId(idPhase, i);
......@@ -285,7 +284,7 @@ void Foam::ReactingParcel<ParcelType>::cellValueSourceCorrection
this->Tc_ += td.cloud().hsTrans()[cellI]/(this->Cpc_*massCellNew);
if (debug && (this->Tc_ < td.cloud().constProps().TMin()))
if (this->Tc_ < td.cloud().constProps().TMin())
{
if (debug)
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment