User:Tohline/Appendix/Ramblings/Radiation/CodeUnits

From VistrailsWiki
Jump to navigation Jump to search
Whitworth's (1981) Isothermal Free-Energy Surface
|   Tiled Menu   |   Tables of Content   |  Banner Video   |  Tohline Home Page   |

Marcello's Radiation-Hydro Simulations

Determining Code Units

Logic Used by Dominic Marcello

At our group meeting on 21 July 2010, Dominic explained how he had established the values of various coupling constants in his first, long, <math>q_0 = 0.7</math> simulations. In place of the physical constants, <math>~G</math>, <math>~c</math>, <math>~\Re</math>, and <math>~a_\mathrm{rad}</math>, Dominic used the following code-unit values — hereafter referred to as Case A:

  • <math>\tilde{g} = 1</math>
  • <math>\tilde{c} = 198</math>
  • <math>\tilde{r} = 0.44</math>
  • <math>\tilde{a} = 0.044</math>

This means that any temperature in the simulation that has a value <math>T_\mathrm{code}</math> in code units must represent an actual physical temperature <math>T_\mathrm{cgs}</math> in cgs units (i.e., measured in Kelvins) of,

<math> T_\mathrm{cgs} = \biggl[ \biggl(\frac{c^2}{\Re}\biggr)\biggl(\frac{\tilde{c}^2}{\tilde{r}}\biggr)^{-1} \biggr] T_\mathrm{code} ; </math>

any length-scale in the simulation that has a value <math>\ell_\mathrm{code}</math> must represent an actual physical length <math>\ell_\mathrm{cgs}</math> in cgs units of,

<math> \ell_\mathrm{cgs} = \biggl[\biggl(\frac{\Re^4}{c^4 G a_\mathrm{rad}}\biggr)\biggl(\frac{\tilde{r}^4}{\tilde{c}^4 \tilde{g}\tilde{a}}\biggr)^{-1}\biggr]^{1/2} \ell_\mathrm{code} ; </math>

any time in the simulation that has a value <math>t_\mathrm{code}</math> must represent an actual physical time <math>t_\mathrm{cgs}</math> in cgs units of,

<math> t_\mathrm{cgs} = \biggl[\biggl(\frac{\Re^4 }{c^6 G a_\mathrm{rad}}\biggr)\biggl(\frac{\tilde{r}^4}{\tilde{c}^6 \tilde{g}\tilde{a}}\biggr)^{-1}\biggr]^{1/2} t_\mathrm{code} ; </math>

and, finally, any mass in the simulation that has a value <math>m_\mathrm{code}</math> must represent an actual physical mass <math>m_\mathrm{cgs}</math> in cgs units of,

<math> m_\mathrm{cgs} = \biggl[\biggl(\frac{\Re^4}{G^3 a_\mathrm{rad}}\biggr)\biggl(\frac{\tilde{r}^4}{\tilde{g}^3 \tilde{a}}\biggr)^{-1}\biggr]^{1/2} m_\mathrm{code} . </math>


Now, the SCF-code-generated polytropic binary that Wes Even gave to Dominic had the following properties, in dimensionless code units:

  • <math>[M_\mathrm{total}]_\mathrm{code} = 0.85</math>;
  • <math>[R_\mathrm{Accretor}]_\mathrm{code} = 0.4</math>; and
  • <math>[P_\mathrm{orbit}]_\mathrm{code} = 31</math>.

According to Dominic's calculations this means that his simulation represents a real binary system with the following properties:

  • <math>[M_\mathrm{total}]_\mathrm{cgs} = 0.1 M_\odot</math>;
  • <math>[R_\mathrm{Accretor}]_\mathrm{cgs} = 0.56 R_\odot</math>; and
  • <math>[P_\mathrm{orbit}]_\mathrm{cgs} = 28~\mathrm{minutes}</math>.

Conversely — assuming pure helium, that is, a mean molecular weight <math>~\bar{\mu}</math> of 2 — since the Thompson cross-section is <math>[\sigma_T]_\mathrm{cgs} = 0.2~\mathrm{cm}^2~\mathrm{g}^{-1}</math>, Dominic determined that, in the code, he needed to set the Thompson cross-section value to <math>[\sigma_T]_\mathrm{code} = 8\times 10^{12}</math>. Finally, Dominic pointed out that the characteristic size of a grid cell in the code is <math>[\Delta z]_\mathrm{code} = 0.025</math>. Hence, if only the Thompson cross-section is relevant, the mean-free-path of a photon will equal the size of one grid cell if,

<math> \biggl[\frac{1}{\sigma_T\rho}\biggr]_\mathrm{code} = [\Delta z]_\mathrm{code} </math>

<math> \Rightarrow ~~~~~ [\rho]_\mathrm{code} = \biggl[\frac{1}{\sigma_T(\Delta z)}\biggr]_\mathrm{code} = \frac{1}{2\times 10^{11}} . </math>

Joel's Check of Dominic's Logic and Numbers

Let's plug in values of the physical units that we have tabulated in a Variables Appendix to see if we agree with Dominic's conversions.

<math> \frac{c^2}{\Re} </math>

<math> = </math>

<math> \frac{(3\times 10^{10})^2}{8.314\times 10^7}~\mathrm{cgs} </math>

<math> = </math>

<math> 1.083\times 10^{13}~\mathrm{K} </math>

<math> \biggl(\frac{\Re^4}{c^4 G a_\mathrm{rad}}\biggr)^{1/2} </math>

<math> = </math>

<math> \frac{(8.314\times 10^7)^2}{(3\times 10^{10})^2 (6.674\times 10^{-8})^{1/2}(7.566\times 10^{-15})^{1/2}}~\mathrm{cgs} </math>

<math> = </math>

<math> 3.418\times 10^{5}~\mathrm{cm} </math>

<math> \biggl(\frac{\Re^4}{c^6 G a_\mathrm{rad}}\biggr)^{1/2} </math>

<math> = </math>

<math> \frac{(8.314\times 10^7)^2}{(3\times 10^{10})^3 (6.674\times 10^{-8})^{1/2}(7.566\times 10^{-15})^{1/2}}~\mathrm{cgs} </math>

<math> = </math>

<math> 1.139\times 10^{-5}~\mathrm{s} </math>

<math> \biggl(\frac{\Re^4}{G^3 a_\mathrm{rad}}\biggr)^{1/2} </math>

<math> = </math>

<math> \frac{(8.314\times 10^7)^2}{(6.674\times 10^{-8})^{3/2}(7.566\times 10^{-15})^{1/2}}~\mathrm{cgs} </math>

<math> = </math>

<math> 4.609\times 10^{33}~\mathrm{g} </math>

Hence,

General Relations

<math> \frac{T_\mathrm{cgs}}{T_\mathrm{code}} </math>

<math> = </math>

<math> 1.083\times 10^{13}~\mathrm{K} \biggl( \frac{\tilde{r}}{\tilde{c}^2} \biggr) </math>

<math> \frac{\ell_\mathrm{cgs}}{\ell_\mathrm{code}} </math>

<math> = </math>

<math> 3.418\times 10^{5}~\mathrm{cm} \biggl( \frac{\tilde{c}^4 \tilde{g} \tilde{a} }{\tilde{r}^4} \biggr)^{1/2} </math>

<math> \frac{t_\mathrm{cgs}}{t_\mathrm{code}} </math>

<math> = </math>

<math> 1.139\times 10^{-5}~\mathrm{s} \biggl( \frac{\tilde{c}^6 \tilde{g} \tilde{a} }{\tilde{r}^4} \biggr)^{1/2} </math>

<math> \frac{m_\mathrm{cgs}}{m_\mathrm{code}} </math>

<math> = </math>

<math> 4.609\times 10^{33}~\mathrm{g} \biggl( \frac{\tilde{g}^3 \tilde{a} }{\tilde{r}^4} \biggr)^{1/2} </math>

For the Case A parameter values adopted by Dominic, above, and for the particular SCF-code-generated model provided by Wes, I derive,


Case A

<math> R_\mathrm{Accretor} </math>

<math> = </math>

<math> 3.418\times 10^{5}~\mathrm{cm} \biggl[ \frac{198^4 \times 0.044 }{(0.44)^4 } \biggr]^{1/2} \times 0.40 </math>

<math> = </math>

<math> 5.8\times 10^{9}~\mathrm{cm} = 0.083~\mathrm{R}_\odot </math>

<math> P_\mathrm{orbit} </math>

<math> = </math>

<math> 1.139\times 10^{-5}~\mathrm{s} \biggl[ \frac{198^6 \times 0.044 }{(0.44)^4} \biggr]^{1/2} \times 31 </math>

<math> = </math>

<math> 2.97\times 10^{3}~\mathrm{s} = 49.5 ~\mathrm{minutes} </math>

<math> M_\mathrm{total} </math>

<math> = </math>

<math> 4.609\times 10^{33}~\mathrm{g} \biggl[ \frac{0.044 }{(0.44)^4 } \biggr]^{1/2} \times 0.85 </math>

<math> = </math>

<math> 4.245\times 10^{33}~\mathrm{g} = 2.1~\mathrm{M}_\odot </math>

These values do not agree with the ones derived by Dominic.

Possible Point of Confusion/Disagreement

NOTE: Either Dominic wrote the wrong values on my whiteboard or I copied them down incorrectly, but based on the SCF-code parameters that were given to me by Wes Even, in dimensionless code units the model parameters should be: <math>[M_\mathrm{total}]_\mathrm{code} = 0.0237</math> and <math>[R_\mathrm{Accretor}]_\mathrm{code} = 0.273</math> and <math>[P_\mathrm{orbit}]_\mathrm{code} = 31.19</math>; the orbital separation is <math>[a_\mathrm{separation}]_\mathrm{code} = 0.83938</math>. Combining these values with Dominic's Case A parameter values gives:

  • <math>[M_\mathrm{total}]_\mathrm{cgs} = 0.059 M_\odot</math>;
  • <math>[R_\mathrm{Accretor}]_\mathrm{cgs} = 0.057 R_\odot</math>;
  • <math>[P_\mathrm{orbit}]_\mathrm{cgs} = 50~\mathrm{minutes}</math>; and
  • <math>[a_\mathrm{separation}]_\mathrm{cgs} = 0.174 R_\odot</math>.

On 7/24/2010, Joel checked this boxed-in group of numbers against a "polytropic unit conversion spreadsheet" that he developed while at the Lorentz Institute in the Fall of 2010. They are all consistent with Wes Even's SCF-generated Q07 model.


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>~\bar{\mu}</math><math>= 4/3</math> in his cgs value of <math>~\Re</math>, 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,

<math> [\Delta R]_\mathrm{Wes\_code} = \frac{1}{128-3} = 8\times 10^{-3} , </math>

whereas, in order to conform to the constraints imposed by HAD, Dominic sets,

<math> [\Delta R]_\mathrm{Nic\_code} = \frac{\pi}{128} = 2.454\times 10^{-2} . </math>

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,

<math>\biggl[ \frac{\ell_\mathrm{Nic}}{\ell_\mathrm{Wes}}\biggr]_\mathrm{code} = \frac{\pi (128-3)}{128} = 3.067962.

</math>


Other Thoughts

Notice that Dominic's method for converting from code units to cgs units frequently involves the following ratio of physical constants:

<math> \Lambda \equiv \biggl( \frac{\Re^4}{G a_\mathrm{rad}} \biggr)^{1/2} = 3.076 \times 10^{26}~\mathrm{cm}^3~\mathrm{s}^{-2}. </math>

In terms of this new physical constant,

<math> \ell \sim \frac{\Lambda}{ c^2 \bar{\mu}^2} ; </math>

<math> t \sim \frac{\Lambda}{ c^3 \bar{\mu}^2} ; </math>

<math> \mathrm{and} ~~~~~ m \sim \frac{\Lambda}{ G \bar{\mu}^2} . </math>


Corrected Logic

Taking all of the above into consideration, the expressions that should be used to convert from Dominic's code units to real units are the following:


General Relations (taking <math>~\bar{\mu}</math> into account)

<math> \frac{T_\mathrm{cgs}}{T_\mathrm{code}} </math>

<math> = </math>

<math> \frac{c^2}{(\Re/\bar{\mu})} \biggl( \frac{\tilde{r}}{\tilde{c}^2} \biggr) </math>

<math> = </math>

<math> 1.083\times 10^{13}~\mathrm{K} \biggl( \frac{\tilde{r} \bar{\mu}}{\tilde{c}^2} \biggr) </math>

<math> \frac{\ell_\mathrm{cgs}}{\ell_\mathrm{code}} </math>

<math> = </math>

<math> \frac{\Lambda}{ c^2 \bar{\mu}^2} \biggl( \frac{\tilde{c}^4 \tilde{g} \tilde{a} }{\tilde{r}^4} \biggr)^{1/2} </math>

<math> = </math>

<math> 3.418\times 10^{5}~\mathrm{cm} \biggl( \frac{\tilde{c}^4 \tilde{g} \tilde{a} }{\tilde{r}^4 \bar{\mu}^4} \biggr)^{1/2} </math>

<math> \frac{t_\mathrm{cgs}}{t_\mathrm{code}} </math>

<math> = </math>

<math> \frac{\Lambda}{ c^3 \bar{\mu}^2} \biggl( \frac{\tilde{c}^6 \tilde{g} \tilde{a} }{\tilde{r}^4} \biggr)^{1/2} </math>

<math> = </math>

<math> 1.139\times 10^{-5}~\mathrm{s} \biggl( \frac{\tilde{c}^6 \tilde{g} \tilde{a} }{\tilde{r}^4 \bar{\mu}^4} \biggr)^{1/2} </math>

<math> \frac{m_\mathrm{cgs}}{m_\mathrm{code}} </math>

<math> = </math>

<math> \frac{\Lambda}{ G \bar{\mu}^2} \biggl( \frac{\tilde{g}^3 \tilde{a} }{\tilde{r}^4} \biggr)^{1/2} </math>

<math> = </math>

<math> 4.609\times 10^{33}~\mathrm{g} \biggl( \frac{\tilde{g}^3 \tilde{a} }{\tilde{r}^4 \bar{\mu}^4} \biggr)^{1/2} </math>


Hence, for Dominic's first simulation (Case A), the following conversions apply.


Case A:
<math>\tilde{g} = 1</math>; <math>\tilde{c} = 198</math>; <math>\tilde{r} = 0.44</math>; <math>\tilde{a} = 0.044</math>; <math>\bar\mu = 4/3</math>

<math> \frac{T_\mathrm{cgs}}{T_\mathrm{code}} </math>

<math> = </math>

<math> 1.083\times 10^{13}~\mathrm{K} \biggl[ \frac{0.44 (4/3)}{198^2} \biggr] </math>

<math>= 1.621\times 10^8~\mathrm{K}</math>

<math> \frac{\ell_\mathrm{cgs}}{\ell_\mathrm{code}} </math>

<math> = </math>

<math> 3.418\times 10^{5}~\mathrm{cm} \biggl[ \frac{198^4 (0.044) }{(0.44)^4 (4/3)^4} \biggr]^{1/2} </math>

<math>= 8.167\times 10^9~\mathrm{cm}</math>

<math> \frac{t_\mathrm{cgs}}{t_\mathrm{code}} </math>

<math> = </math>

<math> 1.139\times 10^{-5}~\mathrm{s} \biggl[ \frac{198^6 (0.044) }{(0.44)^4 (4/3)^4} \biggr]^{1/2} </math>

<math>= 5.334\times 10^1~\mathrm{s}</math>

<math> \frac{m_\mathrm{cgs}}{m_\mathrm{code}} </math>

<math> = </math>

<math> 4.609\times 10^{33}~\mathrm{g} \biggl[ \frac{ 0.044 }{(0.44)^4 (4/3)^4} \biggr]^{1/2} </math>

<math>= 2.809\times 10^{33}~\mathrm{g}</math>

<math> \frac{\rho_\mathrm{cgs}}{\rho_\mathrm{code}} </math>

<math> = </math>

<math> \biggl( \frac{m_\mathrm{cgs}}{m_\mathrm{code}} \biggr) \biggl( \frac{\ell_\mathrm{cgs}}{\ell_\mathrm{code}} \biggr)^{-3} </math>

<math>= 5.157\times 10^{3}~\mathrm{g}~\mathrm{cm}^{-3}</math>

<math> \frac{\kappa_\mathrm{cgs}}{\kappa_\mathrm{code}} </math>

<math> = </math>

<math> \biggl( \frac{\ell_\mathrm{cgs}}{\ell_\mathrm{code}} \biggr)^{2} \biggl( \frac{m_\mathrm{cgs}}{m_\mathrm{code}} \biggr)^{-1} </math>

<math>= 2.375\times 10^{-14}~\mathrm{cm}^2~\mathrm{g}^{-1}</math>

When using the above tabulated Case A conversion units, it must be understood that the "code unit" values refer to units used in Dominic's rad-hydro code. But it should also be appreciated, as discussed above, that the initial model provided to Dominic by Wes — which had been generated by the SCF code — used a different unit of length from Dominic. The conversion factor from SCF-code lengths to the length's used in Dominic's code is:

<math> \frac{\ell_\mathrm{code}}{\ell_\mathrm{SCF}} = \biggl[ \frac{\pi (128-3)}{128} \biggr] = 3.068 . </math>

Hence, beginning with the values of various binary system parameters as generated by the SCF code, we conclude that the initial model used by Dominic in his Case A rad-hydro simulations has the following properties:

Properties of Initial Q0.7 Polytropic Binary

Quantity

SCF-code
Value

Conversion
Factor

RadHydro-code
Value

Case A
physical units

<math>M_\mathrm{Accretor}</math>

<math>0.01394</math>

<math>\biggl( \frac{\ell_\mathrm{code}}{\ell_\mathrm{SCF}} \biggr)^{3}</math>

<math>0.4025</math>

<math>0.565~M_\odot</math>

<math>M_\mathrm{Donor}</math>

<math>0.009761</math>

<math>\biggl( \frac{\ell_\mathrm{code}}{\ell_\mathrm{SCF}} \biggr)^{3}</math>

<math>0.2819</math>

<math>0.396~M_\odot</math>

<math>\rho_\mathrm{Accretor}</math>

<math>1.000</math>

<math>1</math>

<math>1.000</math>

<math>5.16\times 10^{3}~\mathrm{g}~\mathrm{cm}^{-3}</math>

<math>a_\mathrm{separation}</math>

<math>0.8394</math>

<math>\biggl( \frac{\ell_\mathrm{code}}{\ell_\mathrm{SCF}} \biggr)</math>

<math>2.575</math>

<math>0.300~R_\odot</math>

<math>P_\mathrm{orbit}</math>

<math>31.19</math>

<math>1</math>

<math>31.19</math>

<math>27.7~\mathrm{min}</math>

Chandrasekhar Mass and Radius

Review

The characteristic mass, length, and time scales that are associated with a self-gravitating, degenerate-electron gas are identified in an accompanying Wiki page in the context of our discussion of the structure of spherically symmetric white dwarfs and the Chandrasekhar mass. All three of these scales depend on the characteristic Fermi pressure, <math>~A_\mathrm{F}</math>, and characteristic Fermi density, <math>~B_\mathrm{F}</math>, that are familiar to the condensed-matter community. As recorded in our accompanying variables appendix, the definition of these two condensed-matter relevant quantities is, respectively,

<math> A_\mathrm{F} \equiv \frac{\pi m_e^4 c^5}{3 h^3} = 6.00233\times 10^{22}~\mathrm{erg}~\mathrm{cm}^{-3}, </math>

and,

<math> \frac{B_\mathrm{F}}{\mu_e} \equiv \frac{8\pi m_p}{3} \biggl( \frac{m_e c}{h} \biggr)^3 = 9.81019\times 10^{5}~\mathrm{g}~\mathrm{cm}^{-3}; </math>

and the characteristic, astrophysically relevant mass <math>(M_\mathrm{Ch})</math> and length <math>(\ell_\mathrm{Ch})</math> scales identified by Chandrasekhar are,

<math> \mu_e^2 M_\mathrm{Ch} = 4\pi m_3 \biggl(\frac{2 A_\mathrm{F}}{\pi G}\biggr)^{3/2} \frac{\mu_e^2}{B_\mathrm{F}^2} = 1.14169\times 10^{34}~\mathrm{g}, </math>

and,

<math> \mu_e \ell_\mathrm{Ch} \equiv \biggl( \frac{2 A_\mathrm{F}}{\pi G} \biggr)^{1/2} \frac{\mu_e}{B_\mathrm{F}} = 7.71311\times 10^8~\mathrm{cm} , </math>

where the dimensionless coefficient <math>m_3 = 2.01824</math>. We could just as well define a characteristic dynamical timescale associated with white dwarfs as,

<math>\mu_e^{1/2} t_\mathrm{Ch} \equiv \biggl[\frac{\mu_e}{GB_\mathrm{F}} \biggr]^{1/2} = \biggl[ \frac{3h^3}{8\pi G m_p m_e^3 c^3} \biggr]^{1/2} = 3.90812~\mathrm{s}</math> .

Application to Unit Conversion Expressions

Rewriting <math>M_\mathrm{Ch}</math> only in terms of the fundamental physical constants, we obtain,

<math> \mu_e^2 M_\mathrm{Ch} = \biggl[ \frac{3 m_3^2}{2^5 \pi^2} \cdot \frac{c^3 h^3}{G^3 m_p^4} \biggr]^{1/2} . </math>

But also note that,

<math> \frac{\Lambda}{G} = \biggl[ \frac{3\cdot 5}{2^3 \pi^5} \biggl( \frac{m_p}{m_u} \biggr)^4 \cdot \frac{c^3 h^3}{G^3 m_p^4} \biggr]^{1/2} . </math>

Hence, we can also write,

<math> \frac{m_\mathrm{cgs}}{m_\mathrm{code}} </math>

<math>=</math>

<math> M_\mathrm{Ch} \biggl[ \frac{3\cdot 5}{2^3 \pi^5} \biggl( \frac{m_p}{m_u} \biggr)^4 \cdot \frac{2^5 \pi^2 }{3 m_3^2 } \biggr]^{1/2} \frac{\mu_e^2}{\bar{\mu}^2} \biggl( \frac{\tilde{g}^3 \tilde{a}}{\tilde{r}^4 } \biggr)^{1/2} </math>

 

<math>=</math>

<math> \mu_e^2 M_\mathrm{Ch} \biggl[ \frac{2^2 \cdot 5}{\pi^3 m_3^2 } \biggr]^{1/2} \frac{m_p^2}{m_u^2} \biggl( \frac{\tilde{g}^3 \tilde{a}}{\tilde{r}^4 \bar{\mu}^4} \biggr)^{1/2} </math>

 

<math>=</math>

<math> 0.4038 ~\mu_e^2 M_\mathrm{Ch} \biggl( \frac{\tilde{g}^3 \tilde{a}}{\tilde{r}^4 \bar{\mu}^4} \biggr)^{1/2} . </math>

Similarly,

<math> \frac{\Lambda}{c^2} = \biggl[ \frac{3\cdot 5}{2^3 \pi^5} \biggl( \frac{m_p}{m_u} \biggr)^4 \cdot \frac{ h^3}{m_p^4 c G} \biggr]^{1/2} , </math>

so,

<math> \frac{\ell_\mathrm{cgs}}{\ell_\mathrm{code}} </math>

<math>=</math>

<math> \mu_e \ell_\mathrm{Ch} \biggl[ \frac{2^2 \cdot 5}{\pi^3 } \biggr]^{1/2} \frac{m_e m_p}{m_u^2} \biggl( \frac{\tilde{c}^4 \tilde{g} \tilde{a}}{\tilde{r}^4 \bar{\mu}^4} \biggr)^{1/2} </math>

 

<math>=</math>

<math> 4.438\times 10^{-4} ~\mu_e \ell_\mathrm{Ch} \biggl( \frac{\tilde{c}^4 \tilde{g} \tilde{a}}{\tilde{r}^4 \bar{\mu}^4} \biggr)^{1/2} . </math>

And,

<math> \frac{\Lambda}{c^3} = \biggl[ \frac{3\cdot 5}{2^3 \pi^5} \biggl( \frac{m_p}{m_u} \biggr)^4 \cdot \frac{ h^3}{m_p^4 c^3 G} \biggr]^{1/2} , </math>

so,

<math> \frac{t_\mathrm{cgs}}{t_\mathrm{code}} </math>

<math>=</math>

<math> \mu_e^{1/2} t_\mathrm{Ch}\cdot \frac{5^{1/2}}{\pi^2 } \biggl( \frac{m_e^3 m_p}{m_u^4}\biggr)^{1/2} \biggl( \frac{\tilde{c}^6 \tilde{g} \tilde{a}}{\tilde{r}^4 \bar{\mu}^4} \biggr)^{1/2} </math>

 

<math>=</math>

<math> 2.9261\times 10^{-6} ~\mu_e^{1/2} t_\mathrm{Ch} \biggl( \frac{\tilde{c}^6 \tilde{g} \tilde{a}}{\tilde{r}^4 \bar{\mu}^4} \biggr)^{1/2} . </math>

Opacities

How should an opacity coefficient be introduced into Dominic's rad-hydrocode? Let's examine the simplest case of free-free absorption, <math>\kappa_\mathrm{T}</math> (i.e., Thompson scattering):

<math> \kappa_\mathrm{T}|_\mathrm{cgs} = \frac{\sigma_\mathrm{T}}{m_p} \biggl[\frac{1}{2}(1+X) \biggl(\frac{m_p}{m_u}\biggr)\biggr] = 0.2003101 (1+X)~\mathrm{cm}^2~\mathrm{g}^{-1}, </math>

where, <math>~\sigma_T</math>, <math>~m_u</math>, and <math>~m_p</math> are all physical constants defined in an accompanying appendix. Therefore, for Case A (which assumes pure helium, so <math>X = 0)</math>, the value of this free-free (Thompson) opacity in code units is,

<math>\kappa_\mathrm{T}|_\mathrm{code} = 0.2003101~\mathrm{cm}^2~\mathrm{g}^{-1} \biggl[ \frac{\kappa_\mathrm{cgs}}{\kappa_\mathrm{code}} \biggr]^{-1} = 8.434\times 10^{12}</math> .

When Thompson scattering dominates the opacity, the mean-free-path of a photon is,

<math> \ell_\mathrm{mfp} = \frac{1}{\kappa_\mathrm{T}\rho}. </math>

This means that, in Dominic's rad-hydrocode, <math>\ell_\mathrm{mfp}</math> will be less than or equal to the size of one radial grid zone, <math>(\Delta R)_\mathrm{Nic\_code}</math>, whenever,

<math> [\kappa_\mathrm{T}]_\mathrm{code} ~\rho_\mathrm{code} \ge \frac{1}{(\Delta R)_\mathrm{Nic\_code}} = \frac{128}{\pi} </math>
 
<math> \Rightarrow ~~~~~\rho_\mathrm{code} \ge 4.83\times 10^{-12} . </math>

It is perhaps more instructive to write this last expression in a form that will permit us to determine how this threshold value of <math>\rho_\mathrm{code}</math> depends on the chosen set of scaling parameters. Specifically, we can write,

<math> \rho_\mathrm{code} \ge \rho_\mathrm{threshold} \equiv \frac{128}{\pi (0.200 ~\mathrm{cm}^2~\mathrm{g}^{-1}) } \biggl[ \biggl(\frac{\ell_\mathrm{cgs}}{\ell_\mathrm{code}} \biggr)^2 \biggl(\frac{m_\mathrm{cgs}}{m_\mathrm{code}} \biggr)^{-1} \biggr] = 5.164\times 10^{-21} \biggl[ \frac{\tilde{c}^4 \tilde{a}^{1/2}}{\tilde{r}^2 \bar{\mu}^2 \tilde{g}^{1/2}} \biggr] . </math>

To check this relation, note that when Case A parameter values are used, the combination of factors inside the last set of square brackets gives <math>9.367\times 10^{8}</math>, which produces the same value for <math>\rho_\mathrm{threshold}</math> (in code units) as before.

Ratio of Gas Pressure to Radiation Pressure

Let's define the following pressure ratios:

<math> \Gamma \equiv \frac{P_\mathrm{gas}}{P_\mathrm{rad}} = \frac{3 (\Re/\bar\mu)}{a_\mathrm{rad}} \biggl[ \frac{\rho}{T^3} \biggr]_\mathrm{cgs} , </math>

and,

<math> \beta \equiv \frac{P_\mathrm{gas}}{(P_\mathrm{gas}+P_\mathrm{rad})} = \frac{\Gamma}{1 + \Gamma} . </math>

Following Dominic's definition of code units, above: <math>T^3</math> should be normalized by <math>[ c^6/(\Re/\bar\mu )^3]</math>; the mass density should be normalized by the quantity <math>[a_\mathrm{rad} c^6/(\Re/\bar\mu)^4]</math>; and <math>(\Re/\bar\mu)</math> should be replaced by <math>\tilde{r}</math>. Hence, the ratio of gas pressure to radiation pressure can be written as,

<math> \Gamma = \frac{3(\Re/\bar\mu)}{a_\mathrm{rad}} \biggl[\frac{\rho}{T^3}\biggr]_\mathrm{code} \biggl[\frac{c^6 a_\mathrm{rad}}{(\Re/\bar\mu)^4} \biggl( \frac{\tilde{r}^4}{\tilde{c}^6 \tilde{a}} \biggr)\biggr] \biggl[\frac{(\Re/\bar\mu)^3}{c^6} \biggl( \frac{\tilde{c}^6 }{\tilde{r}^3} \biggr)\biggr] = 3\biggl[ \frac{\rho_\mathrm{code}}{T_\mathrm{code}^3} \biggr] \frac{\tilde{r}}{\tilde{a}} . </math>

We might, in addition, ask what the central temperature is in an <math>n=3/2</math> polytrope. Well, if the gas pressure dominates (i.e., if <math>\Gamma \gg 1</math>),

<math> P_\mathrm{cgs} \approx \frac{\Re}{\bar\mu} \rho_\mathrm{cgs} T_\mathrm{cgs}; </math>

and in code units,

<math> P_\mathrm{code} = \kappa_\mathrm{code} \rho_\mathrm{code}^{5/3} . </math>

Hence,

<math> T_\mathrm{code} </math>

<math> = </math>

<math> \biggl( \frac{T_\mathrm{cgs}}{T_\mathrm{code}} \biggr)^{-1} T_\mathrm{cgs} \approx \biggl( \frac{T_\mathrm{cgs}}{T_\mathrm{code}} \biggr)^{-1} \frac{1}{(\Re/\bar\mu)} \biggl(\frac{P_\mathrm{cgs}}{\rho_\mathrm{cgs}}\biggr)

</math>

 

<math> = </math>

<math> \frac{1}{(\Re/\bar\mu)} \biggl( \frac{T_\mathrm{cgs}}{T_\mathrm{code}} \biggr)^{-1} \biggl(\frac{P_\mathrm{cgs}/P_\mathrm{code}}{\rho_\mathrm{cgs}/\rho_\mathrm{code}}\biggr) \biggl(\frac{P_\mathrm{code}}{\rho_\mathrm{code}}\biggr) </math>

 

<math> = </math>

<math> \frac{1}{(\Re/\bar\mu)} \biggl( \frac{T_\mathrm{cgs}}{T_\mathrm{code}} \biggr)^{-1} \biggl( \frac{\ell_\mathrm{cgs}}{\ell_\mathrm{code}} \biggr)^{2}\biggl( \frac{t_\mathrm{cgs}}{t_\mathrm{code}} \biggr)^{-2} \kappa_\mathrm{code}\rho_\mathrm{code}^{2/3} </math>

 

<math> = </math>

<math> \frac{1}{\tilde{r}} ~\kappa_\mathrm{code}\rho_\mathrm{code}^{2/3} . </math>

This, in turn, tells us that at the center of a polytropic star,

<math> \Gamma \approx \frac{3\tilde{r}^4}{\tilde{a}}~\kappa_\mathrm{code}^{-3} \rho_\mathrm{code}^{-1} . </math>

This derivation will need to be modified to handle the more general case when <math>\Gamma</math> is not necessarily large.

Super-Eddington Accretion

In the simplest case of spherically symmetric accretion, the Eddington luminosity and accretion luminosity are defined, respectively, as

<math> L_\mathrm{Edd} </math>

<math> \equiv </math>

<math> \frac{4\pi G M_\mathrm{a} m_p c}{\sigma_\mathrm{T}} , </math>

<math> L_\mathrm{acc} </math>

<math> \equiv </math>

<math> \frac{G M_\mathrm{a} \dot{M}}{R_\mathrm{a}} , </math>

where, <math>~G</math>, <math>~c</math>, <math>~m_p</math>, and <math>~\sigma_T</math> are physical constants defined in an accompanying appendix; <math>M_\mathrm{a}</math> and <math>R_\mathrm{a}</math> are the mass and radius of the accreting star; and <math>\dot{M}</math> is the mass accretion rate. Expressed in code units, these two expressions become,

<math> L_\mathrm{Edd}\biggr|_\mathrm{code} </math>

<math> = </math>

<math> 4\pi \tilde{g} \tilde{c} \biggl[ \biggl(\frac{m_p}{\sigma_\mathrm{T}}\biggr) \biggl( \frac{\ell_\mathrm{cgs}}{\ell_\mathrm{code}} \biggr)^2 \biggl( \frac{m_\mathrm{cgs}}{m_\mathrm{code}} \biggr)^{-1} \biggr] [M_a]_\mathrm{code} </math>

 

<math> = </math>

<math> 4\pi \tilde{g} \tilde{c} \biggl[ 6.373\times 10^{-23} \biggl( \frac{\tilde{c}^4 \tilde{g} \tilde{a}}{\tilde{r}^4 \bar{\mu}^4} \biggr) \biggl( \frac{\tilde{r}^2 \bar{\mu}^2}{\tilde{g}^{3/2} \tilde{a}^{1/2}} \biggr) \biggr] [M_a]_\mathrm{code} </math>

 

<math> = </math>

<math> 8.009\times 10^{-22} \biggl( \frac{\tilde{c}^5 \tilde{g}^{1/2} \tilde{a}^{1/2}}{\tilde{r}^2 \bar{\mu}^2} \biggr) [M_a]_\mathrm{code} , </math>

<math> L_\mathrm{acc}\biggr|_\mathrm{code} </math>

<math> = </math>

<math> \tilde{g} \biggl[\frac{M_\mathrm{a} \dot{M}}{R_\mathrm{a}} \biggr]_\mathrm{code} . </math>

Hence,

<math> f_\mathrm{Edd} \equiv \frac{L_\mathrm{acc}}{L_\mathrm{Edd}} = 1.25\times 10^{21} \biggl( \frac{\tilde{g}^{1/2} \tilde{r}^2 \bar{\mu}^2}{\tilde{c}^5 \tilde{a}^{1/2}} \biggr) \biggl[\frac{\dot{M}}{R_\mathrm{a}} \biggr]_\mathrm{code} , </math>

that is, the accretion will be super-Eddington <math>(f_\mathrm{acc} > 1)</math> if,

<math> [ \dot{M}]_\mathrm{code} > 8\times 10^{-22}\biggl( \frac{\tilde{c}^5 \tilde{a}^{1/2}}{\tilde{g}^{1/2} \tilde{r}^2 \bar{\mu}^2} \biggr) [R_\mathrm{a}]_\mathrm{code} . </math>

For Case A parameters and for the Q0.7 polytropic binary model in which <math>[R_\mathrm{a}]_\mathrm{code} = 0.85</math>, the condition for super-Eddington accretion is,

<math> [ \dot{M}]_\mathrm{code} > 8\times 10^{-22} \biggl[ \frac{198^5 (0.044)^{1/2}}{ (0.44)^2 (4/3)^2} \biggr] [0.85] = 1.26 \times 10^{-10} . </math>

For purposes of comparison with results from some previously published mass-transfer simulations, we should normalize <math>[ \dot{M}]_\mathrm{code}</math> to <math>[M_\mathrm{Donor}/ P_\mathrm{orbit}]^\mathrm{code}_0</math>, where the subscript "0" means initial values. Doing this gives the following condition for super-Eddington accretion:

<math> [ \dot{m}]^\mathrm{code}_\mathrm{norm} > 1.26 \times 10^{-10} \biggl[ \frac{P_\mathrm{orbit}}{M_\mathrm{Donor}} \biggr]^\mathrm{code}_0 = 1.26 \times 10^{-10} \biggl[ \frac{31.19}{0.2819} \biggr] = 1.4\times 10^{-8}. </math>


 

Whitworth's (1981) Isothermal Free-Energy Surface

© 2014 - 2021 by Joel E. Tohline
|   H_Book Home   |   YouTube   |
Appendices: | Equations | Variables | References | Ramblings | Images | myphys.lsu | ADS |
Recommended citation:   Tohline, Joel E. (2021), The Structure, Stability, & Dynamics of Self-Gravitating Fluids, a (MediaWiki-based) Vistrails.org publication, https://www.vistrails.org/index.php/User:Tohline/citation