Internal Thermodynamic Variables and Failure of Microcracked Materials