Translation into FEMLAB
Have equation below, with parameters Di and Ri
Need to define equation to look like:
Notes:
So below is the desired form of the spin equation. Above is the equation within FEMLAB used to solve the convection-diffusion equation
To achieve the translation I made the following substitutions: