Prethodno priopćenje
SnappyShip: A Computational Tool for Automatic Grid Generation for Hydrodynamic Calculations of Ship Calm Water Resistance
Ivan Sulovsky
; University of Rijeka, Faculty of Engineering, Rijeka, Croatia
*
Jasna Prpić-Oršić
; University of Rijeka, Faculty of Engineering, Rijeka, Croatia
* Dopisni autor.
Sažetak
This paper introduces a lightweight, open-source framework for automatic grid generation tailored to
ship calm water resistance simulations within OpenFOAM. The approach couples Python scripting
with the snappyHexMesh meshing tool, aiming to reduce manual input, minimize user-induced
errors, and accelerate the preprocessing phase of computational fluid dynamics (CFD) workflows. A
central dictionary file, shipDict, stores ship characteristics and grid parameters, ensuring consistency
and scalability across cases. The framework automates key meshing tasks, including domain scaling,
Kelvin wake refinements, anisotropic mesh generation, and boundary layer resolution based on
prescribed y+ values. By generating STL refinement volumes programmatically, the method eliminates
time-consuming CAD operations and supports parameter-driven refinements. The system is validated
through two case studies: a benchmark Wigley hull and a 10-meter planing hull. The Wigley hull test
demonstrates excellent agreement between numerical and experimental resistance coefficients, with
only a 4% discrepancy, while the planing hull case showcases robust handling of complex geometries.
Results confirm that the automated grids enable reliable resistance predictions with minimal user
intervention. Although grid automation addresses one major bottleneck in ship CFD, future work will
extend the methodology toward seakeeping and propulsion simulations.
Ključne riječi
OpenFOAM, ship hydrodynamics, numerical grid
Hrčak ID:
347257
URI
Datum izdavanja:
19.5.2026.
Posjeta: 0 *