Finite Element in space, finite difference in time, stability analysisBackward Euler for a system of equationsVon Neumann Stability AnalysisMixed finite element methods and time-dependenceInterval arithmetic for finite difference error boundsFinite Difference Method Stability with diffusion equationStability analysis for ODEs with non constant inputsWhat is the difference between a stability condition and a CFL condition?Explicit finite difference scheme for discontinued mediaUsing quadrature for the computation of integrals occuring in the finite element methodHelp with an inequality, for von Neumann stability analysis.
Why do passenger jet manufacturers design their planes with stall prevention systems?
Why does Bach not break the rules here?
Sailing the cryptic seas
How to simplify this time periods definition interface?
In a future war, an old lady is trying to raise a boy but one of the weapons has made everyone deaf
What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?
Is it normal that my co-workers at a fitness company criticize my food choices?
How to make healing in an exploration game interesting
If curse and magic is two sides of the same coin, why the former is forbidden?
How to use of "the" before known matrices
Charles Hockett - 'F' article?
Define, (actually define) the "stability" and "energy" of a compound
Could the Saturn V actually have launched astronauts around Venus?
Why doesn't using two cd commands in bash script execute the second command?
Is there a data structure that only stores hash codes and not the actual objects?
How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?
What are substitutions for coconut in curry?
Instead of Universal Basic Income, why not Universal Basic NEEDS?
A link redirect to http instead of https: how critical is it?
Opacity of an object in 2.8
My adviser wants to be the first author
Look at your watch and tell me what time is it. vs Look at your watch and tell me what time it is
How can I track script which gives me "command not found" right after the login?
how to draw discrete time diagram in tikz
Finite Element in space, finite difference in time, stability analysis
Backward Euler for a system of equationsVon Neumann Stability AnalysisMixed finite element methods and time-dependenceInterval arithmetic for finite difference error boundsFinite Difference Method Stability with diffusion equationStability analysis for ODEs with non constant inputsWhat is the difference between a stability condition and a CFL condition?Explicit finite difference scheme for discontinued mediaUsing quadrature for the computation of integrals occuring in the finite element methodHelp with an inequality, for von Neumann stability analysis.
$begingroup$
I was wondering how to do stability analysis for the classical wave equation if we discretize in space with finite element and step forward in time using some explicit scheme like for example leapfrog or Euler forward.
A reference or example of such a calculation would be much appreciated.
calculus numerical-methods stability-in-odes
$endgroup$
add a comment |
$begingroup$
I was wondering how to do stability analysis for the classical wave equation if we discretize in space with finite element and step forward in time using some explicit scheme like for example leapfrog or Euler forward.
A reference or example of such a calculation would be much appreciated.
calculus numerical-methods stability-in-odes
$endgroup$
add a comment |
$begingroup$
I was wondering how to do stability analysis for the classical wave equation if we discretize in space with finite element and step forward in time using some explicit scheme like for example leapfrog or Euler forward.
A reference or example of such a calculation would be much appreciated.
calculus numerical-methods stability-in-odes
$endgroup$
I was wondering how to do stability analysis for the classical wave equation if we discretize in space with finite element and step forward in time using some explicit scheme like for example leapfrog or Euler forward.
A reference or example of such a calculation would be much appreciated.
calculus numerical-methods stability-in-odes
calculus numerical-methods stability-in-odes
asked Mar 11 at 19:18
JHadamardJHadamard
84
84
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
I assume that the starting level with discretizing stuff is "zero". The first thing most people would try would be something like this. The PDE is
$$ Delta u + u_tt = 0 text in Omega$$
with some appropriate initial and boundary conditions. The most obvious approach would be to write $v = u_t$, and get a system of equations
beginalign*
Delta u + v_t &= 0, \
u_t - v &= 0.
endalign*
Then, the most straightforward discretization would be to use the same finite element basis functions $phi_i$ for $u$ and $v$, leading to a system
beginalign*
Ku + M dot v &= 0, \
M dot u - M v &= 0,
endalign*
where $K_ij = int nabla phi_i cdot nabla phi_j , dx$ is the stiffness matrix, and $M_ij = int phi_i phi_j , dx$ the mass matrix. Rearranging the previous linear system, you get
$$
beginbmatrix dot u \ dot v endbmatrix =
beginbmatrix 0 & I \ -M^-1 K & 0 endbmatrix beginbmatrix u \ v endbmatrix = J beginbmatrix u \ v endbmatrix
$$
Assuming, e.g., boundary condition $u=0$ on $partial Omega$, the matrix $-M^-1 K$ is negative definite, so the matrix $J$ looks very much like $beginbmatrix 0 & 1 \ -1 & 0 endbmatrix$, that is, the ODE system looks like a harmonic oscillator.
Consider a simple harmonic oscillator
$$
beginbmatrix dot q \ dot p endbmatrix =
beginbmatrix 0 & 1 \ -1 & 0 endbmatrix beginbmatrix q \ p endbmatrix,
$$
which has the energy $W = p^2 + q^2$ as a conserved quantity. It is a straightforward computation to show that the forward Euler increases the energy each time step, whereas the leap frog conserves energy exactly each time step. By doing a similar computation for the above finite element-ODE system, you should find a similar result (try to identify the conserved quantity $W$ first).
This is just to get started. In real life, more advanced schemes are used. For example, the first Google hit for "wave equation FEM" is https://hal.archives-ouvertes.fr/hal-01443184/document
$endgroup$
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3144107%2ffinite-element-in-space-finite-difference-in-time-stability-analysis%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I assume that the starting level with discretizing stuff is "zero". The first thing most people would try would be something like this. The PDE is
$$ Delta u + u_tt = 0 text in Omega$$
with some appropriate initial and boundary conditions. The most obvious approach would be to write $v = u_t$, and get a system of equations
beginalign*
Delta u + v_t &= 0, \
u_t - v &= 0.
endalign*
Then, the most straightforward discretization would be to use the same finite element basis functions $phi_i$ for $u$ and $v$, leading to a system
beginalign*
Ku + M dot v &= 0, \
M dot u - M v &= 0,
endalign*
where $K_ij = int nabla phi_i cdot nabla phi_j , dx$ is the stiffness matrix, and $M_ij = int phi_i phi_j , dx$ the mass matrix. Rearranging the previous linear system, you get
$$
beginbmatrix dot u \ dot v endbmatrix =
beginbmatrix 0 & I \ -M^-1 K & 0 endbmatrix beginbmatrix u \ v endbmatrix = J beginbmatrix u \ v endbmatrix
$$
Assuming, e.g., boundary condition $u=0$ on $partial Omega$, the matrix $-M^-1 K$ is negative definite, so the matrix $J$ looks very much like $beginbmatrix 0 & 1 \ -1 & 0 endbmatrix$, that is, the ODE system looks like a harmonic oscillator.
Consider a simple harmonic oscillator
$$
beginbmatrix dot q \ dot p endbmatrix =
beginbmatrix 0 & 1 \ -1 & 0 endbmatrix beginbmatrix q \ p endbmatrix,
$$
which has the energy $W = p^2 + q^2$ as a conserved quantity. It is a straightforward computation to show that the forward Euler increases the energy each time step, whereas the leap frog conserves energy exactly each time step. By doing a similar computation for the above finite element-ODE system, you should find a similar result (try to identify the conserved quantity $W$ first).
This is just to get started. In real life, more advanced schemes are used. For example, the first Google hit for "wave equation FEM" is https://hal.archives-ouvertes.fr/hal-01443184/document
$endgroup$
add a comment |
$begingroup$
I assume that the starting level with discretizing stuff is "zero". The first thing most people would try would be something like this. The PDE is
$$ Delta u + u_tt = 0 text in Omega$$
with some appropriate initial and boundary conditions. The most obvious approach would be to write $v = u_t$, and get a system of equations
beginalign*
Delta u + v_t &= 0, \
u_t - v &= 0.
endalign*
Then, the most straightforward discretization would be to use the same finite element basis functions $phi_i$ for $u$ and $v$, leading to a system
beginalign*
Ku + M dot v &= 0, \
M dot u - M v &= 0,
endalign*
where $K_ij = int nabla phi_i cdot nabla phi_j , dx$ is the stiffness matrix, and $M_ij = int phi_i phi_j , dx$ the mass matrix. Rearranging the previous linear system, you get
$$
beginbmatrix dot u \ dot v endbmatrix =
beginbmatrix 0 & I \ -M^-1 K & 0 endbmatrix beginbmatrix u \ v endbmatrix = J beginbmatrix u \ v endbmatrix
$$
Assuming, e.g., boundary condition $u=0$ on $partial Omega$, the matrix $-M^-1 K$ is negative definite, so the matrix $J$ looks very much like $beginbmatrix 0 & 1 \ -1 & 0 endbmatrix$, that is, the ODE system looks like a harmonic oscillator.
Consider a simple harmonic oscillator
$$
beginbmatrix dot q \ dot p endbmatrix =
beginbmatrix 0 & 1 \ -1 & 0 endbmatrix beginbmatrix q \ p endbmatrix,
$$
which has the energy $W = p^2 + q^2$ as a conserved quantity. It is a straightforward computation to show that the forward Euler increases the energy each time step, whereas the leap frog conserves energy exactly each time step. By doing a similar computation for the above finite element-ODE system, you should find a similar result (try to identify the conserved quantity $W$ first).
This is just to get started. In real life, more advanced schemes are used. For example, the first Google hit for "wave equation FEM" is https://hal.archives-ouvertes.fr/hal-01443184/document
$endgroup$
add a comment |
$begingroup$
I assume that the starting level with discretizing stuff is "zero". The first thing most people would try would be something like this. The PDE is
$$ Delta u + u_tt = 0 text in Omega$$
with some appropriate initial and boundary conditions. The most obvious approach would be to write $v = u_t$, and get a system of equations
beginalign*
Delta u + v_t &= 0, \
u_t - v &= 0.
endalign*
Then, the most straightforward discretization would be to use the same finite element basis functions $phi_i$ for $u$ and $v$, leading to a system
beginalign*
Ku + M dot v &= 0, \
M dot u - M v &= 0,
endalign*
where $K_ij = int nabla phi_i cdot nabla phi_j , dx$ is the stiffness matrix, and $M_ij = int phi_i phi_j , dx$ the mass matrix. Rearranging the previous linear system, you get
$$
beginbmatrix dot u \ dot v endbmatrix =
beginbmatrix 0 & I \ -M^-1 K & 0 endbmatrix beginbmatrix u \ v endbmatrix = J beginbmatrix u \ v endbmatrix
$$
Assuming, e.g., boundary condition $u=0$ on $partial Omega$, the matrix $-M^-1 K$ is negative definite, so the matrix $J$ looks very much like $beginbmatrix 0 & 1 \ -1 & 0 endbmatrix$, that is, the ODE system looks like a harmonic oscillator.
Consider a simple harmonic oscillator
$$
beginbmatrix dot q \ dot p endbmatrix =
beginbmatrix 0 & 1 \ -1 & 0 endbmatrix beginbmatrix q \ p endbmatrix,
$$
which has the energy $W = p^2 + q^2$ as a conserved quantity. It is a straightforward computation to show that the forward Euler increases the energy each time step, whereas the leap frog conserves energy exactly each time step. By doing a similar computation for the above finite element-ODE system, you should find a similar result (try to identify the conserved quantity $W$ first).
This is just to get started. In real life, more advanced schemes are used. For example, the first Google hit for "wave equation FEM" is https://hal.archives-ouvertes.fr/hal-01443184/document
$endgroup$
I assume that the starting level with discretizing stuff is "zero". The first thing most people would try would be something like this. The PDE is
$$ Delta u + u_tt = 0 text in Omega$$
with some appropriate initial and boundary conditions. The most obvious approach would be to write $v = u_t$, and get a system of equations
beginalign*
Delta u + v_t &= 0, \
u_t - v &= 0.
endalign*
Then, the most straightforward discretization would be to use the same finite element basis functions $phi_i$ for $u$ and $v$, leading to a system
beginalign*
Ku + M dot v &= 0, \
M dot u - M v &= 0,
endalign*
where $K_ij = int nabla phi_i cdot nabla phi_j , dx$ is the stiffness matrix, and $M_ij = int phi_i phi_j , dx$ the mass matrix. Rearranging the previous linear system, you get
$$
beginbmatrix dot u \ dot v endbmatrix =
beginbmatrix 0 & I \ -M^-1 K & 0 endbmatrix beginbmatrix u \ v endbmatrix = J beginbmatrix u \ v endbmatrix
$$
Assuming, e.g., boundary condition $u=0$ on $partial Omega$, the matrix $-M^-1 K$ is negative definite, so the matrix $J$ looks very much like $beginbmatrix 0 & 1 \ -1 & 0 endbmatrix$, that is, the ODE system looks like a harmonic oscillator.
Consider a simple harmonic oscillator
$$
beginbmatrix dot q \ dot p endbmatrix =
beginbmatrix 0 & 1 \ -1 & 0 endbmatrix beginbmatrix q \ p endbmatrix,
$$
which has the energy $W = p^2 + q^2$ as a conserved quantity. It is a straightforward computation to show that the forward Euler increases the energy each time step, whereas the leap frog conserves energy exactly each time step. By doing a similar computation for the above finite element-ODE system, you should find a similar result (try to identify the conserved quantity $W$ first).
This is just to get started. In real life, more advanced schemes are used. For example, the first Google hit for "wave equation FEM" is https://hal.archives-ouvertes.fr/hal-01443184/document
answered Mar 11 at 20:35
user635750user635750
363
363
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3144107%2ffinite-element-in-space-finite-difference-in-time-stability-analysis%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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