xref: /petsc/src/ts/tutorials/extchem.sh (revision fd5a855563b981e3d8ad570cd3f080c8adb7dcc2) !
1#! /bin/sh -f
2#
3#  Runs several extchem mechanisms with various integrators
4#
5for mech in h2_10sp.inp gasoline.inp meth_ethanol.inp;
6do
7    for type in arkimex "bdf -ts_adapt_type basic -ts_adapt_dt_max 1.e-5" sundials radau5;
8    do
9        echo "${mech}" "${type}"
10        ./extchem -options_file "${mech}" -ts_max_steps 10000 -ts_type "${type}"  -ts_view -log_view -ts_monitor_lg_timestep -ts_monitor_lg_solution -lg_use_markers true -draw_pause -2 -draw_size .5,.5 > extchem_output_"${mech}"_"${type}" 2>&1
11    done
12done
13