Solution to PDE is rubbish, shouldn't it be easy?

Hi Sarah,

Welcome to FEniCS. I’m also pretty new here. :slightly_smiling_face:

I encourage you to have a look at Read before posting: How do I get my question answered?

If you surround your math with dollar signs ($), it will be formatted as math. E.g.

produces:
\frac{dm}{dt} = \frac{d}{dx}\left(D_m(x)*\frac{dm}{dx}\right) + f(m,c)

Surrounding your code with three backticks (`) causes it to be formatted as code. Starting a code block with three backticks plus “python” will add Python syntax highlighting, i.e. typing

will be formatted as:

from fenics import *

This makes your question easier to read, and easier to debug because we can copy-paste your code. :slightly_smiling_face:

2 Likes