|
[Sponsors] |
Upwind scheme blows up when encountered a peak |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 9, 2018, 19:53 |
|
#21 | |
Senior Member
|
Quote:
I tried to consider negative velocity as well to my scheme, not just assume always positive. The solution does not blow up any more, but the square wave does not hold any longer: it only leaves a peak (or compressed wave) plus some small waves moving to the right. Would it be safe to say that general upwind is not suitable for this kind of equation unless further modification is added to the scheme? |
||
March 9, 2018, 20:08 |
|
#22 | |
Senior Member
|
Quote:
|
||
March 10, 2018, 04:59 |
|
#23 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
The upwind scheme should be formulate in the general Godunov formulation, as illustrated in the book of Leveque. Maybe, you could also see the matlab sources of the clawpack software. Have you tried to do the case with v0 is constant? |
||
March 11, 2018, 03:12 |
|
#24 | |
Senior Member
|
Quote:
|
||
March 12, 2018, 00:25 |
|
#25 | |
Senior Member
|
Quote:
|
||
March 12, 2018, 04:40 |
|
#26 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
The first order upwind is strongly diffusive, try to work using a very fine mesh
|
|
March 12, 2018, 11:26 |
|
#27 |
Senior Member
|
Actually what I was trying to say is that with constant v0, the wave does not have this sudden jump when reaches the small v0 region (congested area). I was not trying to say the diffusive property of upwind.
|
|
March 12, 2018, 12:56 |
|
#28 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
But for v0=const you have a different physics, there is no congestion. You see this example in a different section of the book of Leveque. Try to compare your solution with those in the book. |
||
March 14, 2018, 00:51 |
|
#29 |
Senior Member
|
I mean no doubt that upwind will work for the case with v0=const. I was thinking of using upwind as low-resolution method for my flux-limiter for the original spatial-varying v0 case. Since upwind does not work for this, I guess I have to give it up and try other low-resolution scheme, may be Lax_Friedrichs
|
|
March 14, 2018, 11:46 |
|
#30 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
|
||
Tags |
hyperbolic functions, lax-friedrichs, nonlinear equation, upwind schemes |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bounded Gauss upwind Scheme | deepinheart | OpenFOAM Running, Solving & CFD | 1 | February 23, 2015 06:57 |
Implementation of 2nd order upwind scheme | jaason | OpenFOAM Running, Solving & CFD | 4 | February 6, 2015 18:40 |
2nd order upwind vs 2nd order upwind!!! | Far | Main CFD Forum | 7 | March 14, 2013 13:29 |
Use of upwind scheme for interpolation of u/v | quarkz | Main CFD Forum | 6 | August 30, 2011 05:10 |
2nd order upwind scheme (Fluent and CFX) | Far | FLUENT | 0 | May 22, 2011 02:50 |