You probably are guessing correctly. I had burning like you mention for a good year. It was a stricture and was corrected by opening it up. Flow improved for 6months or so and has slowed up some, but no more burning.
I did not have surgery,but the problem is the same from irritating the urethra.