finite difference method to the delayed damped wave equation












0












$begingroup$


I want to do the numerical simulations in MATLAB for the following partial delay differential equations with Dirichlet boundary condition. I need to know the simplest method to do that.
begin{equation}
left{
begin{aligned}
frac{partial ^{2}z}{partial t^{2}}left( x,tright)
&=frac{partial ^{2}z}{partial x^{2}}left( x,tright)
+vleft( tright) frac{partial z}{partial t}left( x,t-rright) , & t&geq 0,~~ xin Omega
\
zleft(x,thetaright)&=sinleft(xthetaright) , &theta&in left[ -r,0right] &
end{aligned}
right.
end{equation}



Here r denoting the delay is a positive real number, and $Omega =left( 0,1right) $ .



N.B: Thank you for your help










share|cite|improve this question











$endgroup$












  • $begingroup$
    You are missing some condition that excludes the trivial solution $z=0$. Is it to be assumed that $z(x,t)=0$ for all $t<0$? Did you solve similar problems before, esp. DE with delays, when yes, describe the methods used. What would be your first approach and how did it fail?
    $endgroup$
    – LutzL
    Dec 23 '18 at 12:22












  • $begingroup$
    thank you Lutzl. I would like to inform you that I am a beginner on the use of numerical methods,
    $endgroup$
    – zakaria hamidi
    Dec 23 '18 at 12:48






  • 1




    $begingroup$
    If you are just a beginner in numerical methods, then it is rather courageous to start with (second order) delay-differential equations. The easiest you can do is set $h=r/n$ and apply the Euler method to the first-order (in $t$) system $$∂_tz=w+vz(.,t-r),~~ ∂_tw=∂_x^2z$$ as in $$w_{k+1} = w_k+h∂_x^2z_k,~~ z_{k+1}=z_k+hw_k+v_kz_{k-n}.$$ In $x$ direction you apply some discretization or Fourier expansion and realize $∂_x^2$ according to the framework.
    $endgroup$
    – LutzL
    Dec 23 '18 at 13:14


















0












$begingroup$


I want to do the numerical simulations in MATLAB for the following partial delay differential equations with Dirichlet boundary condition. I need to know the simplest method to do that.
begin{equation}
left{
begin{aligned}
frac{partial ^{2}z}{partial t^{2}}left( x,tright)
&=frac{partial ^{2}z}{partial x^{2}}left( x,tright)
+vleft( tright) frac{partial z}{partial t}left( x,t-rright) , & t&geq 0,~~ xin Omega
\
zleft(x,thetaright)&=sinleft(xthetaright) , &theta&in left[ -r,0right] &
end{aligned}
right.
end{equation}



Here r denoting the delay is a positive real number, and $Omega =left( 0,1right) $ .



N.B: Thank you for your help










share|cite|improve this question











$endgroup$












  • $begingroup$
    You are missing some condition that excludes the trivial solution $z=0$. Is it to be assumed that $z(x,t)=0$ for all $t<0$? Did you solve similar problems before, esp. DE with delays, when yes, describe the methods used. What would be your first approach and how did it fail?
    $endgroup$
    – LutzL
    Dec 23 '18 at 12:22












  • $begingroup$
    thank you Lutzl. I would like to inform you that I am a beginner on the use of numerical methods,
    $endgroup$
    – zakaria hamidi
    Dec 23 '18 at 12:48






  • 1




    $begingroup$
    If you are just a beginner in numerical methods, then it is rather courageous to start with (second order) delay-differential equations. The easiest you can do is set $h=r/n$ and apply the Euler method to the first-order (in $t$) system $$∂_tz=w+vz(.,t-r),~~ ∂_tw=∂_x^2z$$ as in $$w_{k+1} = w_k+h∂_x^2z_k,~~ z_{k+1}=z_k+hw_k+v_kz_{k-n}.$$ In $x$ direction you apply some discretization or Fourier expansion and realize $∂_x^2$ according to the framework.
    $endgroup$
    – LutzL
    Dec 23 '18 at 13:14
















0












0








0





$begingroup$


I want to do the numerical simulations in MATLAB for the following partial delay differential equations with Dirichlet boundary condition. I need to know the simplest method to do that.
begin{equation}
left{
begin{aligned}
frac{partial ^{2}z}{partial t^{2}}left( x,tright)
&=frac{partial ^{2}z}{partial x^{2}}left( x,tright)
+vleft( tright) frac{partial z}{partial t}left( x,t-rright) , & t&geq 0,~~ xin Omega
\
zleft(x,thetaright)&=sinleft(xthetaright) , &theta&in left[ -r,0right] &
end{aligned}
right.
end{equation}



Here r denoting the delay is a positive real number, and $Omega =left( 0,1right) $ .



N.B: Thank you for your help










share|cite|improve this question











$endgroup$




I want to do the numerical simulations in MATLAB for the following partial delay differential equations with Dirichlet boundary condition. I need to know the simplest method to do that.
begin{equation}
left{
begin{aligned}
frac{partial ^{2}z}{partial t^{2}}left( x,tright)
&=frac{partial ^{2}z}{partial x^{2}}left( x,tright)
+vleft( tright) frac{partial z}{partial t}left( x,t-rright) , & t&geq 0,~~ xin Omega
\
zleft(x,thetaright)&=sinleft(xthetaright) , &theta&in left[ -r,0right] &
end{aligned}
right.
end{equation}



Here r denoting the delay is a positive real number, and $Omega =left( 0,1right) $ .



N.B: Thank you for your help







numerical-methods delay-differential-equations finite-difference-methods






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 23 '18 at 13:05









LutzL

60.1k42057




60.1k42057










asked Dec 23 '18 at 12:18









zakaria hamidizakaria hamidi

142




142












  • $begingroup$
    You are missing some condition that excludes the trivial solution $z=0$. Is it to be assumed that $z(x,t)=0$ for all $t<0$? Did you solve similar problems before, esp. DE with delays, when yes, describe the methods used. What would be your first approach and how did it fail?
    $endgroup$
    – LutzL
    Dec 23 '18 at 12:22












  • $begingroup$
    thank you Lutzl. I would like to inform you that I am a beginner on the use of numerical methods,
    $endgroup$
    – zakaria hamidi
    Dec 23 '18 at 12:48






  • 1




    $begingroup$
    If you are just a beginner in numerical methods, then it is rather courageous to start with (second order) delay-differential equations. The easiest you can do is set $h=r/n$ and apply the Euler method to the first-order (in $t$) system $$∂_tz=w+vz(.,t-r),~~ ∂_tw=∂_x^2z$$ as in $$w_{k+1} = w_k+h∂_x^2z_k,~~ z_{k+1}=z_k+hw_k+v_kz_{k-n}.$$ In $x$ direction you apply some discretization or Fourier expansion and realize $∂_x^2$ according to the framework.
    $endgroup$
    – LutzL
    Dec 23 '18 at 13:14




















  • $begingroup$
    You are missing some condition that excludes the trivial solution $z=0$. Is it to be assumed that $z(x,t)=0$ for all $t<0$? Did you solve similar problems before, esp. DE with delays, when yes, describe the methods used. What would be your first approach and how did it fail?
    $endgroup$
    – LutzL
    Dec 23 '18 at 12:22












  • $begingroup$
    thank you Lutzl. I would like to inform you that I am a beginner on the use of numerical methods,
    $endgroup$
    – zakaria hamidi
    Dec 23 '18 at 12:48






  • 1




    $begingroup$
    If you are just a beginner in numerical methods, then it is rather courageous to start with (second order) delay-differential equations. The easiest you can do is set $h=r/n$ and apply the Euler method to the first-order (in $t$) system $$∂_tz=w+vz(.,t-r),~~ ∂_tw=∂_x^2z$$ as in $$w_{k+1} = w_k+h∂_x^2z_k,~~ z_{k+1}=z_k+hw_k+v_kz_{k-n}.$$ In $x$ direction you apply some discretization or Fourier expansion and realize $∂_x^2$ according to the framework.
    $endgroup$
    – LutzL
    Dec 23 '18 at 13:14


















$begingroup$
You are missing some condition that excludes the trivial solution $z=0$. Is it to be assumed that $z(x,t)=0$ for all $t<0$? Did you solve similar problems before, esp. DE with delays, when yes, describe the methods used. What would be your first approach and how did it fail?
$endgroup$
– LutzL
Dec 23 '18 at 12:22






$begingroup$
You are missing some condition that excludes the trivial solution $z=0$. Is it to be assumed that $z(x,t)=0$ for all $t<0$? Did you solve similar problems before, esp. DE with delays, when yes, describe the methods used. What would be your first approach and how did it fail?
$endgroup$
– LutzL
Dec 23 '18 at 12:22














$begingroup$
thank you Lutzl. I would like to inform you that I am a beginner on the use of numerical methods,
$endgroup$
– zakaria hamidi
Dec 23 '18 at 12:48




$begingroup$
thank you Lutzl. I would like to inform you that I am a beginner on the use of numerical methods,
$endgroup$
– zakaria hamidi
Dec 23 '18 at 12:48




1




1




$begingroup$
If you are just a beginner in numerical methods, then it is rather courageous to start with (second order) delay-differential equations. The easiest you can do is set $h=r/n$ and apply the Euler method to the first-order (in $t$) system $$∂_tz=w+vz(.,t-r),~~ ∂_tw=∂_x^2z$$ as in $$w_{k+1} = w_k+h∂_x^2z_k,~~ z_{k+1}=z_k+hw_k+v_kz_{k-n}.$$ In $x$ direction you apply some discretization or Fourier expansion and realize $∂_x^2$ according to the framework.
$endgroup$
– LutzL
Dec 23 '18 at 13:14






$begingroup$
If you are just a beginner in numerical methods, then it is rather courageous to start with (second order) delay-differential equations. The easiest you can do is set $h=r/n$ and apply the Euler method to the first-order (in $t$) system $$∂_tz=w+vz(.,t-r),~~ ∂_tw=∂_x^2z$$ as in $$w_{k+1} = w_k+h∂_x^2z_k,~~ z_{k+1}=z_k+hw_k+v_kz_{k-n}.$$ In $x$ direction you apply some discretization or Fourier expansion and realize $∂_x^2$ according to the framework.
$endgroup$
– LutzL
Dec 23 '18 at 13:14












0






active

oldest

votes












Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3050298%2ffinite-difference-method-to-the-delayed-damped-wave-equation%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3050298%2ffinite-difference-method-to-the-delayed-damped-wave-equation%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Bundesstraße 106

Verónica Boquete

Ida-Boy-Ed-Garten