Explicit stress–strain equations for modeling frictional materials