← Back to team overview

dolfin team mailing list archive

Re: [Question #105644]: Weakform of nonlinear equation

 

Question #105644 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/105644

    Status: Open => Answered

Anders Logg proposed the following answer:
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

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.