You can perform a crack initiation prediction with the commands (example):
Edit the bash script makeRepSaefcalc2 and add user name and affiliation etc. If you have not already done so, you will need to make the script "makeRepSaefcalc2" executable with command: chmod 744 makeRepSaefcalc2 Rainflow Cycle Count your load history: ./pdrain 2 < loads4rain.out > sample.rain Run the simulation: ./saefcalc2 merged_a36_fitted.html 5.4 < sample.rain > a36sample_5.4 Create the report: ./makeRepSaefcalc2 a36sample_5.4 View the *.pdf report: evince a36sample_5.4.pdf
After download a fortran program can be compiled with the statements: mv saefcalc2.f.txt saefcalc2.f In newer Linux versions the compile command to use is probably: gfortran -g -w -fbounds-check saefcalc2.f -o saefcalc2 Also note that the new compiler version do not preserve variables between calls to subroutines, and that one must enter a " SAVE" line at the top of each subroutine. This changed "feature" can cause a lot of trouble when compiling older programs. For details of output file data extraction see (and change if you wish) the script makeRepSaefcalc2 The output from saefcalc2 goes into a large results file that contains all sorts of intermediate information plus the final results. The final result lines each have a "#name " at the begining of each line, and can be extracted from the general file using grep, as below. (Assuming "temp" is the saefcalc2 output file name) View all output: more temp View life results: grep xcalc2 temp grep xcalc3 temp View stress-strain loops for plotting: grep plotloops temp | delete1arg >temploop Then use gnuplot In gnuplot type the commands: set grid plot "temploop" with lines to get the hysteresis loop shapes. View damage per input block: grep plotdam temp