On Mon, Oct 19, 2009 at 12:49 PM, wangyc <[email protected]> wrote:

>>> Basically, I want to solve a 2D diffusion
>>> eqn in a geometry of (r,z) and use the antisymmetry of the center
>>> line.
>>
>> Antisymmetry? I'm not sure exactly what you mean. Is that just a typo?
>
> Sorry, I mean axial symmetry. Do I need to add a no flux BC for that?
> I think if I do nothing ,Fipy will automatically give me that BC then.

Yes, that's the default.

> Thanks! I may try this and see the differences. BTW: is there a way to
> visualize the mesh? or export the mesh to other format (such as
> tecplot)? or better to visualize the mesh in 3D cylinder?

In general, we haven't provided that functionality. The "GIstViewer2D"
has a "plotMesh" method, which I'm sure works, but that is the only
viewer that has a method for this. Actually, Mayavi 1 has a "display
wire mesh" option, so you might want to try that. As far as exporting
to different file formats (other than the tsv viewer), we don't
support any format in particular, but python string formatting and io
makes it fairly easy to write one for whatever mesh displayer format
you prefer.

-- 
Daniel Wheeler

Reply via email to