Generating the Mesh

For the main fluid domain, you generate an anisotropic trimmed cell mesh with refinement around the sea level. With the dimensions of the refinement zone are parametrized with respect to the wave amplitude.

For the hull region you generate a polyhedral mesh with prism layers along the hull boundaries. The base size for the domain and hull regions are 10 m and 2 m, respectively.

Right-click Geometry > Operations and click Execute All.
The anisotropic cell size is determined according to the wave amplitude and wavelength. To achieve the desired cell size for this simulation 100 cells per wavelength with an aspect ration of 40 is used. To ensure the mesh is refined appropriately for the Adaptive Mesh Refinement domain, the anisotropic sizes are multiplied by a factor of 4.