xref: /petsc/src/ts/tutorials/extchem.sh (revision c4762a1b19cd2af06abeed90e8f9d34fb975dd94)
1*c4762a1bSJed Brown#! /bin/sh -f
2*c4762a1bSJed Brown#
3*c4762a1bSJed Brown#  Runs several extchem mechanisms with various integrators
4*c4762a1bSJed Brown#
5*c4762a1bSJed Brownfor mech in h2_10sp.inp gasoline.inp meth_ethanol.inp;
6*c4762a1bSJed Browndo
7*c4762a1bSJed Brown    for type in arkimex "bdf -ts_adapt_type basic -ts_adapt_dt_max 1.e-5" sundials radau5;
8*c4762a1bSJed Brown    do
9*c4762a1bSJed Brown        echo ${mech} ${type}
10*c4762a1bSJed Brown        ./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*c4762a1bSJed Brown    done
12*c4762a1bSJed Browndone
13