# Problem after discretizing a PDE to ODE and solve with DifferentialEquations.jl

**URL:** <https://discourse.julialang.org/t/problem-after-discretizing-a-pde-to-ode-and-solve-with-differentialequations-jl/81451>\
**Category:** General Usage\
**Tags:** differentialequation\
**Created:** [May 22, 2022, 6:53am UTC](https://discourse.julialang.org/t/problem-after-discretizing-a-pde-to-ode-and-solve-with-differentialequations-jl/81451 "2022-05-22T06:53:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [May 22, 2022, 9:42am UTC](https://discourse.julialang.org/t/problem-after-discretizing-a-pde-to-ode-and-solve-with-differentialequations-jl/81451/2 "2022-05-22T09:42:01Z")

</div>

Are you sure that’s a stable discretization of the PDE? Do a Von Neumann analysis.

For reference, look through the following:

> [@PSA: How to help yourself debug differential equation solving issues](https://discourse.julialang.org/t/psa-how-to-help-yourself-debug-differential-equation-solving-issues/62489):
>
> Debugging differential equation solver issues almost always boils down to doing the same thing, so this is a summary to help you out. For more information on specific issues, check out the FAQ section of the DifferentialEquations.jl documentation which highlights common issues and questions: [https://diffeq.sciml.ai/dev/basics/faq/](https://diffeq.sciml.ai/dev/basics/faq/)How do I debug why the differential equation solver is diverging? dt \<= dtmin. Aborting. There is either an error in your model specification or the true solution i…

---

_[View the full topic](https://discourse.julialang.org/t/problem-after-discretizing-a-pde-to-ode-and-solve-with-differentialequations-jl/81451)._
