synthetik-technologies / blastfoam

A CFD solver for multi-component compressible flow with application to high-explosive detonation, explosive safety and air blast
Other
219 stars 96 forks source link

Diffusion term in the conservation equation of species #52

Closed wengzf20 closed 2 years ago

wengzf20 commented 2 years ago

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)

jheylmun commented 2 years ago

Hello, It is a typo that it is missing in the User Guide. Thank you for pointing that out. It will be added next time we have a release.

wengzf20 commented 2 years ago

OK. Thank you.