Changes between Version 1 and Version 2 of u/erica/TestingOpSplitting


Ignore:
Timestamp:
09/15/13 12:15:36 (11 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/TestingOpSplitting

    v1 v2  
    1212The background pressure (P0) and pressure perturbation (P1) was given by the ideal gas law,
    1313
    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$)]]
    1515
    1616The velocity formula was a little more involved, looking like
     
    4242Thus, the scaled version of the gravitational constant is given by,
    4343
    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$)]]
    4545
    4646
     
    6565
    6666
    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.
     67To 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.