Changes between Version 47 and Version 48 of u/erica/GudonovMethodEuler
- Timestamp:
- 05/07/13 10:01:57 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/GudonovMethodEuler
v47 v48 115 115 116 116 {{{ 117 i. Call Bcond -- Boundary condition SR that sets left and right ghost zones to adjacent physical cells (recall boundary conditions are set to transmissive). 117 i. Call Bcond -- Boundary condition SR that sets left and right ghost zones to adjacent physical cells (recall boundary conditions are set to 118 119 transmissive). 118 120 ii. Call CFLcond -- Computes timestep using cfl coeff and max speed, where the max speed is also computed in this SR. 119 iii. Call GetFluxes -- This SR sets up the local Riemann Problem (LRP) and solves it exactly to get rho(x/t), u(x/t), P(x/t) at x/t = 0 (see above explanation of sampling routine). This is the most complicated structure of the program. 121 iii. Call GetFluxes -- This SR sets up the local Riemann Problem (LRP) and solves it exactly to get rho(x/t), u(x/t), P(x/t) at x/t = 0 122 123 (see above explanation of sampling routine). This is the most complicated structure of the program. 120 124 121 125 iv. Call Update -- updates cells using computed flux