Whoa... sorry if this e-mail reads like a Klingon trying to write english. The the e-mail was sent accidently before I had the chance revise it and actually finish some of the sentences. Hope it's still understandable enough.
Thanks for the help. --- Rafael Calsaverini Dep. de Física Geral, Sala 336 Instituto de Física - Universidade de São Paulo [email protected] http://stoa.usp.br/calsaverini/weblog CEL: (11) 7525-6222 USP: (11) 3091-6803 On Sat, Jan 21, 2012 at 16:22, Rafael Calsaverini < [email protected]> wrote: > 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 ] >
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
