Is my weak form right?
Asked by
cutejeff
To solve nonlinear PDE
du/dt+3*
is the following weak form right?
L = v*u*dx-
a = derivative(L, u, du)
I am sure the rest code for newton's method and time steps should be right. But I got the wrong result. I notice that there is a
(du/dx)^2 in the 2nd term. I guess it may cause some problems. Because if I get rid of the (du/dx)^2, the result is exactly same with my finite difference code (which should be right), If I keep it there, it's different.
Anyone know why? Thank you.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- cutejeff
- Solved:
- Last query:
- Last reply:
To post a message you must log in.