# Delay partial differential equations

**URL:** <https://discourse.julialang.org/t/delay-partial-differential-equations/101161>\
**Category:** General Usage\
**Created:** [July 4, 2023, 9:47am UTC](https://discourse.julialang.org/t/delay-partial-differential-equations/101161 "2023-07-04T09:47:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjku](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rjku/32/46299_2.png) [@rjku](https://discourse.julialang.org/u/rjku)\
**Post date:** [July 4, 2023, 9:47am UTC](https://discourse.julialang.org/t/delay-partial-differential-equations/101161/1 "2023-07-04T09:47:49Z")

</div>

Hi all,

is there any way of dealing with Delay Partial Differential Equations using DifferentialEquations.jl, MethodsOfLines.jl, or any other package?

Alternatively, has anybody any suggestion/recommendation about how to deal with these problems?

BTW, I take the chance for thanking the Julia community for its fantastic work.

––Riccardo

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [July 4, 2023, 1:17pm UTC](https://discourse.julialang.org/t/delay-partial-differential-equations/101161/2 "2023-07-04T13:17:40Z")

</div>

> [@rjku](#):
>
> is there any way of dealing with Delay Partial Differential Equations using DifferentialEquations.jl, MethodsOfLines.jl, or any other package?

Sure — discretize it in space using whatever method you want, and integrate it in time using the [delay differential equations in DifferentialEquations.jl](https://docs.sciml.ai/DiffEqDocs/stable/tutorials/dde_example/). (This is the “method of lines,” but you don’t necessarily need to use [MethodOfLines.jl](https://github.com/SciML/MethodOfLines.jl) for your spatial discretization. There are lots of PDE spatial-discretization methods to choose from.)

---

<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:** [July 4, 2023, 2:05pm UTC](https://discourse.julialang.org/t/delay-partial-differential-equations/101161/3 "2023-07-04T14:05:36Z")

</div>

For now you need to do a manual discretization, though support for DDEs in ModelingToolkit (and thus PDDEs in MethodOfLines later, maybe far later) is something that’s being hacked on in the next few months so it’s in progress but not there yet.
