Changes between Version 1 and Version 2 of u/erica/TestingOpSplitting
- Timestamp:
- 09/15/13 12:15:36 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/TestingOpSplitting
v1 v2 12 12 The background pressure (P0) and pressure perturbation (P1) was given by the ideal gas law, 13 13 14 [[latex($P = P_0 + P_1 = \frac{K_B T}{ \m_H}(\rho_0 + \rho_1) = 1 + \frac{K_B T}{m_H}(\rho_1) / pscale$)]]14 [[latex($P = P_0 + P_1 = \frac{K_B T}{m_H}(\rho_0 + \rho_1) = 1 + \frac{K_B T}{m_H}(\rho_1) / pscale$)]] 15 15 16 16 The velocity formula was a little more involved, looking like … … 42 42 Thus, the scaled version of the gravitational constant is given by, 43 43 44 [[latex($scalegrav = 6.674^{-8} (\frac{cm^3}{g s^2}rhoscale (timescale)^2)$)]]44 [[latex($scalegrav = 6.674^{-8}\frac{cm^3}{g s^2}rhoscale (timescale)^2$)]] 45 45 46 46 … … 65 65 66 66 67 To get the final time (in computational units), I had the code print out tfinal=5/growthrate, and used this in my problem.data for the simulation time. I then compared this output to that astrobear 68 69 gave me. 67 To get the final time (in computational units), I had the code print out tfinal=5/growthrate, and used this in my problem.data for the simulation time. I then compared this output to that astrobear gave me.