LM317 voltage regulator R2 is getting very hot? why?

calvingloster:
Ok so hear me out now. I do believe it is possible to create a constant voltage constant current source. The first LM317 limits volts to 14.1v and the second one limits current to let's say 100mA. When the "device" requires 50v to draw 100mA then the constant voltage will only allow it to draw as much current as 14.1v would allow according to ohms law. So as the "device" changes it's properties like resistance, the 2 LM317's will NEVER allow it to draw more than 100mA or be subjected to more than 14.1v. And I do believe a lead acid battery could be charged this way. It might take long but will still work. Does that not make sense?

Not much, I'm afraid. Sounds more like a current-limiting situation. Do the maths. V=IR. If V and I are constants, so too must R be constant. So we can only have voltage and current constant with one specific resistance, i.e. the load resistance cannot change.

But don't let me discourage you. I am perfectly willing to be convinced. Design the circuit, build it, test it, then bring us the schematic and the V/I curves so that we can understand it and duplicate the results.