dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17945
Re: [Question #105644]: Weakform of nonlinear equation
On Fri, Mar 26, 2010 at 10:11:24PM -0000, Jack wrote:
> New question #105644 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/105644
>
> Dear all
>
> How can I represent this pde using ufl.
>
> -d/dx(du/dx) - 2u*du/dx = 0
>
> I'm having trouble particularly with 2u*du/dx.
>
> Thanks
>
> Jack
Does it not work if you write 2*u*u.dx(0)*dx?
--
Anders
Attachment:
signature.asc
Description: Digital signature
Follow ups
References