Changes between Version 19 and Version 20 of u/erica/ExactRiemannSolver


Ignore:
Timestamp:
01/04/13 23:58:36 (12 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/ExactRiemannSolver

    v19 v20  
    16162. Using this p*, u* is found in the star region given simple analytic expression.
    1717
    18 3. Using p* and u*, the solution is sampled at every point on the grid. The position is determined by comparing speeds in the grid. First it is determined whether point is on left or right side of the contact discontinuity. (The speed of the contact disc. is given by u*)
     183. Using p* and u*, the solution is sampled at every point on the grid. The position is determined by comparing speeds in the grid. First it is determined whether point is on left or right side of the contact discontinuity. (The speed of the contact disc. is given by u*). If s<u*, point is on left of the contact. If s>u*, it is on right.
     19
     204. Next, given the initial L- and R- pressure compared to P*, the type of wave is determined. If p_L < p* - left wave is shock else it is a rarefaction. If p_R < p*, wave is shock else it is a rarefaction. Note, this assumes waves always travel away from the contact.
     21
     225. Once waves present are known, then the different speeds in the grid are compared to the speeds of the different left and right waves. The appropriate analytic expression is then chosen, based on relative position to wave.
    1923
    2024=== Results ===