Changes between Version 22 and Version 23 of u/erica/GudonovMethodEuler
- Timestamp:
- 05/04/13 11:27:52 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/GudonovMethodEuler
v22 v23 19 19 20 20 Pstar is the solution for pressure in the "star region", which is set up at the intercell boundaries by the left and right cells involved in the local Riemann problems. This region is where the contact discontinuity lies, flanked on either side by a given combination of 2 shock or rarefaction waves. The first step at each intercell boundary is to solve for pstar. Pstar is found by Newton's iterative scheme, with the routine as it was in the Exact Riemann solver described before. 21 22 === Sampling the solution === 23 24 Once Pstar is found to within a certain degree of accuracy, ustar is given immediately by a simple formula in Toro, chapter 4. 21 25 22 26 In conservative form, the Godunov method is written: