Could one make a damn self repairing by using coolant lines and woodfibers aka https://en.m.wikipedia.org/wiki/Pykrete? I imagine it similar to the bodies repair facilities, using the electricity from the damn to uphold cooling?
This discussion was about failing damns or spillways and how to repair them. Solar can fall to strong wether events too and damns provide base grid power.
Its could also be added after construction. A set of pipes of coolant lines and warmed woodslushie that become a temporary solution to a catastrophic development.
Its basically installing a industrial sized ac and a wood slushie sprinkler system.