The two‐dimensional hydrodynamics program Nasa‐Vof2D is modified to study the generation, propagation, and run‐up on the shore of water waves created by landslides. Nasa‐Vof2D, developed by the Los Alamos National Laboratory in Los Alamos, New Mexico, is a nonlinear Eulerian code, which solves the complete incompressible Navier‐Stokes equations by a finite difference method. The modification includes making the fluid domain boundaries (i.e., the bathymetry) time‐dependent. It allows a complex geometry box to slide down any incline, provided that the body kinetic is known and that the phenomenon is two‐dimensional or axisymmetric. To verify this numerical Nasa‐Vof2D extension, an experimental study on nonlinear waves generated by a two‐dimensional triangular body sliding a 45° inclined plane is conducted. The computed wave profiles show very close agreement with the experimental ones, except when free‐surface turbulence occurs, which the present numerical method cannot simulate