Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 20507
2 votes
Accepted

Is is preferable to use a difference formula of higher order of accuracy for spatial derivat...

You could use the method of lines to solve this PDE. If you use an explicit finite difference method, you will need to take a rather small time step (${\mathcal O(\Delta x^3))}$ due to the $u_{xxx}$ …
David Ketcheson's user avatar
1 vote
Accepted

Advice on numerical solution for 2D hyperbolic PDE with zero flux boundary conditions

The reason you don't get conservation is that you've used the product rule before discretizing, so conservation would require an exact cancellation of truncation errors in the different product terms …
David Ketcheson's user avatar
1 vote

Finite difference for a highly nonlinear equation - The wind within the forest

As noted already in the comments, your boundary conditions seem off. Note that generically for a second-order BVP one expects to impose only two boundary conditions; you have 4. Once you’re sure you …
David Ketcheson's user avatar