tmp > mvConvection ( fv::convectionScheme::New ( mesh, fields, phi, mesh.divScheme("div(phi,Yi_h)") ) ); { label inertIndex = -1; volScalarField Yt = 0.0*Y[0]; for(label i=0; ifvmDiv(phi, Yi) - fvm::laplacian(turbulence->muEff(), Yi) == kappa*chemistry.RR(i), mesh.solver("Yi") ); Yi.max(0.0); Yt += Yi; } else { inertIndex = i; } } Y[inertIndex] = scalar(1) - Yt; Y[inertIndex].max(0.0); }