Don't forget that close depth charges will also change your boat depth even without flooding. If you haven't already the GWX manual is well worth the read

, amazing work.
'GWX varies your U-boat’s buoyancy after a close depth charge detonation. This may result in your U-boat being temporarily blown to the surface by a depth charge exploding underneath you, or being driven deeper by depth charge explosions just above you'