On Tue, Apr 19, 2016 at 11:22 AM, Francisco Vega Reyes <fv...@unex.es> 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 ]

Reply via email to