Assessment of the forces arising in the structures of underground parts of structures, such as piles, foundation slabs and walls, as well as in the structures of the pit fence made of metal sheet piling and using the “wall in the ground” technology is a normative mandatory check for the first group of limit conditions. The work of such structures should be evaluated in conjunction with the soil base, the characteristics of which directly affect the final effort. The article provides a detailed mathematical description of the implementation of a three-node finite element describing a beam (plate in the conditions of a flat problem). At the end, a comparison of the calculation results of the test tasks with another computing software package is provided. High convergence of the results was noted. The results obtained can be used in the development of proprietary finite elements or as alternative calculation methods within the framework of scientific and technical support.