(求助)如何做程序的,请给一些线索!
浏览:391779
Develop a computer code for solving a 2D space truss problem, as shown in the following figure. The code should include:
1. Input. Input all the information necessary to form the elemental stiffness and loads, apply the loads and enforce the constraints.
2. Output. Output all the input data for checking propose.
3. Form the element stiffness matrix. Compute element stiffness matrix using the input information of nodes and elements.
4. Assemble the global stiffness matrix and global force vector. Establish the relationship between elemental and global matrices.
5. Apply boundary conditions. Apply forces and displacement constraints using the techniques described in Lecture 11.
6. Solve the equations. Call an appropriate linear equation solver to determine the displacements.
7. Compute the stress and force. Reuse the information generated in forming and loading the elemental stiffness matrix to determine the stress and force in each element
8. Output the solution. Output the nodal displacements and element stress.
Write a report on your code and results (E=70 GPa, A=0.01 m2)
图形见附件。
谢谢大家的。

1. Input. Input all the information necessary to form the elemental stiffness and loads, apply the loads and enforce the constraints.
2. Output. Output all the input data for checking propose.
3. Form the element stiffness matrix. Compute element stiffness matrix using the input information of nodes and elements.
4. Assemble the global stiffness matrix and global force vector. Establish the relationship between elemental and global matrices.
5. Apply boundary conditions. Apply forces and displacement constraints using the techniques described in Lecture 11.
6. Solve the equations. Call an appropriate linear equation solver to determine the displacements.
7. Compute the stress and force. Reuse the information generated in forming and loading the elemental stiffness matrix to determine the stress and force in each element
8. Output the solution. Output the nodal displacements and element stress.
Write a report on your code and results (E=70 GPa, A=0.01 m2)
图形见附件。
谢谢大家的。
