Hi Etienne,

Thanks for your interest in FiPy. I'll try and answer your questions below.

On Dec 17, 2007 8:14 AM, Etienne Rivard <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I would like to use FiPy for my research. I have set of equations to
> solve that consists mainly of partial differential equations. However,
> it also includes ordinary differential equations and algebraic
> equations. Can FiPy handle that. If so, could you point me towards
> useful documentation?

I think FiPy can handle all of those issues at some level. FiPy also works well
with numpy, scipy and other python modules. Your python script can
have fipy imports, scipy imports and any other package that you come
across that help you. Also, take a look at

   <http://code.google.com/p/sympy/>

which does symbolic maths. As far as documentation is concerned, the examples
in the manual show how to do PDEs. ODEs are just a subclass of PDEs. If you want
specialized methods for ODEs other than are commonly used for PDEs then take
a look at scipy. The point of using Python is you are not confined to
one tool for a given problem.

> It is a one-dimensional problem. Therefore, I have two independent
> variables: a space coordinate and time. One of the terms contains a
> derivative with respect to position evaluated at a specific position.
> Something like (dy/dr)|R Is that definable in FiPy?

Yes. There are many ways to do this. The neatest way would be this,

       y.getGrad()[0](R)

where R is some position. The [0] is to get the first component of the gradient.
I'm not sure that works in 2D, but it works in 1D.

Cheers


>
> Many thanks,
>
> Etienne Rivard, MSc
> Mitarbeiter
> Lehrstuhl für Technische Thermodynamik und Transportprozesse (LTTT)
>
> Postanschrift:
> Universität Bayreuth
> Universitätsstr. 30
> 95440 Bayreuth
>
> Telefon: 0921 / 55 - 7166
> Telefax: 0921 / 55 - 7165
>
>
>



-- 
Daniel Wheeler


Reply via email to