Changes between Version 76 and Version 77 of u/erica/GudonovMethodEuler


Ignore:
Timestamp:
05/08/13 11:52:05 (12 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/GudonovMethodEuler

    v76 v77  
    7676
    7777Where 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
     79Dx is given by the domain length divided by the number of cells.
     80
     81Smax is found by looping over the grid and checking for the max speed. Smax is computed in the subroutine for calculating dt.
     82
     83
    7884
    7985=== Boundary Conditions ===