Molecular hydrogen
hydrogen/molecular/basic resolves H₂ in the vibrational levels of its ground state; hydrogen/molecular/ions adds H⁻ and H₃⁺. The states, processes and limits are in Molecular hydrogen.
import plasma_plots
import opencr
plasma_plots.set_backend("plotly") # interactive figures, embedded in the docsplasma_plots.set_math("latex") # formulas in the figures typeset as LaTeX
model = opencr.load_model("hydrogen/molecular/basic")print(model)drivers = {"H2(X,v=0)": 1e19, "H(n=1)": 1e18, "H+": 5e16, "H2+": 5e16}Model('hydrogen/molecular/basic', 23 states, 209 reactions)The vibrational distribution
Section titled “The vibrational distribution”Electron collisions pump the vibrational levels; with no V–T relaxation in the model the ladder is set by e–V excitation, its inverse and the losses to dissociation and ionization:
with plasma_plots.figure(title="Vibrational distribution of H2(X)") as fig: for temperature in (1.0, 3.0, 10.0): result = model.solve_steady_state( opencr.Conditions(temperature, 1e17, densities=drivers) ) ladder = [result.population(f"H2(X,v={v})") / 1e19 for v in range(15)] fig[0].semilogy(range(15), ladder, "o-", label=f"$T_e = {temperature:g}$ eV") fig[0].set_xlabel("$v$") fig[0].set_ylabel("$n_v / n_0$") fig[0].legend()Loading figure…
Effective rates
Section titled “Effective rates”The quasi-static reduction gives the effective ionization and dissociation of H₂ through all its levels, per electron and per molecule in v = 0, and the electron energy lost per molecule:
from opencr.analysis.quantities import quantity
for temperature in (2.0, 5.0, 20.0): result = model.solve_steady_state( opencr.Conditions(temperature, 1e17, densities=drivers) ) ionization = quantity(result, "effective_rate:H2(X,v=0)>H2+") atoms = quantity(result, "effective_rate:H2(X,v=0)>H(n=1)") cooling = quantity(result, "electron_cooling:H2(X,v=0)") print( f"Te {temperature:4.1f} eV: ionization {ionization:.2e}, atoms {atoms:.2e} m^3/s," f" energy loss {cooling:.2e} eV m^3/s" )Te 2.0 eV: ionization 1.31e-17, atoms 2.49e-15 m^3/s, energy loss 7.63e-15 eV m^3/sTe 5.0 eV: ionization 1.02e-15, atoms 1.37e-14 m^3/s, energy loss 7.78e-14 eV m^3/sTe 20.0 eV: ionization 1.95e-14, atoms 2.13e-14 m^3/s, energy loss 5.86e-13 eV m^3/sNegative ions
Section titled “Negative ions”With the ion chemistry, H⁻ is made by dissociative attachment to vibrationally excited H₂ and destroyed by electrons, ions and atoms. A wall loss stands in for the transport of H₃⁺:
ions = opencr.load_model("hydrogen/molecular/ions", wall_loss={"H3+": 1e5})result = ions.solve_steady_state(opencr.Conditions(1.0, 1e17, densities=drivers))print(f"H- {result.population('H-'):.2e} m^-3, H3+ {result.population('H3+'):.2e} m^-3")for row in result.dominant_processes("H-", 4): print(row)H- 4.90e+15 m^-3, H3+ 1.65e+16 m^-3{'name': 'mn:H2+', 'equation': 'H- + H2+ -> H2(X,v=0) + H(n=1)', 'rate': -4.887151059236485e+19, 'fraction': 0.4981179778718175}{'name': 'da:8', 'equation': 'e + H2(X,v=8) -> H- + H(n=1)', 'rate': 2.2747932347782525e+19, 'fraction': 0.23185602254771165}{'name': 'da:7', 'equation': 'e + H2(X,v=7) -> H- + H(n=1)', 'rate': 2.2621541745959936e+19, 'fraction': 0.23056779899499594}{'name': 'mutual_neutralization', 'equation': 'H- + H+ -> H(n=1) + H(n=1)', 'rate': -1.9379044809067815e+19, 'fraction': 0.19751897365923224}