10 # Get config file name
11 if [ -z ${2+x} ]; then
17 # Get numbet of processors
18 if [ -z ${3+x} ]; then
25 if [ -z ${4+x} ]; then
32 if [ -z ${5+x} ]; then
39 if [ -z ${6+x} ]; then
50 ../../tools/mofem_part -my_file $MESHFILE -meshsets_config $CONFIGFILE -my_nparts $NBPROCS
54 #make -j 4 unsaturated_transport
56 #mpirun --allow-run-as-root -np $NBPROCS \
57 mpirun -np $NBPROCS ./unsaturated_transport \
58 -my_file out.h5m -configure $CONFIGFILE \
64 -ts_adapt_always_accept true \
67 -ts_adapt_dt_max 1e-1 \
68 -ts_adapt_dt_min 1e-3 \
71 -ts_adapt_basic_safety 0.8 \
72 -ts_error_if_step_fails false \
73 -ts_theta_adapt false \
74 -ts_alpha_adapt false \
76 -ts_max_snes_failures -1 \
79 -pc_factor_mat_solver_type mumps \
81 -snes_linesearch_type l2 \
82 -snes_linesearch_minlambda 1e-3 \
83 -snes_linesearch_damping 1. \
84 -snes_linesearch_max_it 1 \
87 -snes_divergence_tolerance 1e24 \
90 -snes_converged_reason \
93 -my_max_post_proc_ref_level 0 \
94 -help 2>&1 | tee log && \
96 ../nonlinear_elasticity/do_vtk.sh out_*h5m
98 # Will exit with status of last command.