53 | | == Description of various scaling parameters == |
54 | | MUST be present if cooling, radiation force, or gravity are switched on! |
55 | | More information can be found at CalcGlobalScale and the .pdf link at the bottom of that page. |
56 | | |
57 | | * '''''{{{rScale:}}}''''' The density scale [g/cc]. If rScale is set, nScale is ignored. If rScale is 0, then nScale is used to find rScale. |
58 | | * '''''{{{nScale:}}}''''' The number density scale parameter [particles/cc] |
59 | | |
60 | | * '''''{{{pScale:}}}''''' The pressure scale [dynes/cm^2^]. If pScale is set, !TempScale is ignored. If pScale is 0, then !TempScale is used to find pScale |
61 | | * '''''{{{TempScale:}}}''''' The temperature scale parameter [Kelvin] |
62 | | |
63 | | * '''''{{{lScale:}}}''''' The length scale parameter [cm]. This defines 1 computational unit. |
| 53 | == Scaling Parameters == |
| 54 | |
| 55 | These parameters control the scaling of the variable data. Many calculations are done in scaled physical quantities to minimize truncation error, and so variable data is typically stored in scaled or dimensionless form. These values are applied when the data needs to be restored to its proper scaling and units. |
| 56 | |
| 57 | Note that some of these options are closely related. For instance, we have scaling options for mass density and number density. AstroBEAR only requires one of these quantities to be set in the data file--it will use the specified quantity to derive the unspecified one. This allows users greater flexibility in setting up their problems (for instance, if they know the temperature scale of their domain but not the pressure scale). |
| 58 | |
| 59 | * '''''{{{rScale:}}}''''' The density scale in [g/cc]. If {{{rScale}}} is set, {{{nScale is ignored}}}. If {{{rScale is 0.0}}}, then {{{nScale}}} is used to calculate {{{rScale}}}. {{{rScale}}} and {{{nScale}}} should not both be set to 0.0. |
| 60 | |
| 61 | * '''''{{{nScale:}}}''''' The number density scale in [particles/cc]. {{{nScale}}} is only used if {{{rScale}}} is set to 0.0; otherwise it is derived from {{{rScale}}}. Again, {{{rScale}}} and {{{nScale}}} should not both be 0. |
| 62 | |
| 63 | * '''''{{{TempScale:}}}''''' The temperature scale in [Kelvin]. If {{{TempScale}}} is set to 0.0, then it will be derived from {{{pScale}}}. {{{TempScale}}} and {{{pScale}}} should not both be set to 0.0. |
| 64 | |
| 65 | * '''''{{{pScale:}}}''''' The pressure scale [dynes/cm^2^]. {{{pScale}}} is only used if {{{TempScale}}} is set to 0.0; otherwise it is derived from {{{pScale}}}. Again, {{{TempScale}}} and {{{pScale}}} should not both be 0. |
| 66 | |
| 67 | * '''''{{{lScale:}}}''''' The length scale in [cm]. This defines 1 ''computational unit'' (the units used in [GlobalDataExplained global.data] to define the size of the domain). |