Justin Hodges, PhD

AI, Physics, & Simulation

Machine Learning for Marine Hull Design

Machine Learning for Marine Hull Design

Thumbnail: Variational Autoencoder (VAE) structure diagram. The .stl files associated to different designs are used as input the encoder. The encoder creates a latent parameterization of these geometries, specifically the coordinates of the mesh points, which can be used to accurately re-create geometries at will by the decoder.

This work uses Simcenter STAR-CCM+ to generate CFD data for determining the powering characteristics of a vessel and Simcenter ROM Builder and Monolith for using that data in no-code machine learning pipelines. Firstly, in terms of capabilities, the machine learning models were able to predict several 0D performance metrics (torque, total resistance, powering, and propulsion metrics) with respect to 12 independent geometrical parameters involved in the ship design. These predictions were then supplemented with additional machine learning predictions of the spatial, flow field as well in order to provide designers with more detailed understanding of the hydrodynamic aspects of the vessel. Regarding the spatial fields, there are two main capabilities the machine learning models provided: predict results of spatial fields in the form of local contours (loads on the hull, free surface deformation, and in-flow into the propeller), and thereby also an optimization pipeline which can morph the geometry according to the desired cost function for any combination of these machine learning predictions.

Image1

Concept of different workflows available. Blue: the starting point where data is available (CAD files and/or CFD results). Red: machine learning models can be generated for various types of results of interest, whereby rapid predictions can be made with trained surrogates. Green: optional further usage of trained ML models to replace simulation in optimization routine.

Image1

Histograms for each geometric parameter used as inputs to the machine learning models. Blue: training data, orange: testing data.

Image1

Actual values versus the predicted values by the machine learning model on the test dataset

Image1

Wake fraction (V/Vvessel) plots for several randomly selected designs which were excluded from the training process. Top row: machine learning prediction. Bottom row: percentage error compared to ground truth (CFD) data.

Image1 Image1

Water free surface comparisons between ground truth CFD simulation and machine learning predictions

Image1

Wall shear stress ‘i’ component on hull (no-slip) wall. The machine learning predictions represent cases not used in training

Image1

Piezometric pressure on the bow, for CFD and machine learning predictions two validation cases (excluded from model training)

Image1

(Left) Nine randomly selected geometries generated by the autoencoder workflow; Blue: original (.stl), Red: autoencoder recreation through decoding. (Right) Convergence plot of the loss over the training steps for the autoencoder learning the geometry from the voxels.