Changes between Version 21 and Version 22 of u/erica/GudonovMethodEuler
- Timestamp:
- 05/04/13 11:26:05 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/GudonovMethodEuler
v21 v22 15 15 16 16 == The method == 17 18 === Finding Pstar === 19 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. 17 21 18 22 In conservative form, the Godunov method is written: