xref: /petsc/src/ts/tutorials/h2_10sp.inp (revision c4762a1b19cd2af06abeed90e8f9d34fb975dd94)
1#
2#   Run with  ./extchem -options_file h2_10sp.inp
3#
4# If your machine is not connected to the internet you must obtain the two files below and store
5# them in this directory (otherwise the program will automatically obtain them for you).
6#
7#       curl https://combustion.llnl.gov/content/assets/docs/combustion/h2_v1a_therm.txt > h2_v1a_therm.txt
8#       curl https://combustion.llnl.gov/content/assets/docs/combustion/h2_v1b_mech.txt > h2_v1b_mech.txt
9#
10# You may need to do
11#       cp $PETSC_DIR/$PETSC_ARCH/share/periodictable.dat .
12#
13#
14-chem https://combustion.llnl.gov/content/assets/docs/combustion/h2_v1b_mech.txt
15-thermo https://combustion.llnl.gov/content/assets/docs/combustion/h2_v1a_therm.txt
16
17-initial_species H2,O2,N2
18-initial_mole    1,0.5,1.88
19
20-Tini 1500
21##pressure is in N/m2
22-pressure 1.013e5
23
24-monitor_temp
25
26# the following line is needed because currently the basic adapter takes large steps and steps right over the ignition
27-ts_adapt_type glee
28-ts_arkimex_fully_implicit
29-ts_max_snes_failures -1
30-ts_adapt_monitor
31-ts_arkimex_type 4
32-ts_max_time 2.0e-4
33
34# the chemistry dictates reasonable bounds on the timestep
35-ts_adapt_dt_max 1e-4
36-ts_adapt_dt_min 1e-9
37
38-snes_max_it 10
39-pc_type lu
40
41#-ts_monitor_lg_solution
42#-draw_pause -2
43#-lg_use_markers false
44#-ts_monitor_lg_solution_variables H2,O2,H2O,CH4,CO,CO2,C2H2,N2
45-ts_monitor_envelope
46