Changes between Version 9 and Version 10 of u/erica/GudonovMethodEuler


Ignore:
Timestamp:
04/29/13 22:42:21 (12 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/GudonovMethodEuler

    v9 v10  
    1818
    1919{{{#!latex
    20 u{_i ^{n+1}} = u{_i ^n} + \frac{\triangle t}{ \triangle x}*[F(i-1/2) - F(i+1/2)]
    21 \rho
     20u{_i ^{n+1}} = u{_i ^n} + \frac{\triangle t}{ \triangle x}*[F{_{i-1/2}} - F{_{i+1/2}}]
    2221}}}
    2322
    24 where F(i-1/2) is the numerical flux, which = F(u(i+1/2, 0)) (i.e. the physical flux evaluated using the solution to local RP)
     23where
     24
     25{{{#!latex
     26F{_{i-1/2}}
     27}}}
     28
     29is the numerical flux, which = F(u(i+1/2, 0)) (i.e. the physical flux evaluated using the solution to local RP)
    2530
    2631where 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 time-step