Sounds like something from a Jack Higgins novel...Thunder Point maybe?
Wikipedia has detailed history of every Uboat. I spent many hours reading their stories and fates.