The conservation equation of species in the user guide, i.e. $\frac{\partial \rho Y{s}}{\partial t} + \nabla \cdot(\rho Y{s} \mathbf{u}) = \dot{R}{s}$, does not have the diffusion term. The diffusion term ($\nabla \cdot(\rho Y{s} \mathbf{u}{d,s})$) should be added in the left hand side of the equation. However, this term is included in the source `fvScalarMatrix YiEqn
(
fvm::ddt(rho, Yi)
fvc::ddt(rho_, Yi)
thermophysicalTransport_->divj(Yi)
reaction_->R(Yi)
modelsPtr_->source(Yi)
);` Is it a typo in the user guide?
The conservation equation of species in the user guide, i.e. $\frac{\partial \rho Y{s}}{\partial t} + \nabla \cdot(\rho Y{s} \mathbf{u}) = \dot{R}{s}$, does not have the diffusion term. The diffusion term ($\nabla \cdot(\rho Y{s} \mathbf{u}{d,s})$) should be added in the left hand side of the equation. However, this term is included in the source `fvScalarMatrix YiEqn ( fvm::ddt(rho, Yi)
thermophysicalTransport_->divj(Yi)