Function "stress_strain_part_max" can't be used to evaluate compressive strains
When using "stress_strain_part_max" to evaluate strains in objects (i.e. maximum principal strain in organs, bones etc.) only the "selection_tension_compression" values "Overall" or "Tension" yield plausible results. Using "Compression" leads to results which are always zero. It seems that the function "stress_strain_part_max" in standard_functions.py always identifies the maximum strain (line number 1393). Since compressive strains are negative, the function should be adapted to return the minimum strains in case "Compression" is selected.
Cheers, Felix
Edited by Felix Ressi