Re: squared partial derivatives
On Tue, Apr 19, 2016 at 11:22 AM, Francisco Vega Reyes wrote: > Hello, > > I am trying to solve a compressible flow problem (Navier Stokes > equations for a gas). > > Can a term like: > > (\partial(f(x,y))/\partial y) * (\partial(f(x,y))/\partial y) > > be represented in FiPy ? Hi Francisco, You can represent any term explicitly in FiPy, including (f_y)^2. However, that sort of term might arise from a conservation law of the form (f f_y)_y. If that is the case, it is good to try and implement terms in their conservative form. In the case of (f f_y)_y, "f" will be a coefficient in a diffusion term. Cheers, Daniel -- Daniel Wheeler ___ fipy mailing list fipy@nist.gov http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
Re: squared partial derivatives
here I meant also terms of the form (\partial(f(x,y))/\partial x) * (\partial(f(x,y))/\partial y) thank you in advance El mar, 19-04-2016 a las 17:22 +0200, Francisco Vega Reyes escribió: > Hello, > > I am trying to solve a compressible flow problem (Navier Stokes > equations for a gas). > > Can a term like: > > (\partial(f(x,y))/\partial y) * (\partial(f(x,y))/\partial y) > > be represented in FiPy ? > > Thanks a lot, > > ___ fipy mailing list fipy@nist.gov http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
squared partial derivatives
Hello, I am trying to solve a compressible flow problem (Navier Stokes equations for a gas). Can a term like: (\partial(f(x,y))/\partial y) * (\partial(f(x,y))/\partial y) be represented in FiPy ? Thanks a lot, -- Dr. Francisco Vega Reyes Departamento de Física, Universidad de Extremadura Avda. Elvas s/n, 06071 Badajoz, España email: fv...@unex.es web: http://www.unex.es/eweb/fisteor/fran tel: +34 924 289300, Ext. 86109 fax: +34 924 289651 ___ fipy mailing list fipy@nist.gov http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]