The tank ship depicted below has been generated by use of variables for the length, the half width, the bilge radius and the height of the deck level.

 
 
 
 

You can recreate the model by importing the script file Tank_Ship_in.js into a new workspace. The mesh size is set to 5.0 m and first order finite elements are used. The finite element mesh is generated by use of the Advancing front quad mesher.

The default parameters used in the script file are (all units in meters):
AP = 0;
FP = 225;
MaxBreadth = 28;
BilgeRad = 3;
HeightTopDeck = 22;

You can copy (mirror) the half tank ship.
Example where the variables have been modified to:
AP = 0;
FP = 150;
MaxBreadth = 40;
BilgeRad = 5;
HeightTopDeck = 22;

There may be limitations in the script file. Typically if the width is to small and the bilge radius is to large.