On 07/17/2017 01:43 AM, Maxi Miller wrote:
At least in my home-written code the difference was creating a different matrix, but else nothing much. My problem with example 26 (as you suggested) is that there I have (in one dimension) \partial_x^2 u, while in my equation I have \partial_x(f(u)\partial_x u), i.e. an additional factor to include. Thus (at least for me) example 52 looks more interesting, but there you also state that D(x) is constant over time, unlike in my case. Is that correct?

Yes, step-52 also has such a coefficient, but as you can see there, its presence doesn't lead to any complications after integration by parts. In fact, step-52 may be a useful starting point for your work as well, in addition to step-26.

If you want to see how to deal with a term of the form f(u), you can also look at step-15. In any case, however, the character of your equation is definitely parabolic, and you need to use appropriate methods for this class of equations.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to