German submarine IXD
These boats were designed in 1939-40 and there were two types, the IX D1 and the IX D2. The difference between D1 and D2 was only in engine layout and power, the D1 had teething troubles and the D2 boats had a more proven layout.
The IXD type submarines were armed with 24 torpedoes in 6 tubes (4 at the bow and 2 at the stern) and had the secondary armament in the form of the Utof 105mm/45 deck gun with 150 rounds of ammunition.
In 1943-44 the torpedo tubes were removed from the D1 boats and they converted for transport use. In their new role the could transport 252 tons of freight.