Inconsistent finite difference scheme Announcing the arrival of Valued Associate #679: Cesar...

How to colour the US map with Yellow, Green, Red and Blue to minimize the number of states with the colour of Green

Blender game recording at the wrong time

Area of a 2D convex hull

Was credit for the black hole image misattributed?

I'm having difficulty getting my players to do stuff in a sandbox campaign

What did Darwin mean by 'squib' here?

What is the electric potential inside a point charge?

How does modal jazz use chord progressions?

Slither Like a Snake

Can I throw a longsword at someone?

When is phishing education going too far?

Why does tar appear to skip file contents when output file is /dev/null?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

What is the largest species of polychaete?

Geometric mean and geometric standard deviation

Can a monk deflect thrown melee weapons?

Estimate capacitor parameters

Is there a documented rationale why the House Ways and Means chairman can demand tax info?

Notation for two qubit composite product state

What computer would be fastest for Mathematica Home Edition?

Does a C shift expression have unsigned type? Why would Splint warn about a right-shift?

Single author papers against my advisor's will?

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Is it possible to ask for a hotel room without minibar/extra services?



Inconsistent finite difference scheme



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Centered-Difference Scheme to approximate BVPStability of a scheme for one way wave equation.Looking for a Finite Difference scheme of the following form…Question on the solution to obtaining the truncation error for the Crank-Nicolson finite-difference schemeInconsistent finite difference scheme for linear inhomogeneous diffusionExplicit Finite Difference Scheme for 3D diffusion with variable conductivityRecursive application of finite difference approximationFinite Difference Scheme for the KdV equationMixed derivative finite differenceTruncation error on a non-uniform finite difference scheme












0












$begingroup$


I have the following:




The Equation
$$bfrac{partial u}{partial t} + frac{partial u}{partial t} - c(x,t) = 0$$
b is a constant. The Equation is approximated at point $(x_i, t^n)$ in the $x-t$ plane by the difference scheme
$$frac{b}{Delta t}left{u^{n+1}_i - frac{1}{2}(u^n_{i+1} + u^n_{i-1})right} + frac{1}{2Delta x}(u^n_{i+1} - u^n_{i-1}) - c^n_i =0$$
If we set $Delta t = lambda(Delta x)^2$ then I have that the truncation error is given by
$$T^n_i = frac{b}{2}left(lambda(Delta x)^2u_{tt} - frac{1}{lambda}u_{xx}right) + frac{(Delta x)^2}{6}u_{xxx} + cdots$$
So as $Delta x rightarrow 0$ then $T^n_i rightarrow -dfrac{b}{2lambda}u_{xx}$.






I am asked that if the scheme is inconsistent like this then to obtain the equation it does approximate. How would I do this?










share|cite|improve this question









$endgroup$












  • $begingroup$
    The way the differential equation is written there are only derivatives with respect to $t$ involved. Is this intentional or a typo? If it is intentional, what is the difference between the index $i$ and the index $n$?
    $endgroup$
    – ekkilop
    Apr 3 at 13:41
















0












$begingroup$


I have the following:




The Equation
$$bfrac{partial u}{partial t} + frac{partial u}{partial t} - c(x,t) = 0$$
b is a constant. The Equation is approximated at point $(x_i, t^n)$ in the $x-t$ plane by the difference scheme
$$frac{b}{Delta t}left{u^{n+1}_i - frac{1}{2}(u^n_{i+1} + u^n_{i-1})right} + frac{1}{2Delta x}(u^n_{i+1} - u^n_{i-1}) - c^n_i =0$$
If we set $Delta t = lambda(Delta x)^2$ then I have that the truncation error is given by
$$T^n_i = frac{b}{2}left(lambda(Delta x)^2u_{tt} - frac{1}{lambda}u_{xx}right) + frac{(Delta x)^2}{6}u_{xxx} + cdots$$
So as $Delta x rightarrow 0$ then $T^n_i rightarrow -dfrac{b}{2lambda}u_{xx}$.






I am asked that if the scheme is inconsistent like this then to obtain the equation it does approximate. How would I do this?










share|cite|improve this question









$endgroup$












  • $begingroup$
    The way the differential equation is written there are only derivatives with respect to $t$ involved. Is this intentional or a typo? If it is intentional, what is the difference between the index $i$ and the index $n$?
    $endgroup$
    – ekkilop
    Apr 3 at 13:41














0












0








0





$begingroup$


I have the following:




The Equation
$$bfrac{partial u}{partial t} + frac{partial u}{partial t} - c(x,t) = 0$$
b is a constant. The Equation is approximated at point $(x_i, t^n)$ in the $x-t$ plane by the difference scheme
$$frac{b}{Delta t}left{u^{n+1}_i - frac{1}{2}(u^n_{i+1} + u^n_{i-1})right} + frac{1}{2Delta x}(u^n_{i+1} - u^n_{i-1}) - c^n_i =0$$
If we set $Delta t = lambda(Delta x)^2$ then I have that the truncation error is given by
$$T^n_i = frac{b}{2}left(lambda(Delta x)^2u_{tt} - frac{1}{lambda}u_{xx}right) + frac{(Delta x)^2}{6}u_{xxx} + cdots$$
So as $Delta x rightarrow 0$ then $T^n_i rightarrow -dfrac{b}{2lambda}u_{xx}$.






I am asked that if the scheme is inconsistent like this then to obtain the equation it does approximate. How would I do this?










share|cite|improve this question









$endgroup$




I have the following:




The Equation
$$bfrac{partial u}{partial t} + frac{partial u}{partial t} - c(x,t) = 0$$
b is a constant. The Equation is approximated at point $(x_i, t^n)$ in the $x-t$ plane by the difference scheme
$$frac{b}{Delta t}left{u^{n+1}_i - frac{1}{2}(u^n_{i+1} + u^n_{i-1})right} + frac{1}{2Delta x}(u^n_{i+1} - u^n_{i-1}) - c^n_i =0$$
If we set $Delta t = lambda(Delta x)^2$ then I have that the truncation error is given by
$$T^n_i = frac{b}{2}left(lambda(Delta x)^2u_{tt} - frac{1}{lambda}u_{xx}right) + frac{(Delta x)^2}{6}u_{xxx} + cdots$$
So as $Delta x rightarrow 0$ then $T^n_i rightarrow -dfrac{b}{2lambda}u_{xx}$.






I am asked that if the scheme is inconsistent like this then to obtain the equation it does approximate. How would I do this?







numerical-methods finite-differences finite-difference-methods






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Mar 23 at 11:24









MRTMRT

348216




348216












  • $begingroup$
    The way the differential equation is written there are only derivatives with respect to $t$ involved. Is this intentional or a typo? If it is intentional, what is the difference between the index $i$ and the index $n$?
    $endgroup$
    – ekkilop
    Apr 3 at 13:41


















  • $begingroup$
    The way the differential equation is written there are only derivatives with respect to $t$ involved. Is this intentional or a typo? If it is intentional, what is the difference between the index $i$ and the index $n$?
    $endgroup$
    – ekkilop
    Apr 3 at 13:41
















$begingroup$
The way the differential equation is written there are only derivatives with respect to $t$ involved. Is this intentional or a typo? If it is intentional, what is the difference between the index $i$ and the index $n$?
$endgroup$
– ekkilop
Apr 3 at 13:41




$begingroup$
The way the differential equation is written there are only derivatives with respect to $t$ involved. Is this intentional or a typo? If it is intentional, what is the difference between the index $i$ and the index $n$?
$endgroup$
– ekkilop
Apr 3 at 13:41










0






active

oldest

votes












Your Answer








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%2f3159203%2finconsistent-finite-difference-scheme%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%2f3159203%2finconsistent-finite-difference-scheme%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

六本木駅

Integral that is continuous and looks like it converges to a geometric seriesTesting if a geometric series converges by taking limit to infinitySummation of arithmetic-geometric series of higher orderGeometric series with polynomial exponentHow to Recognize a Geometric SeriesShowing an integral equality with series over the integersDiscontinuity of a series of continuous functionsReasons why a Series ConvergesSum of infinite geometric series with two terms in summationUsing geometric series for computing IntegralsLimit of geometric series sum when $r = 1$

Joseph Lister