← Back to team overview

ffc team mailing list archive

Re: [DOLFIN-dev] Question

 

On Thursday 30 April 2009 10:40:55 Ali Mesforush wrote:
> Hello,
> I run
> ffc Heat.form (See attachment please)
> and I got Heat.py, but when I run
> python Heat.py
> I have no output.
> How can I run heat equation?
> Cheers
> /Ali

Ali!

A heat equation is actually not included in the demos, but it is very easy to 
make one from the more complex advection-diffusion demo, just remove anything 
that as to do with the velocity field.

The attached file is such a rework. Please run the file as:

  python heat.py

in the demo/pde/advection-diffusion directory, as it uses the mesh and 
subdomains in that directory.

Have fun!

Johan

Attachment: heat.py
Description: application/python


References