3rm -f out_* && make -j6 && ./multifield_plasticity -file_name ./example/2D_cantilever.cub -ts_dt 0.04 -ts_max_time 0.56 -ts_adapt_type none \
4-with_plasticity -load_history load_history.in \
9-order 2 -no_output | tee log
13rm -f out_* && make -j6 && ./multifield_plasticity -file_name ~/Desktop/Meshes/Plasticity/2D_contact_circ.cub -ts_dt 0.04 -ts_max_time 1 -ts_adapt_type none -ts_adapt_dt_max 0.2 -ts_adapt_dt_min 0.005 | tee log
16./multifield_plasticity -file_name ~/Desktop/Meshes/Plasticity/2D_contact_circ.cub -with_contact -ts_max_time 3 -load_history load_history.in -roller1 1,-1.3 -radius1 0.5 -move1 -0.15,0. -roller2 -1,,-1.3 -move2 0.15,0 -radius2 0.5 | tee log && mbconvertp out_*h5m
20rm -f out_* && make -j6 && ./multifield_plasticity -file_name ~/Desktop/Meshes/Plasticity/2D_bar_contact_test_fine.cub -ts_dt 0.05 -ts_max_time 2 -ts_adapt_type none \
21-with_contact -load_history load_history2.in \
22-roller3 0.,0.5 -move3 0.,-0.5 -radius3 0.25 -is_large_strain | tee log
26rm -f out_* && make -j6 && ./multifield_plasticity -file_name /Users/karollewandowski/Desktop/Meshes/Contact/clip_bench.cub -ts_dt 0.025 -ts_max_time 2 \
28-with_contact -load_history load_history2.in \
29-roller3 0.,0. -move3 0.,-0.7 -radius3 0.5 -is_large_strain | tee log
31rm -f out_* && make -j6 && ./multifield_plasticity -file_name /Users/karollewandowski/Desktop/Meshes/Contact/clip_bench.cub -ts_dt 0.025 -ts_max_time 2 -ts_adapt_type none -with_contact -load_history load_history2.in -roller3 0.,-0.7 -move3 0.,0.7 -radius3 0.5 -is_large_strain | tee log
33-roller1 1.25,-0.5 -radius1 0.25 \
34-roller2 -1.25,-0.5 -radius2 0.25 \
36grep "Uy time" log | awk '{print $3 " " $5}' | tee log_upd
38gnuplot -e "set terminal x11; plot 'log_upd' using (-\$2):(\$1) with linespoints; pause -1"
41#3 rollers rotation and contact
43rm -f out_* && make -j6 && ./multifield_plasticity -file_name ~/Desktop/Meshes/Forming/2D_forming_test.cub -ts_dt 0.005 -ts_max_time 3 -ts_adapt_type none -with_contact -load_history load_history.in -roller3 0.,0.75 -move3 0.,-0.25 -radius3 0.25 -roller2 -0.53,-0.53 -move2 0.177,0.177 -radius2 0.25 -roller1 0.53,-0.53 -move1 -0.177,0.177 -radius1 0.25 -is_large_strain -with_plasticity -sigmaY 2 -H 2 -is_large_strain -rollers_stop 0.15 | tee log
49egrep "Uz|Uy" log | awk '{print $7}' | awk 'NR%2{printf "%s ",$0;next;}1'
52egrep "Uz" log | awk '{print $7}' | tee disp; egrep "Reactions time" log | awk '{print (-4e-3)*$9}' | tee react; paste disp react
54# get number of iterations
55grep " Function norm " log | wc -l