Hello, For the species conservation equation contained in YEqn.H there is an mvConvection scheme listed. I am trying to understand how the diffusion works in reactingFOAM and it seems, to me, that this is the only term I do not understand in the conservation equation. Can any reacting folks help me decipher what is going on here? I'd like to add a more detailed diffusion to reactingFoam, so I think this falls under the extend project

thanks,
Ryan
YEqn.H file:
tmp<fv::convectionScheme<scalar> > mvConvection
(
fv::convectionScheme<scalar>::New
(
mesh,
fields,
phi,
mesh.divScheme("div(phi,Yi_h)")
)
);
{
label inertIndex = -1;
volScalarField Yt = 0.0*Y[0];
for (label i=0; i<Y.size(); i++)
{
if (Y[i].name() != inertSpecie)
{
volScalarField& Yi = Y[i];
solve
(
fvm::ddt(rho, Yi)
+ mvConvection->fvmDiv(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);
}
~