The original Crunch package used for fatigue analysis in the runIEC utility returns memory faults on larger datasets. I also couldn't figure out how to get the matlab and python-based crunch ports working in runIEC.
I ended up writing a matlab package that could read the original crunch input files, perform the rainflow counting that I needed for my analysis, and write an output file that was similar enough to the original crunch output file that the runIEC utilities could use it for the rest of the analysis and formatting. It required changing lines 624 and 625 in /NuMAD/source/utilities/runIEC/runIECDLC1p1_1p2.m from
dos([crunchPath ' ' cru.JobOpt.AggRoot '.cru']); cd(hm);
to
cd(hm); status = gCrunch(string([cru.JobOpt.AggRoot '.cru']));
Where gCrunch is the replacement crunch function (basic rainflow counting only), and the input argument is the name of the original crunch input file.
If the developers would like the source code to run through review for public release, let me know.
The original Crunch package used for fatigue analysis in the runIEC utility returns memory faults on larger datasets. I also couldn't figure out how to get the matlab and python-based crunch ports working in runIEC.
I ended up writing a matlab package that could read the original crunch input files, perform the rainflow counting that I needed for my analysis, and write an output file that was similar enough to the original crunch output file that the runIEC utilities could use it for the rest of the analysis and formatting. It required changing lines 624 and 625 in /NuMAD/source/utilities/runIEC/runIECDLC1p1_1p2.m from
dos([crunchPath ' ' cru.JobOpt.AggRoot '.cru']); cd(hm);
to
cd(hm); status = gCrunch(string([cru.JobOpt.AggRoot '.cru']));
Where gCrunch is the replacement crunch function (basic rainflow counting only), and the input argument is the name of the original crunch input file.
If the developers would like the source code to run through review for public release, let me know.