diff --git a/testApp/chemFoam.C b/testApp/chemFoam.C index d54059f..048bf9b 100644 --- a/testApp/chemFoam.C +++ b/testApp/chemFoam.C @@ -247,7 +247,8 @@ int main(int argc, char *argv[]) forAll(thermo.composition().species(), k) { - scalarField YY(0.0); + scalarField YY(XY); + YY = 0.0; YY[k] = 1.0; gas_.setState_TPY(thermo.T()[0], p[0], YY.data());