Resumen
The moving pseudo-boundary method of fundamental solutions (MFS) was employed to solve the Laplace equation, which describes the potential flow in a two-dimensional (2D) numerical wave tank. The MFS is known for its ease of programming and the advantage of its high precision. The solution of the boundary value can be expressed by a linear combination of the fundamental solutions. The major issue with such an implementation is the optimal distribution of source nodes in the pseudo-boundary. Traditionally, the positions of the source nodes are assumed to be fixed to keep the set of equations closed. However, in the moving boundary problem, the distribution of source nodes may influence the stability of numerical calculations. Moreover, MFS is unstable in time iterations. Hence, it is necessary to constantly revise the weighting coefficients of fundamental solutions. In this study, the source nodes were free, and their locations were determined by solving a nonlinear least-squares problem using the Levenberg?Marquardt algorithm. To solve the above least-squares problem, the MATLAB© routine lsqnonlin was adopted. Additionally, the weighting coefficients of fundamental solutions were solved as a nonlinear least-squares problem using the aforementioned method. The numerical results indicated that the numerical simulation method adopted in this paper is accurate and reliable in solving the problem of 2D tank sloshing. The main contribution of this study is to expand the application of the MFS in engineering by integrating it with the optimal configuration problem of pseudo-boundaries to solve practical engineering problems.