Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong sign in upwinding detection with particular coefficient form #130

Open
isaacsas opened this issue Jul 13, 2022 · 1 comment
Open

Comments

@isaacsas
Copy link
Member

See Discourse, feel free to close if this is not an error: https://discourse.julialang.org/t/stability-issue-with-methodoflines/84133/5

@xtalax
Copy link
Member

xtalax commented Jul 13, 2022

Seems to boil down to this:

Yes good go ahead:

eq = (g(τ, x)) ~ - λ * (x - xb) * Dx(g(τ, x)) 

No stop bad:

eq = (g(τ, x)) ~ λ * (xb - x) * Dx(g(τ, x)) 

A head scratcher to be sure, as the values of - λ * (x - xb) and λ * (xb - x) should be known, concrete and equal at discretization time.

@xtalax xtalax changed the title wrong sign in upwinding detection Wrong sign in upwinding detection with particular coefficient form Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants