226 | | Usually, the physical scales are defined in the [PhysicsDataExplained physics.data] file --you simply enter the scales for density, temperature, velocity, etc in cgs units, and AstroBEAR will read them in. ''Note that nScale is in cm^{-3}^ and !TempScale is in Kelvin'' |
| 226 | Usually, the physical scales are defined by a few parameters in the [PhysicsDataExplained physics.data] file --you simply enter the scales for density, temperature, velocity, etc in cgs units, and AstroBEAR will read them in. ''Note that nScale is in cm^{-3}^ and !TempScale is in Kelvin''. When the code runs it will calculate other scales such as the computational time scale, mass scale, magnetic field scale, and so on which are then dumped to a scales.data file in your run directory. All of those units will be in cgs with the magnetic field scale in gauss. It is often useful to know the computational time scale before running your job as this will affect the final time specified in global.data. The computational time scale can be calculated as follows: |
| 227 | |
| 228 | * tScale=lScale / (pScale/rScale)^1/2^ |
| 229 | where you may have to first derive |
| 230 | * rScale=Xmu*amu*nScale |
| 231 | * pScale=nScale*k,,B,,*!TempScale |