Changes between Version 76 and Version 77 of u/erica/GudonovMethodEuler
- Timestamp:
- 05/08/13 11:52:05 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/GudonovMethodEuler
v76 v77 76 76 77 77 Where CFL is a coefficient that ranges from 0<CFL<1. A CFL close to 1, produces the largest time step, but it should be used cautiously during times when errors can be produced, for which a smaller time step should be used. In the God. code described here, the CFL was reduced by 80% for the first 5 time steps of the code. 78 79 Dx is given by the domain length divided by the number of cells. 80 81 Smax is found by looping over the grid and checking for the max speed. Smax is computed in the subroutine for calculating dt. 82 83 78 84 79 85 === Boundary Conditions ===