Changes between Version 10 and Version 11 of u/erica/PoissonPlusHydro
- Timestamp:
- 09/16/13 09:53:43 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/PoissonPlusHydro
v10 v11 1 = Splitting Method = 2 1 3 The non-homogenous 1D Euler equations with self-gravity are given by 2 4 … … 45 47 '''Source step''' [[latex($\rightarrow$)]] [[latex($\vec{u}_i ^{n+1} = <\rho^{n+1/2}=\rho^{n+1}, u^{n+1}, E^{n+1}>$)]] 46 48 49 = Boundary Conditions = 50 51 To test my code, I used periodic boundary conditions on the box and the poisson solver. For periodic BCs on the elliptic solver, this required subtracting off the mean density from the vector for rho, and using this as the source function. 52 53 = Code Outline = 47 54 48 55