temp_ratio
- plasmapy.formulary.collisions.helio.collisional_analysis.temp_ratio(
- *,
- r_0: Annotated[Quantity, Unit('AU')],
- r_n: Annotated[Quantity, Unit('AU')],
- n_1: Annotated[Quantity, Unit('1 / cm3')],
- n_2: Annotated[Quantity, Unit('1 / cm3')],
- v_1: Annotated[Quantity, Unit('km / s')],
- T_1: Annotated[Quantity, Unit('K')],
- T_2: Annotated[Quantity, Unit('K')],
- ions: str | int | integer | Particle | CustomParticle | Quantity = ('p+', 'He-4++'),
- n_step: int = 100,
- density_scale: float = -1.8,
- velocity_scale: float = -0.2,
- temperature_scale: float = -0.74,
- verbose: bool = False,
Calculate the thermalization ratio for a plasma in transit.
This function allows the thermalization of a plasma to be modeled, predicting the temperature ratio for different ion species within a plasma at a different point in space. Taken from Maruca et al. [2013] and Johnson et al. [2023].
- Parameters:
r_0 (
Quantity, keyword-only) – Starting position of the plasma in units convertible to astronomical units.r_n (
Quantity, keyword-only) – Final position of the plasma in units convertible to astronomical units.n_1 (
Quantity, keyword-only) – The primary ion number density in units convertible to m-3.n_2 (
Quantity, keyword-only) – The secondary ion number density in units convertible to m-3.v_1 (
Quantity, keyword-only) – The primary ion speed in units convertible to km s-1.T_1 (
Quantity, keyword-only) – Temperature of the primary ion in units convertible to kelvin.T_2 (
Quantity, keyword-only) – Temperature of the secondary ion in units convertible to kelvin.ions (particle-list-like, keyword-only, default:
("p+, "He-4 2+")) – Particle list containing two particles, with the primary ion first and the secondary ion second.n_step (
int, keyword-only) – The number of intervals used in solving a differential equation via the Euler method. Must be positive.density_scale (
float, keyword-only, default:-1.8) – The value used as the scaling parameter for the primary ion density. The default value is taken from Hellinger et al. [2011].velocity_scale (
float, keyword-only, default:-0.2) – The value used as the scaling parameter for the primary ion velocity. The default value is taken from Hellinger et al. [2011].temperature_scale (
float, keyword-only, default:-0.74) – The value used as the scaling parameter for the primary ion temperature. The default value is taken from Hellinger et al. [2011].
- Returns:
theta – The dimensionless ion temperature ratio prediction for the distance provided.
- Return type:
- Raises:
TypeError – If applicable arguments are not instances of
Quantityor cannot be converted into one.UnitTypeError – If applicable arguments do not have units convertible to the expected units.
Notes
The processes by which Coulomb collisions bring ion temperatures into local thermal equilibrium (LTE) has received considerable attention [Verscharen et al., 2019]. The relative temperature between constituent plasma ion species is given as:
\[θ_{21} = \frac{T_2}{T_1} \, ,\]where \(T_1\) and \(T_2\) are the scalar temperatures for the primary ion of interest and the secondary ion, respectively. The scalar temperature defined as:
\[T_{\rm i} = \frac{2T_{{\rm i}, ⟂} + T_{{\rm i}, ∥}}{3} \, ,\]where \(T_{{\rm i}, ⟂}\) and \(T_{{\rm i}, ∥}\) are the temperature of the \(\mathrm{i}\)-particles along the axes perpendicular and parallel to the ambient magnetic field.
In order to determine how extensively an individual parcel of plasma has been processed by Coulomb collisions, Maruca et al. [2013] introduced an approached called collisional analysis. This paper quantifies how collisions affect the plasma’s departures from LTE. The equation for collisional thermalization [Maruca et al., 2013] is:
\[\frac{d θ_{21}}{dr} = A \left ( \frac{n_1}{v_1 T_1^{3/2}} \right ) \frac{\left( μ_1 μ_2 \right )^{1/2} Z_1 Z_2 \left( 1 - θ_{21} \right ) \left(1 + η_{21}θ_{21} \right )}{\left( \frac{μ_2}{μ_1} + θ_{21} \right )^{3/2}} λ_{21}\]and
\[λ_{21} = 9 + \ln \left| B \left ( \frac{T^3_1}{n_1} \right )^{1/2} \left( \frac{Z_1Z_2(μ_1 + μ_2) }{θ_{21} + \frac{μ_2}{μ_1}} \right ) \left( \frac{n_2 Z_2^2}{n_1 Z_1^2} + θ_{21} \right)^{1/2}\right |\]With \(η = \frac{n_2}{n_1}\), \(θ = \frac{T_2}{T_1}\), \(A = 2.60 × 10^{7} \, {\rm cm}^3 \, {\rm km} \, {\rm K}^{3/2} \, {\rm s}^{-1} \, {\rm au}^{-1}\), and \(B = 1 \, {\rm cm}^{-3/2}{~\rm K}^{-3/2}\).
The thermalization is from Coulomb collisions, which assumes “soft”, small-angle deflections mediated by the electrostatic force [Baumjohann and Treumann, 1997]. It is assumed that there is no relative drift between the ion species and that it is a mixed ion collision, and the Coulomb logarithm for a mixed ion collision is given by Richardson [2019].
The density, velocity and temperature of the primary ion can be radially scaled, as seen below. The values for the scaling can be altered, though the default values are taken from Hellinger et al. [2011].
\[n(r) \propto r^{-1.8}\ , \hspace{1cm} v_{r}(r) \propto r^{-0.2}\ , \hspace{0.5cm} {\rm and} \hspace{0.5cm} T(r) \propto r^{-0.74}\]Application is primarily for the solar wind.
Examples
>>> import astropy.units as u >>> from plasmapy.formulary.collisions import helio >>> r_0 = [0.1, 0.1, 0.1] * u.au >>> r_n = [1.0, 1.0, 1.0] * u.au >>> n_1 = [300, 400, 500] * u.cm**-3 >>> n_2 = [12, 18, 8] * u.cm**-3 >>> v_1 = [450, 350, 400] * u.km / u.s >>> T_1 = [1.5 * 10**5, 2.1 * 10**5, 1.7 * 10**5] * u.K >>> T_2 = [2.5 * 10**6, 1.8 * 10**6, 2.8 * 10**6] * u.K >>> ions = ["p+", "He-4++"] >>> helio.temp_ratio( ... r_0=r_0, r_n=r_n, n_1=n_1, n_2=n_2, v_1=v_1, T_1=T_1, T_2=T_2, ions=ions ... ) [np.float64(2.78928645...), np.float64(1.04007...), np.float64(1.06914...)]