A numerical solution for landslide-generated water waves is developed in Nasa-Vof2D, a nonlinear eulerian code specifically designed by Los Alamos to calculate flows around obstacles. Nasa-Vof2D has been modified to allow an arbitrary displacement of the fluid domain boundaries. This modification permits submerged or semisubmerged complex geometry bodies to move into the fluid domain, provided that their velocity is known and the phenomenon is bidimensional or axisymmetric. The main application of this extension is the simulation of the formation of water waves by landslides falling into reservoirs, lakes, or oceans. Three types of landslides are studied in this paper. For each one, we compare the computed solution and an analytical solution determined in the field of the linear theory.