| | 57 | |
| | 58 | Scales are parameters that can actively affect the outcome of a simulation. [[BR]] |
| | 59 | Physics.data contains a section dedicated to the setting of scales: |
| | 60 | |
| | 61 | {{{ |
| | 62 | nScale = 0.0, ! number density scale parameter [particles/cc] |
| | 63 | rScale = 1d0, ! density scale [g/cc], nScale is ignored !!! NOTE: if = 0 then nScale is used to find rScale |
| | 64 | TempScale = 1000d0, ! temperature scale parameter [Kelvin] |
| | 65 | pScale = 0.0, ! pressure scale [dynes/cm^2], TempScale is ignored !!! NOTE: if = 0 then TempScale is used to find pScale |
| | 66 | lScale = .5e10 ! length scale parameter [cm] (defines 1 computational unit!!!) |
| | 67 | |
| | 68 | }}} |
| | 69 | |
| | 70 | It is good practice to adapt the scales to the specific needs of a simulation, let's see an example:[[BR]] |
| | 71 | In the code listed in the Initial Conditions section we set the disk radius to be 2e10cm, with that, we set our length scale parameter (lScale) to be .5e10cm[[BR]] |
| | 72 | this will result in R,,disk,,/lScale = 4. |
| | 73 | |