← Back to team overview

fenics team mailing list archive

Re: [Branch ~fenics-core/fenics-doc/main] Rev 123: Add Navier-Stokes demo documentation

 

On Tue, Aug 31, 2010 at 04:23:53PM +0200, Marie Rognes wrote:
> On 31. aug. 2010 15:15, noreply@xxxxxxxxxxxxx wrote:
> > ------------------------------------------------------------
> > revno: 123
> > committer: Anders Logg <logg@xxxxxxxxx>
> > branch nick: fenics-doc
> > timestamp: Tue 2010-08-31 15:11:27 +0200
> > message:
> >   Add Navier-Stokes demo documentation
> >
>
>
> Nice! But it doesn't run:
>
>     meg@localhost
> ~/local/src/fenics/fenics-doc/source/demos/pde/navier-stokes/python $
> python demo.py
> Traceback (most recent call last):
>   File "demo.py", line 57, in <module>
>     L1 = (1/k)*inner(u0, v) + inner(f, v)*dx
> TypeError: unsupported operand type(s) for +: 'Product' and 'Form'
>
> (Yes, I know how to fix this one -- but there are some more...)

I know. I did some "improvements" to the working code while
documenting it so I expect it will be partly broken. I will copy
things over to DOLFIN to check that things work. I also need to
proofread the documentation.

--
Anders



References