Changes between Version 2 and Version 3 of u/erica/PoissonPlusHydro


Ignore:
Timestamp:
08/29/13 13:03:29 (11 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/PoissonPlusHydro

    v2 v3  
    99where [[latex($\vec{u}$)]] is vector of fluid variables, [[latex($\vec{F}$)]] is their fluxes, and [[latex($\vec{S}$)]] is the source-term vector.
    1010
     11To solve this system of equations, we can employ operator splitting, which is analagous to the procedure for splitting the higher dimensional Euler equations (as I did for 2D -- see wiki page).
     12
     13It is basically as follows, first solve the homogenous equations,
     14
     15[[latex($\vec{u}_t + \vec{F}(\vec{u})_x = 0$)]]
     16
     17with initial condition for the grid,
     18
     19[[latex($\vec{u}(x,0) = \vec{u}_i ^0$)]]
     20
     21over a time-step dt (found by usual CFL condition for upwind Godunov scheme). This gives the solution,
     22
     23[[latex($\vec{u}^{n+1/2}$)]]
     24
     25Next, solve the equation for the source-term,
     26
     27[[latex($\frac{d}{dt}\vec{u} = \vec{S}(\vec{u})$)]]
     28
     29with initial condition
     30
     31[[latex($\vec{u}(x,0) = \vec{u}^{n+1/2}$)]]
     32
     33This gives the solution for the complete time-step,
     34
     35[[latex($\vec{u}^{n+1}$)]]
     36
     37Given the ODE's for the 'source' step only involve equations for momentum and energy, we conclude that only u and E change over this step (density does not).
     38
     39Thus, a schematic is as follows,
     40
     41Hydro step [[latex($\rightarrow$)]] [[latex($\vec{u} = <\rho^{n+1/2}, u^{n+1/2}, E^{n+1/2}>~\rightarrow$)]]
     42
     43Source step [[latex($\rightarrow$)]] [[latex($\vec{u} = <\rho^{n+1/2}=\rho^{n+1}, u^{n+1}, E^{n+1}>$)]]
     44
     45
     46
     47
     48