To make this question clear, here are the details of the situation I wish to entertain.
A spacecraft does a powered gravitational assist, where it fires engines in a near-approach to the body
We should all be aware the rotating black holes can directly act on a passerby, and both because of the focus on supermassive, and for mathematical simplicity, I'd like to assume the standard Schwarzschild black hole:
Best to assume the spacecraft starts with $v_{infinity}=0$, that is, its incoming speed before entering the gravity well is assumed to be minimal.
The spacecraft comes as close as possible without falling in, or however close gets the maximum Oberth effect.
I want to convert $\Delta v$ the spacecraft engines generate to the final $V$ after it has departed the gravity well.
To sum up, I want some expression for a relativistic Oberth effect that would apply in the most extreme case.
Preliminary Thinking
Previous question:
What happens to orbits at small radii in general relativity?
I guess a logical approach would be to follow the same approach as the computation of the Oberth effect for a parabolic orbit based on energy balance. But if you go highly relativistic, the gravitation as well as kinetic energy terms can get quite complex, here is gravitational:
$$ V(r)=-{\frac {GMm}{r}}+{\frac {L^{2}}{2\mu r^{2}}}-{\frac {G(M+m)L^{2}}{c^{2}\mu r^{3}}}. $$
I could also guess that the optimal approach is at the IBCO radius of 3/2 times the Schwarzschild radius. But this still leaves quite a few things to plug in, and I'm doubtful about the validity of the approach overall.
Heck, just to put it out there, let's say I use the non-relativistic Oberth equation assuming the IBCO approach distance:
$$ V=\Delta v{\sqrt {1+{\frac {2V_{\text{esc}}}{\Delta v}}}} =\Delta v{\sqrt {1+{ \sqrt{\frac{GM}{3/2 r_s}} \frac {2}{\Delta v}}}} =\Delta v{\sqrt {1+ { \frac {2 c}{3 \sqrt{3} \Delta v}}}}. $$
This would give a multiplier of something like a factor of 100 for a 10 km/s burn. But this is almost certainly wrong, applied outside its range of applicability.