This invention provides a method for calculating the horizontal nonlinear response of large-
diameter piles in layered foundations considering end resistance, comprising: S1, establishing a calculation model for the horizontal nonlinear response of large-
diameter piles in layered foundations considering end resistance; S2, dividing the
pile-side soil into several
layers along the
depth direction, and equating each layer of
pile-side soil with a nonlinear horizontal soil spring; S3, simplifying the
pile-end soil into an end shear elastoplastic spring describing the
shear force-displacement relationship and an end bending elastoplastic spring describing the
bending moment-rotation relationship; S4, determining the secant stiffness of the pile-side soil spring at each depth; S5, discretizing the governing equations using the
finite difference method; S6, establishing the horizontal load,
vertical load, and
bending moment constraints at the pile top, as well as the boundary conditions for
shear force and
bending moment at the pile end; S7, solving for the nonlinear responses such as horizontal displacement, bending moment, and
shear force at each node of the pile body using an iterative calculation method. This invention can be used for pile-soil interaction analysis and design optimization of horizontally loaded large-
diameter foundations.