基于N-S方程,采用VOF方法追踪自由面,借助FLUENT软件中的用户自定义(UDF)功能,通过定义入射边界处的速度和波面解析表达式,实现了线性小振幅波和非线性二阶Stokes波的模拟.计算结果表明,基于边界造波法模拟的波形与解析方法值符合较好.通过改变入口边界的自定义函数,可实现更加复杂的非线性波的模拟,为研究波浪与各种海工结构物的相互作用问题奠定了一定的研究基础.%Based on the N-S equations, using VOF method to track the free surface, with the user-defined functionality (UDF) of the FLUENT software, by defining analytical expression of the speed and the wave surface in the inlet boundary, the simulation of linear small amplitude wave and the nonlinear second-order Stokes wave was achieved. The results showed that the simulation waveforms based on the approach of wave-generation method of defining inlet boundary conditions were in good agreement with the theoretical value. By changing the custom functions in the inlet boundary, more complex simulation of nonlinear waves can be realized. This method lays a certain foundation for the study of the interaction of waves with a variety of ocean structures.
展开▼