Energetic solutions for the coupling of associative plasticity with damage in geomaterials. (September 2022)