Fundamental thermodynamic concepts for the constitutive modeling of damaged concrete