Implementation of chemical reactions


I have some issues with implementing chemical reactions. I would like to be able to do it both at a boundary and as a source term. So my question is, if I have the reaction rate of the specific process how do I implement it with the correct units?

Thank you!

Best regards,

Dear Hedvig,

Can you give more details? Usually you implement it through the advection-diffusion equation with additional mass sources.