Skip to content

Instantly share code, notes, and snippets.

@smaret
Created January 28, 2022 11:20
Show Gist options
  • Save smaret/b18f6edbe14bd780469add6570834735 to your computer and use it in GitHub Desktop.
Save smaret/b18f6edbe14bd780469add6570834735 to your computer and use it in GitHub Desktop.
Network with tabs with bug
# Example model for Astrochem, command-line interface version
# Input parameter file
# See the "Using Astrochem" section in the documentation manual for details.
[files]
source = source.mdl
chem = network_with_tabs.chm
# Physical parameters
[phys]
chi = 1.0
cosmic = 1.3e-17
# Solver parameters
[solver]
ti = 1e-6
tf = 1e7
# Initial abundances
[abundances]
H2 = 0.5
He = 0.14
N = 2.14e-5
O = 1.76e-4
C(+) = 7.30e-5
S(+) = 8.00e-8
Si(+) = 8.00e-9
Fe(+) = 3.00e-9
Na(+) = 2.00e-9
Mg(+) = 7.00e-9
P(+) = 2.00e-10
Cl(+) = 1.00e-9
F = 6.68e-9
e(-) = 7.31012e-5
# Output
[output]
abundances = H3(+),e(-),C(+),CO,HCO(+)
time_steps = 128
trace_routes = 1
H + H -> H2 4.95e-17 5.00e-01 0.00e+00 0 1
# Example model for Astrochem, command-line interface version
# Source file
# See the "Using Astrochem" section in the documentation manual for details.
# Source file for the example model
# shell number, Av [mag], nH [cm^-3], Tgas [K], Tdust [K]
#
0 20.0 1e+04 10.0 10.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment