Changes between Version 7 and Version 8 of Tutorials/JobSizes


Ignore:
Timestamp:
11/14/13 12:14:56 (11 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/JobSizes

    v7 v8  
    5353
    5454{{{ #!latex
    55 $v_{cs}=\sqrt{\frac{p}{\gamma \rho}}$
     55$v_{cs}=\sqrt{\gamma \frac{p}{\rho}}$
    5656}}}
    57 where ''p'' is the [PrimitiveVariables primitive variable] pressure, gamma the ideal gas equation of state variable, and rho the density.
     57where ''p'' is the pressure, gamma is the adiabatic index (ratio of specific heats), and rho the mass density.
    5858
    5959This maximum speed--and its equivalents in MHD or with elliptic terms--determines the largest timestep that the code can take, bounded by the [http://en.wikipedia.org/wiki/Cfl_number CFL] number, ''C'',
     
    7777 === In practice, you're best off guessing ===
    7878
    79 Unfortunately, in reality the maximum wave speed may vary wildly over the course of a simulation, meaning such approximations should be taken with a grain of salt. Still, it would be good to incorporate this or some similar measure into the periodic state updates that AstroBEAR provides the user (as Jonathan's code does).
     79Unfortunately, in reality the maximum wave speed may vary wildly over the course of a simulation, meaning such approximations should be taken with a grain of salt.
    8080
    8181In practice, you can quickly get an idea of how long your simulation will take by looking at the time between data output frames. In most cases, there will be many individual time steps in between data frames, meaning that  short-term differences between the length of time steps will be smoothed out. This allows a fairly good indicator of whether the time between frames is expected to decrease, increase, or stay the same.