Hi, 

I just found out about fipy so I was giving it a try. I found out the
nomenclature of the terms in the equations quite an obstacle though. Not being
originally from the fluid dynamics community, some terminology is obscure to me,
and the manual didn't quite illuminate for me how to write of a simulation for a
arbitrary PDE.

For example, I was interested, for example, in simulating the following 
equation:

du/dt = d/dx(v(u) u)

with Neumann boundary conditions at u(0), for example, and 

(interpret d/dt and d/dx as partial derivatives)

How do I translate this into the terms classes? 

I understand that du/dt is equivalent to TransientTerm() and that d( v du/dx) is
equivalent to DiffusionTerm(coeff = v).

My questions are:

1) how to insert a term like d( v u)/dx
2) how to make v to be a function of u(x,t)?

Thank you very much. 




_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to