Abstract:The scattering problem of elastic waves is of great engineering significance,especially in earthquake engineering.Frequently,the response of the scatterer is needed to evaluate the safety of structures during earthquakes.The ground motion can be used as dynamic input for the finite-element method calculation,which is a way to realize the non-uniform input.This article puts forward the wave function combination method for a three-dimensional (3D)problem to solve the irregular valley scattering problem. The application of the earthquake input to the dynamic finite-element calculation for a high-face rockfill dam can meet the requirement for non-uniform input and,at the same time,avoid the problem of the reflection of the outward wave by the artificial boundary.The theoretical derivation of the wave function combination method for the 3D problem and the validation of the program are introduced,as are the basic steps needed to apply this method to the earthquake input.