extchem.sh (c20d77252dee0f9c80fc6f8b1a6f948e11175edb) extchem.sh (bcd4bb4a4158aa96f212e9537e87b40407faf83e)
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
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
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
11 done
12done