| As a professional core course of science and engineering in colleges and universities,elasticity needs to master the core ideas of elasticity through a large number of subject calculations.In this paper,through the elasticity of plane problems and finite element method to solve the plane problems and other content of the development of online homework examination system,the questions through the computer program randomly generated into the database to achieve the purpose of online homework examination,the question logic reflects the idea of elastic mechanics solution.Online homework and examination system has a dynamic database,and the system has the function of automatically correcting statistical scores,is a systematic online training platform.The specific work content of this paper includes the following three points:(1)Write the various subroutines required by elasticity to draw graphs.The main drawing programs of the whole drawing structure of elasticity include coordinate axis subroutine,unit subroutine,node number subroutine,load subroutine,constraint subroutine and mark size subroutine.By calling the subroutine required by drawing the graph for the element information,load condition,node information and constraint condition in the elasticity problem,the elasticity problem graph is finally formed.(2)The solving program of elasticity mainly includes the solving program of plane problem in rectangular coordinates and polar coordinates,and the solving program of Ritz method and finite element method.For the rectangular coordinate problems of elasticity,the solution of the problems of elasticity can be realized by constructing pure sixth degree polynomials,and the problems of elasticity can be generated under different polynomials,so that the problems of elasticity have more diversity.The plane problem in polar coordinates is solved by the inverse method and the solution is realized by the programmed process satisfying the boundary conditions and the compatible equations.By constructing the displacement function satisfying the displacement boundary,the process of solving the plane problem by Ritz method is realized according to the displacement variational equation.Finite element method mainly through triangular elements separately written stiffness matrix subroutine,the overall stiffness matrix subroutine,the overall node displacement matrix to solve subroutine and the output subroutine realize the solving of triangular element,and through the whole process of solving the core questions to achieve the elastic finite element part of the program generation.(3)Reference to the existing online operating system,build an online operating system based on Django framework design.First,create a course on elasticity through the administrator platform and upload the topic.Secondly,teachers are assigned through the educational management system.Then the teacher through the teacher management platform for students to upload information and assign related homework.Finally,students log on to the homework and exam platform to complete the online homework.The establishment of the online homework and examination system of elasticity has taken initial shape.Teachers can assign homework through the online system,and students can complete the corresponding homework.It plays a promoting role in improving the quality of teaching and deepening students’ understanding of mechanics,and is of great significance for promoting educational reform. |