I just have one question please, I searched on Mathematica documents concerning partial differential equations with delay, all I had found is ordinary differential equations(EDO), that's means equation depends on only one variable, I want to know if it is possible to also solve the EDP(equation in which state depend on two variable) with delay?
I have this example in hand if anyone can solve it please:
T = 4;
homogen =
D[f[x, t], t] - D[f[x, t], {x, 2}] +
Integrate[
t*s*Sin[t] (f[x, s - 1])^2, {s, 0, t}] + (3 +
Abs[f[x, t - 1]]) == 0;
(*données initiales propres *)
ic = {f[x, t /; t <= 0] == x*Sin[t], {x, 0, \[Pi]}};
(* Condition aux bord de Dirichlet*)
bc = {f[0, t] == 0, f[\[Pi], t] == 0};
(*résolution analytique de l'équation *)
sol1 = NDSolveValue[{homogen, ic, bc}, f, {x, 0, \[Pi]}, {t, -T, T}]
I can't solve it!! Help!!
f[x, -T] = ...
then you will get the following error messageNDSolveValue::delpde: Delay partial differential equations are not currently supported by NDSolve.
which tells you that this not possible. $\endgroup$WhenEvent
also has the restriction that it cannot be applied spatially to a PDE. However, I showed a way to get around this restriction by using theNumerical Method of Lines
and turning it into a system of ODEs in my answer here. DDE can be applied to systems of ODEs. $\endgroup$