On 08/30/2018 10:12 AM, Prateek Sharma wrote:

I am trying to implement diffusion with Runge Kutta. Thankfully there is step-52 that already has diffusion with Runge Kutta.

But when I am trying to solve step-52 *after removing the Source term and Absorption term* from the code, then the *solution stays constant throughout the time steps*.

The program starts the simulation from a zero vector, but without source term, the solution will always stay zero. This should be independent of whether or not have diffusion. You may want to try with initializing the solution with something different than the zero vector!

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