Skip to content
Snippets Groups Projects
Commit 26aef1ae authored by Andrew Heather's avatar Andrew Heather
Browse files

bugfix: missed cloud() when referencing composition()

parent a0d36e3f
No related merge requests found
......@@ -200,7 +200,7 @@ void Foam::ReactingParcel<ParcelType>::calc
// Absorb parcel into carrier phase
forAll(Y_, i)
{
label id = td.composition().localToGlobalGasId(0, i);
label id = td.cloud().composition().localToGlobalGasId(0, i);
td.cloud().rhoTrans(id)[cellI] += np0*mass1*Y_[i];
}
td.cloud().UTrans()[cellI] += np0*mass1*U1;
......
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