Sadly there has only been one modern movie about US submarines in WW2 and that was David Twohy's dismal
Below. (2002)
The movie opens as a naval thriller, complete with the necessary sequences of the US sub being hunted by German escorts; (it's set in the Atlantic oddly enough) the dropping of depth charges; the intense moments as crewmen wait for the charges to explode; and some excellent CGI effects. Without much hint as to what’s about to happen, the film suddenly degenerates into a ghost story, with some vengeful spirit freaking out and in some cases taking out the sub’s crew, including its jittery C.O. and some shipwrecked British passengers. At this point the movie blows credibility faster than a sub blows it's ballast tanks.
As to the ghost story — well, if you aren’t able to guess the twist at the end, then you haven’t been watching nearly enough “Twilight Zone” episodes. And did I mention that the pacing and plotting is horrible? Or that the film is as scary as taking a nap?