Nonlinear Poisson for glacier channel flow #3585
-
|
Hello. I am attempting to solve a nonlinear Poisson equation for velocity The weak form should be I'm relatively new to firedrake, so I suspect that my issue likely stems from some misunderstanding of ufl. I'm receiving this error message: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Linear and nonlinear problems are specified differently. If you want to use Please see https://www.firedrakeproject.org/variational-problems.html#expressing-a-variational-problem for a full explanation. |
Beta Was this translation helpful? Give feedback.
Linear and nonlinear problems are specified differently. If you want to use
Fas the residual for a nonlinear problem to be used assolve(F == 0, u,...),u(the solutionFunction) must be used to defineF(instead ofTrialFunction(V)as you currently do).Please see https://www.firedrakeproject.org/variational-problems.html#expressing-a-variational-problem for a full explanation.