This paper discusses the calculation problems of bending deformation of FWP processing. Take three axis CNC machining as an example, to establish mechanics model of flexible workpiece processing process. The flexible workpiece balance equation is a two-dimensional partial differential equation, to solve the problem of flexible workpiece bending deformation using Rayleigh-Ritz method and designing the test function of bending deformation of flexible workpiece. By satisfying the minimum potential energy condition of FWP processing to work out the approximate solution of bending deformation of flexible workpiece, find out the relationship between material properties of flexible piece, acting force Fz, and deformation value. Finally, the rectangle flexible workpiece which is made up of polyurethane sponge is selected as an experiment subject. The results show that the average relative deviation between theoretical value and observed value is only 5.51%. It is proved that the bending deformation test function satisfies the actual deformation calculation requirements. [ABSTRACT FROM AUTHOR]