Changes between Version 9 and Version 10 of u/erica/GudonovMethodEuler
 Timestamp:
 04/29/13 22:42:21 (12 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

u/erica/GudonovMethodEuler
v9 v10 18 18 19 19 {{{#!latex 20 u{_i ^{n+1}} = u{_i ^n} + \frac{\triangle t}{ \triangle x}*[F(i1/2)  F(i+1/2)] 21 \rho 20 u{_i ^{n+1}} = u{_i ^n} + \frac{\triangle t}{ \triangle x}*[F{_{i1/2}}  F{_{i+1/2}}] 22 21 }}} 23 22 24 where F(i1/2) is the numerical flux, which = F(u(i+1/2, 0)) (i.e. the physical flux evaluated using the solution to local RP) 23 where 24 25 {{{#!latex 26 F{_{i1/2}} 27 }}} 28 29 is the numerical flux, which = F(u(i+1/2, 0)) (i.e. the physical flux evaluated using the solution to local RP) 25 30 26 31 where delta_t is constrained by the delta_t <= delta_x/max[S(n)] < here s(n) is a given wave speed. note this allows a wave to travel a full delta_x in a timestep