| | 11 | To 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 | |
| | 13 | It is basically as follows, first solve the homogenous equations, |
| | 14 | |
| | 15 | [[latex($\vec{u}_t + \vec{F}(\vec{u})_x = 0$)]] |
| | 16 | |
| | 17 | with initial condition for the grid, |
| | 18 | |
| | 19 | [[latex($\vec{u}(x,0) = \vec{u}_i ^0$)]] |
| | 20 | |
| | 21 | over 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 | |
| | 25 | Next, solve the equation for the source-term, |
| | 26 | |
| | 27 | [[latex($\frac{d}{dt}\vec{u} = \vec{S}(\vec{u})$)]] |
| | 28 | |
| | 29 | with initial condition |
| | 30 | |
| | 31 | [[latex($\vec{u}(x,0) = \vec{u}^{n+1/2}$)]] |
| | 32 | |
| | 33 | This gives the solution for the complete time-step, |
| | 34 | |
| | 35 | [[latex($\vec{u}^{n+1}$)]] |
| | 36 | |
| | 37 | Given 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 | |
| | 39 | Thus, a schematic is as follows, |
| | 40 | |
| | 41 | Hydro step [[latex($\rightarrow$)]] [[latex($\vec{u} = <\rho^{n+1/2}, u^{n+1/2}, E^{n+1/2}>~\rightarrow$)]] |
| | 42 | |
| | 43 | Source step [[latex($\rightarrow$)]] [[latex($\vec{u} = <\rho^{n+1/2}=\rho^{n+1}, u^{n+1}, E^{n+1}>$)]] |
| | 44 | |
| | 45 | |
| | 46 | |
| | 47 | |
| | 48 | |