Abstract:In traditional finite element method,each unit is composed of a single material.While only considering the properties of a material will bring great convenience to the software programming,it also leads to a complex finite element modeling process.Therefore,in this paper,we discussed the principle of virtual work from the four nodes rectangular element and the two nodes linear element and used the energy equation to integrate the two different elements.Using VC++as the development tool,taking advantage of the parametric element characteristics and using Gaussian numerical integral method,we formed the element stiffness matrix of the common elements,according to the inverse matrix construction method of functions written plane element shape function program.Then,the element stiffness was integrated according to the node displacement number of the element,and a new type of finite elements containing plane unit and line unit was obtained.At the same time,two kinds of composite elements were applied to a simple example of calculation,in which the concentrated load was placed in the end of the cantilever beam.Through the calculation of the example,the results obtained by using the composite element method and ANSYS in the same conditions were compared.The results of the two cases are very close,the composite element construction method is correct and reliable,and at the same time,it can reduce the number of elements.