MA Emilio Schmidt: Difference between revisions
(→The isothermal self-gravitating cylinder: Solution of the differential equation) |
(→The isothermal self-gravitating cylinder: Mistake autonomous differential equations) |
||
| Line 152: | Line 152: | ||
\end{align} | \end{align} | ||
At first it | At first, it might seem that both signs need to be treated separately. However, it can actually be shown that both equations lead to the same solutions. In the following, therefore, only the equation with a positive sign will be considered. To solve this, the following substitution is used: | ||
To solve | |||
\begin{align} | \begin{align} | ||
Revision as of 15:28, 19 November 2025
The isothermal self-gravitating cylinder
Sought is the stationary density profile \(\rho\) of an infinitely long, isothermal, self-gravitating gas cylinder. To do this, the hydrostatic Euler equation has to be solved, which is given by:
\begin{align} \boldsymbol{\nabla} P = \boldsymbol{f}_\text{ext} \end{align}
Here, \(P\) is the pressure field and \(\boldsymbol{f}_\text{ext}\) is the force density acting on the gas. In the considered case, this is the gas's own gravity. Since the gravitational field is a conservative force field, it can be expressed by a potential \(\phi_\text{ext}\):
\begin{align} \boldsymbol{f}_\text{ext} = - \rho \boldsymbol{\nabla} \phi_\text{ext} \end{align}
Inserting yields:
\begin{align} \boldsymbol{\nabla} P = - \rho \boldsymbol{\nabla} \phi_\text{ext} \end{align}
The pressure field of the gas under consideration can be described by the equation of state of an isothermal gas, which is given by:
\begin{align} P = \frac{R T}{M} \rho \end{align}
Here, \(R\) denotes the universal gas constant, \(T\) the spatially homogeneous temperature distribution, and \(M\) the molar mass of the gas. Inserting into the hydrostatic Euler equation yields:
\begin{align} \phantom{\Rightarrow}\;& \frac{R T}{M} \boldsymbol{\nabla} \rho = - \rho \boldsymbol{\nabla} \phi_\text{ext} \\[6pt] \Leftrightarrow\;& \frac{1}{\rho} \boldsymbol{\nabla} \rho = - \frac{M}{R T} \boldsymbol{\nabla} \phi_\text{ext} \\[6pt] \Leftrightarrow\;& \boldsymbol{\nabla} \ln(\rho) = - \frac{M}{R T} \boldsymbol{\nabla} \phi_\text{ext} \\[6pt] \Rightarrow\;& \Delta \ln(\rho) = - \frac{M}{R T} \Delta \phi_\text{ext} \end{align}
It proves useful to use the Poisson equation of Newtonian gravity, which is given by:
\begin{align} \Delta \phi_\text{ext} = 4 \pi G \rho \end{align}
Inserting yields:
\begin{align} \phantom{\Rightarrow}\;& \Delta \ln(\rho) = - \frac{4 \pi G M}{R T} \rho \, , \quad \text{def.:} \, a := \frac{4 \pi G M}{R T} \\[6pt] \Leftrightarrow\;& \Delta \ln(\rho) = - a \rho \end{align}
For an infinitely long, straight, self-gravitating gas cylinder without an externally imposed azimuthal or axial structure, there is symmetry with respect to rotation about the cylinder axis and translation along the axis. The underlying equations share this symmetry, which is why corresponding derivatives disappear in the considered equation:
\begin{align} \phantom{\Rightarrow}\;& \frac{1}{r} \partial_r \big(r \partial_r \ln(\rho)\big) = - a \rho \\[6pt] \Leftrightarrow\;& \partial_r \bigg(r \frac{\partial_r \rho}{\rho}\bigg) = - a r \rho \\[6pt] \Leftrightarrow\;& \frac{\partial_r \rho}{\rho} - r \bigg(\frac{\partial_r \rho}{\rho}\bigg)^2 + \frac{\partial_r^2 \rho}{\rho} = - a r \rho \end{align}
Due to the symmetry, the quantities considered depend only on the radius \(r\). Therefore, in the differential equation considered, the partial derivatives can be replaced by total derivatives:
\begin{align} \frac{\text{d}_r \rho}{\rho} - r \bigg(\frac{\text{d}_r \rho}{\rho}\bigg)^2 + r\frac{\text{d}_r^2 \rho}{\rho} = - a r \rho \end{align}
Since the density is positive by definition, the following substitution can be made without restriction:
\begin{align} u(r) = \ln\left(\frac{\rho(r)}{\rho_0}\right). \end{align}
Here, \(\rho_0 = \text{const.} > 0\) is a constant reference density. Its specific value is irrelevant for further consideration. It only serves to ensure that the argument of the logarithm is dimensionless. The first two derivatives of the new quantity \(u\) are then given by:
\begin{align} \text{d}_r u = \frac{\text{d}_r \rho}{\rho} \quad \text{und} \quad \text{d}_r^2 u = \frac{\text{d}_r^2 \rho}{\rho} - \left(\frac{\text{d}_r \rho}{\rho}\right)^2 \end{align}
Inserting this into the differential equation under consideration yields:
\begin{align} \frac{\text{d}_r u}{r} + \text{d}_r^2 u = - a \rho_0 \exp(u) \end{align}
To simplify this equation further, another substitution is performed:
\begin{align} z = u + \sqrt{2} t \, , \quad \text{with} \, t = \sqrt{2} \ln\left(\sqrt{a \rho_0} r\right) \end{align}
With \(\text{d}_r t = \frac{\sqrt{2}}{r}\), the following applies for the first two derivatives of \(u\) with respect to \(r\):
\begin{align} \text{d}_r u = \frac{\sqrt{2}}{r} \text{d}_t u \quad \text{and} \quad \text{d}_r^2 u = - \frac{\sqrt{2}}{r^2} \text{d}_t u + \frac{2}{r^2} \text{d}_t^2 u \end{align}
Inserting yields:
\begin{align} \phantom{\Rightarrow}\;& 2 \text{d}_t^2 u = - a \rho_0 r^2 \exp(u) \\[6pt] \Leftrightarrow\;& 2 \text{d}_t^2 u = - \exp(z) \end{align}
Furthermore, the following applies:
\begin{align} \phantom{\Rightarrow}\;& \text{d}_t^2 z = \text{d}_t^2 u + \sqrt{2} \text{d}_t^2 t \\[6pt] \Leftrightarrow\;& \text{d}_t^2 z = \text{d}_t^2 u \end{align}
Thus, it follows that:
\begin{align} \phantom{\Rightarrow}\;& 2 \text{d}_t^2 z = - \exp(z) \\[6pt] \Rightarrow\;& 2 \left(\text{d}_t z\right) \left(\text{d}_t^2 z\right) = - \left(\text{d}_t z\right) \exp(z) \\[6pt] \Leftrightarrow\;& \text{d}_t\left(\left(\text{d}_t z\right)^2 + \exp(z)\right) = 0 \\[6pt] \Rightarrow\;& \left(\text{d}_t z\right)^2 + \exp(z) = c_1 \, , \quad c_1 \in \mathbb{R} \\[6pt] \Leftrightarrow\;& \text{d}_t z = \pm \sqrt{c_1 - \exp(z)} \end{align}
At first, it might seem that both signs need to be treated separately. However, it can actually be shown that both equations lead to the same solutions. In the following, therefore, only the equation with a positive sign will be considered. To solve this, the following substitution is used:
\begin{align} z = \ln(y) \end{align}
This results in the following for the differential equation under consideration:
\begin{align} \frac{\text{d}_t y}{y} = \sqrt{c_1 - y} \end{align}
Separation of variables yields:
\begin{align} \phantom{\Rightarrow}\;& \frac{\text{d}y}{y\sqrt{c_1 - y}} = \text{d}t \\[6pt] \Rightarrow\;& \frac{1}{\sqrt{c_1}} \ln\left(\bigg|\frac{\sqrt{c_1 - y} - \sqrt{c_1}}{\sqrt{c_1 - y} + \sqrt{c_1}}\bigg|\right) = t + C_2 \\[6pt] \Leftrightarrow\;& \bigg|\frac{\sqrt{c_1 - y} - \sqrt{c_1}}{\sqrt{c_1 - y} + \sqrt{c_1}}\bigg| = \exp\left(\sqrt{c_1} t + \sqrt{c_1} C_2\right) \, , \quad \text{with} \, c_2 = \exp\left(\sqrt{c_1} C_2\right) \\[6pt] \Leftrightarrow\;& \bigg|\frac{\sqrt{c_1 - y} - \sqrt{c_1}}{\sqrt{c_1 - y} + \sqrt{c_1}}\bigg| = c_2 \exp\left(\sqrt{c_1} t\right) \, , \quad \text{with} \, A = c_2 \exp\left(\sqrt{c_1} t\right) \\[6pt] \Leftrightarrow\;& \bigg|\frac{\sqrt{c_1 - y} - \sqrt{c_1}}{\sqrt{c_1 - y} + \sqrt{c_1}}\bigg| = A \, , \quad \text{with} \, y = \exp(z) \Rightarrow \sqrt{c_1 - y} > \sqrt{c_1} \; \forall y \\[6pt] \Leftrightarrow\;& \frac{\sqrt{c_1} - \sqrt{c_1 - y}}{\sqrt{c_1} + \sqrt{c_1 - y}} = A \\[6pt] \Leftrightarrow\;& y = 4 c_1 \frac{A}{(1 + A)^2} \\[6pt] \Leftrightarrow\;& \exp(u) = \frac{4 c_1}{a \rho_0 r^2} \frac{A}{(1 + A)^2} \\[6pt] \Leftrightarrow\;& \rho = \frac{4 c_1 \rho_0}{a \rho_0 r^2} \frac{A}{(1 + A)^2} \end{align}
The quantity \(A\) can be written as follows:
\begin{align} \phantom{\Rightarrow}\;& A = c_2 \exp\left(\sqrt{c_1} t\right) \\[6pt] \Leftrightarrow\;& A = c_2 \exp\left(\sqrt{2 c_1} \ln(\sqrt{a \rho_0} r)\right) \\[6pt] \Leftrightarrow\;& A = c_2 (\sqrt{a \rho_0} r)^{\sqrt{2 c_1}} \end{align}
Define additionally:
\begin{align} b := \sqrt{2 c_1} \quad \text{und} \quad r_0 := \left(c_2^\frac{1}{b} \sqrt{a \rho_0}\right)^{-1} \end{align}
This yields the following general solution for the differential equation under consideration:
\begin{align} \phantom{\Rightarrow}\;& \rho(r) = \frac{2 b^2}{a r^2} \frac{\left(\frac{r}{r_0}\right)^b} {\left(1 + \left(\frac{r}{r_0}\right)^b\right)^2} \\[6pt] \Leftrightarrow\;& \rho(r) = \frac{2 b^2}{a r_0^2} \frac{\left(\frac{r}{r_0}\right)^{b-2}} {\left(1 + \left(\frac{r}{r_0}\right)^b\right)^2} \end{align}
The integration constants \(r_0\) and \(b\) must then be determined using appropriate boundary conditions.
The case with a core
The solution to the ODE reads
\begin{align} \rho &= \frac{\tilde M b^2(r/r_0)^{b-2}}{4\pi r_0^2(1+(r/r_0)^b)^2}\\[2ex] \text{with}\quad \tilde M &= \frac{2k_\text{B}T}{Gm} = \int_0^\infty 2\pi r\rho(r,r_0,b{=}2)\,\text dr \end{align} being the only possible total mass/length in the case of gas only, where \(b=2\) is necessary for zero force at \(r=0\). Notably, \(\tilde M\) does not depend on \(r_0\), i.e. every width of \(\rho\) is equally allowed. The reason is that no length scale can be constructed from the input parameters \(k_\text{B}T\), \(G\) and \(m\).
This changes in the presence of a core with mass/length \(M_\text{c}\) and radius \(R\). Vanishing force at \(r=0\) is replaced by force balance at \(r=R\), which leads to the condition \begin{align} \frac{r_0}{R} &= \left(\frac{b+2-4M_\text{c}/\tilde M}{b-2+4M_\text{c}/\tilde M}\right)^{1/b} ~, \end{align} which in turn introduces the constraint \(b>\vert 4M_\text{c}/\tilde M-2\vert\).
The resulting gas mass is \begin{gather} \int_R^\infty 2\pi r\rho(r,r_0,b)\,\text dr = \tilde M\frac{b+2}{4}-M_\text{c}\\ \Leftrightarrow\quad \frac{M_\text{c}+M_\text{gas}}{\tilde M}=\frac{b+2}{4} ~. \end{gather} That is, the amount of gas can be tuned via \(b\). Note that for \(M_\text{c}<\tilde M/2\), it cannot be chosen arbitrarily small.
If the core is actually a numerical necessity and only meant to emulate the gas contained inside, it's \(b=2\) again, and the most convenient choice is \(M_\text{c}=M_\text{gas}=\tilde M/2\) which yields \(r_0=R\).