Kapil Khanal , Carlos A. Michelén Ströfer , Matthieu Ancellin , Maha N. Haji
{"title":"波-结构相互作用水动力敏感性分析的完全可微边界元求解器","authors":"Kapil Khanal , Carlos A. Michelén Ströfer , Matthieu Ancellin , Maha N. Haji","doi":"10.1016/j.apor.2025.104707","DOIUrl":null,"url":null,"abstract":"<div><div>Accurately predicting wave-structure interactions is critical for the effective design and analysis of marine structures. This is typically achieved using solvers that employ the boundary element method (BEM), which relies on linear potential flow theory. Precise estimation of the sensitivity of these interactions is equally important for system-level applications such as design optimization. Current BEM solvers are unable to provide these sensitivities as they do not support automatic differentiation (AD). To address these challenges, we have developed a fully differentiable BEM solver, MarineHydro.jl, for marine hydrodynamics, capable of calculating diffraction and radiation coefficients, and their derivatives with high accuracy. MarineHydro.jl implements both direct and indirect BEM formulations and incorporates two Green’s function expressions, offering a trade-off between accuracy and computational speed. Gradients are computed using reverse-mode AD within the Julia programming language. As a first case study, we analyze two identical floating spheres, evaluating gradients with respect to physical dimensions, inter-sphere distance, and wave frequency. Verification studies demonstrate excellent agreement between AD-computed gradients and finite-difference results. In a second case study, we leverage AD-computed gradients to optimize the mechanical power production of a pair of wave energy converters (WECs). This represents the first application of exact gradients obtained from BEM solver in WEC power optimization. Both studies offer valuable insights into hydrodynamic interactions and advance the understanding of layout optimization. Beyond power optimization, the differentiable BEM solver highlights the potential of AD for offshore design studies. It paves the way for broader applications in machine learning integration, optimal control, and uncertainty quantification of hydrodynamic coefficients, offering new directions for advancing wave-structure interaction analysis and system-level optimization.</div></div>","PeriodicalId":8261,"journal":{"name":"Applied Ocean Research","volume":"163 ","pages":"Article 104707"},"PeriodicalIF":4.4000,"publicationDate":"2025-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Fully differentiable boundary element solver for hydrodynamic sensitivity analysis of wave-structure interactions\",\"authors\":\"Kapil Khanal , Carlos A. Michelén Ströfer , Matthieu Ancellin , Maha N. Haji\",\"doi\":\"10.1016/j.apor.2025.104707\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Accurately predicting wave-structure interactions is critical for the effective design and analysis of marine structures. This is typically achieved using solvers that employ the boundary element method (BEM), which relies on linear potential flow theory. Precise estimation of the sensitivity of these interactions is equally important for system-level applications such as design optimization. Current BEM solvers are unable to provide these sensitivities as they do not support automatic differentiation (AD). To address these challenges, we have developed a fully differentiable BEM solver, MarineHydro.jl, for marine hydrodynamics, capable of calculating diffraction and radiation coefficients, and their derivatives with high accuracy. MarineHydro.jl implements both direct and indirect BEM formulations and incorporates two Green’s function expressions, offering a trade-off between accuracy and computational speed. Gradients are computed using reverse-mode AD within the Julia programming language. As a first case study, we analyze two identical floating spheres, evaluating gradients with respect to physical dimensions, inter-sphere distance, and wave frequency. Verification studies demonstrate excellent agreement between AD-computed gradients and finite-difference results. In a second case study, we leverage AD-computed gradients to optimize the mechanical power production of a pair of wave energy converters (WECs). This represents the first application of exact gradients obtained from BEM solver in WEC power optimization. Both studies offer valuable insights into hydrodynamic interactions and advance the understanding of layout optimization. Beyond power optimization, the differentiable BEM solver highlights the potential of AD for offshore design studies. It paves the way for broader applications in machine learning integration, optimal control, and uncertainty quantification of hydrodynamic coefficients, offering new directions for advancing wave-structure interaction analysis and system-level optimization.</div></div>\",\"PeriodicalId\":8261,\"journal\":{\"name\":\"Applied Ocean Research\",\"volume\":\"163 \",\"pages\":\"Article 104707\"},\"PeriodicalIF\":4.4000,\"publicationDate\":\"2025-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Applied Ocean Research\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0141118725002937\",\"RegionNum\":2,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"ENGINEERING, OCEAN\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Ocean Research","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0141118725002937","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, OCEAN","Score":null,"Total":0}
Fully differentiable boundary element solver for hydrodynamic sensitivity analysis of wave-structure interactions
Accurately predicting wave-structure interactions is critical for the effective design and analysis of marine structures. This is typically achieved using solvers that employ the boundary element method (BEM), which relies on linear potential flow theory. Precise estimation of the sensitivity of these interactions is equally important for system-level applications such as design optimization. Current BEM solvers are unable to provide these sensitivities as they do not support automatic differentiation (AD). To address these challenges, we have developed a fully differentiable BEM solver, MarineHydro.jl, for marine hydrodynamics, capable of calculating diffraction and radiation coefficients, and their derivatives with high accuracy. MarineHydro.jl implements both direct and indirect BEM formulations and incorporates two Green’s function expressions, offering a trade-off between accuracy and computational speed. Gradients are computed using reverse-mode AD within the Julia programming language. As a first case study, we analyze two identical floating spheres, evaluating gradients with respect to physical dimensions, inter-sphere distance, and wave frequency. Verification studies demonstrate excellent agreement between AD-computed gradients and finite-difference results. In a second case study, we leverage AD-computed gradients to optimize the mechanical power production of a pair of wave energy converters (WECs). This represents the first application of exact gradients obtained from BEM solver in WEC power optimization. Both studies offer valuable insights into hydrodynamic interactions and advance the understanding of layout optimization. Beyond power optimization, the differentiable BEM solver highlights the potential of AD for offshore design studies. It paves the way for broader applications in machine learning integration, optimal control, and uncertainty quantification of hydrodynamic coefficients, offering new directions for advancing wave-structure interaction analysis and system-level optimization.
期刊介绍:
The aim of Applied Ocean Research is to encourage the submission of papers that advance the state of knowledge in a range of topics relevant to ocean engineering.