In the example below a universal ship has been created based on a parametric script. The variables are length, half width of ship, bilge radius and height of the top deck level.
The universal ship can be made by importing the script file Universal_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.
Variants of the model can now be made by modifying the parameters:
AP = 0m;
FP = 175m;
MaxBreadth = 24m;
BilgeRad = 2.5m;
HeigthTopDeck = 22m;
Example where: AP = 0m; FP = 175m; MaxBreadth = 40m; BilgeRad = 2.5m; HeigthTopDeck = 30m; |
|
Example where: AP = 0m; FP = 175m; MaxBredth = 15m; BilgeRad = 2.5m; HeigthTopDeck = 40m; |
There may be limitations in the script file. Typically if the width is to small and the bilge radius is to large.