Fenics_code for reaction diffusion equation

I am trying to solve reaction diffusion equation with fenics. It’s not working. Does anyone has this code?Thanks in advance.

Please look at this before posting your question. FEniCS has a good example of solving a system of advection–diffusion–reaction equations. You can check it out here. I believe it can get you started.

2 Likes