tjhei / cracks

pfm-cracks: A Finite Element code for crack propagation
GNU General Public License v2.0
82 stars 47 forks source link

Displacement-force curves #22

Closed Batmanabcdefg closed 6 years ago

Batmanabcdefg commented 6 years ago

Hi, where can I find the displacement-force curve (output)? Best

tjhei commented 6 years ago

We currently do not output it separately. I typically output the screen text to a file, then filter the lines, and plot using gnuplot:

mpirun -n 2 cracks tests/miehe_shear_2.prm | tee log.txt
grep No log.txt >data.txt
gnuplot
> plot "data.txt" using 4:13 w lp
tjhei commented 6 years ago

That said, we probably should generate a data file in the output directory. I will tackle that at some point.

Batmanabcdefg commented 6 years ago

Dear Prof. Heister,

Thanks a lot for your support! & Kind regards