Numerical buckling analysis of compressed or tensioned cracked thin-plates