PLUTO
|
#include "pluto.h"
Go to the source code of this file.
Functions | |
void | Radiat (double *v, double *rhs) |
double | H_MassFrac (void) |
double | CompEquil (double N, double T, double *v) |
double CompEquil | ( | double | N, |
double | T, | ||
double * | v | ||
) |
[in] | n | the particle number density (not needed, but kept for compatibility) |
[in] | T | the temperature (in K) for which equilibrium must be found. |
[in,out] | v | an array of primitive variables. On input, only density needs to be defined. On output, fractions will be updated to the equilibrium values. |
Compute the equilibrium ionization balance for (rho,T)
Definition at line 205 of file radiat.c.
double H_MassFrac | ( | void | ) |
Compute the mass fraction X of Hydrogen as function of the composition of the gas.
f_H A_H
X = -------------— f_k A_k
where
f_k : is the fractional abundance (by number), f_k = N_k/N_tot of atomic species (no matter ionization degree).
A_K : is the atomic weight
Note: In this module, f_H = 1.0
where N_{tot} is the total number density of particles
ARGUMENTS
none
Definition at line 174 of file radiat.c.
void Radiat | ( | double * | v, |
double * | rhs | ||
) |
Cooling for neutral or singly ionized gas: good up to about 35,000 K in equilibrium or shocks in neutral gas up to about 80 km/s. Assumed abundances in ab Uses t : Kelvin dene : electron density cm*-3 fneut : hydrogen neutral fraction (adimensionale) ci,cr : H ionization and recombination rate coefficients
em(1) = TOTAL EMISSIVITY : (ergs cm**3 s**-1) em(2) = Ly alpha + two photon continuum: Aggarwal MNRAS 202, 10**4.3 K em(3) = H alpha: Aggarwal, Case B em(4) = He I 584 + two photon + 623 (all n=2 excitations): Berrington &Kingston,JPB 20 em(5) = C I 9850 + 9823: Mendoza, IAU 103, 5000 K em(6) = C II, 156 micron: Mendoza, 10,000 K em(7) = C II] 2325 A: Mendoza, 15,000 K em(8) = N I 5200 A: Mendoza, 7500 K em(9) = N II 6584 + 6548 A: Mendoza em(10) = O I 63 micron: Mendoza,2500 K em(11) = O I 6300 A + 6363 A: Mendoza, 7500 K em(12) = O II 3727: Mendoza em(13) = Mg II 2800: Mendoza em(14) = Si II 35 micron: Dufton&Kingston, MNRAS 248 em(15) = S II 6717+6727: Mendoza em(16) = Fe II 25 micron: Nussbaumer&Storey em(17) = Fe II 1.6 micron em(18) = thermal energy lost by ionization em(19) = thermal energy lost by recombination (2/3 kT per recombination. The ionization energy lost is not included here.
Definition at line 4 of file radiat.c.