Editing
Appendix/Ramblings/Radiation/CodeUnits
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Response from Dominic=== What he wrote on my whiteboard contained some mistakes. For example, the correct code units for various quantities are: * <math>[\rho_\mathrm{max}]_\mathrm{code} = 1.000</math>; * <math>[M_\mathrm{Accretor}]_\mathrm{code} = 0.403</math>; * <math>[R_\mathrm{Accretor}]_\mathrm{code} = 0.850</math>; * <math>[P_\mathrm{orbit}]_\mathrm{code} = 31.2</math>; * <math>[M_\mathrm{total}]_\mathrm{code} = 0.685</math>; and * <math>[a_\mathrm{separation}]_\mathrm{code} = 2.58</math>. And when he applies the unit conversions, he gets: * <math>[\rho_\mathrm{max}]_\mathrm{cgs} = 5.12\times 10^3~\mathrm{g}~\mathrm{cm}^{-3}</math>; * <math>[M_\mathrm{Accretor}]_\mathrm{cgs} = 0.569 M_\odot</math>; * <math>[R_\mathrm{Accretor}]_\mathrm{cgs} = 0.100 R_\odot</math>; * <math>[P_\mathrm{orbit}]_\mathrm{cgs} = 28.12~\mathrm{minutes}</math>; * <math>[M_\mathrm{total}]_\mathrm{cgs} = 0.968 M_\odot</math>; and * <math>[a_\mathrm{separation}]_\mathrm{cgs} = 0.302 R_\odot</math>. Two other pieces of information are needed in order to reconcile our numbers. First, Dominic has included a value of {{Math/MP_MeanMolecularWeight}}<math>= 4/3</math> in his ''cgs'' value of {{Math/C_GasConstant}}, that is, he has set <math>\Re/\bar{\mu} = 6.236\times 10^7~\mathrm{cgs}</math>. Second, the length-scale he has adopted in his rad-hydro code is different from the one that Wes provided straight from the SCF code. In particular, Dominic ''thinks'' Wes sets, <div align="center"> <math> [\Delta R]_\mathrm{Wes\_code} = \frac{1}{128-3} = 8\times 10^{-3} , </math> </div> whereas, in order to conform to the constraints imposed by HAD, Dominic sets, <div align="center"> <math> [\Delta R]_\mathrm{Nic\_code} = \frac{\pi}{128} = 2.454\times 10^{-2} . </math> </div> Hence, in order to transform from the ''code units'' used by Wes (and the SCF code) to ''code units'' used by Dominic, every quantity that includes a unit of length must be multiplied by, <div align="center"> <math>\biggl[ \frac{\ell_\mathrm{Nic}}{\ell_\mathrm{Wes}}\biggr]_\mathrm{code} = \frac{\pi (128-3)}{128} = 3.067962. </math></div>
Summary:
Please note that all contributions to JETohlineWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JETohlineWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Tiled Menu
Table of Contents
Old (VisTrails) Cover
Appendices
Variables & Parameters
Key Equations
Special Functions
Permissions
Formats
References
lsuPhys
Ramblings
Uploaded Images
Originals
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information