Numerical modeling of concrete cracking