有限元平面矩形单元MATLAB程序设计【范本模板】

  • 格式:docx
  • 大小:4.79 MB
  • 文档页数:86

苏州科技学院本科生毕业设计(论文)

I

有限元平面矩形单元MATLAB程序设计

摘 要

本论文主要研究内容是有限元平面矩形单元的基本原理和MATLAB软件的图形用户界面及函数编程的基本知识,并根据有限元平面矩形单元的计算单元刚度矩阵,结点位移等原理和方法,运用MATLAB 语言编写弹性力学平面矩形单元的计算程序,使得程序能够完成对不同荷载类型,不同结构单元的计算,同时设计了图形用户界面(GUI),使得程序能够在图形用户界面(GUI)上对应的输入框内输入相应数据,并能够计算出单元刚度矩阵,等效结点荷载,有限元上结点位移和单元应力;最后将集中荷载和均布荷载情况下的实例进行对MATLAB计算得出的位移和单元结点应力与ANSYS计算值比较分析,验证其正确性和通用性,并总结了MATLAB软件在有限元的运用.

关键词 MATLAB程序设计;有限元;矩形单元;刚度矩阵;单元应力

苏州科技学院本科生毕业设计(论文)

II

The Rectangle Unit Plane of Finite Element of the

MATLAB Programming

Abstract

This dissertation mainly studies the radical principle of the rectangle unit plane of the

finite element and the basic knowledge of the Graphical User Interface and the function

programming of the MATLAB software 。 And make use of MATLAB language to make

up the GUI and the computation program of MATLAB according to the theory and method

of the rectangle unit plane of the finite element to compute the element stiffness matrix ,

nodes’ displacement and so on about different types of loads and different elements 。

Imputing the datas into the GUI to figure out element stiffness matrix , equivalent nodal

load , displacement of nodes and element stress . At last , comparing and analyzing the

nodes’ displacement and nodes’ stress of element of MATLAB and ANSYS to make sure

whether the programming is right and used universally , and making a summary the

application of MATLAB software in finite element analysis 。

Keywords MATLAB programming ; finite element analysis ; rectangle unit of

plane ;stiffness matrix ; element stress 苏州科技学院本科生毕业设计(论文)

III

目 录

第1章 绪论 ............................................................................................................................................. 1

1.1研究背景 ........................................................................................................................................ 1

1.1。1 有限元单元法概述 ............................................................................................................ 1

1.1。2 MATLAB程序概述 ............................................................................................................ 2

1.1.3 MATLAB应用于有限元程序设计的优点 ........................................................................... 2

1。2 研究内容 .................................................................................................................................... 3

1。3 研究重点 .................................................................................................................................... 3

第2章 矩形单元有限元原理 .................................................................................................................. 4

2。1 位移函数 .................................................................................................................................... 4

2.2 几何矩阵 ....................................................................................................................................... 5

2.3 应力矩阵 ....................................................................................................................................... 6

2.4 单元刚度矩阵 ............................................................................................................................... 7

2.5 等效结点荷载 ............................................................................................................................... 8

2。6 整体等效结点荷载 .................................................................................................................... 8

2。7 整体刚度矩阵 ............................................................................................................................ 8

2.8 结点位移的计算 ........................................................................................................................... 8

第3章 MATLAB 图形用户界面(GUI) .................................................................................................. 9

3。1 GUI界面的概述 ......................................................................................................................... 9

3.1.1 控件对象的描述 ................................................................................................................. 10

3.1。2 部分常用控件通用属性 .................................................................................................. 11

3。2 GUI常用函数语句 ................................................................................................................... 12

3。2.1 get和set语句 ................................................................................................................... 12

3。2.2 if判断语句和for循环语句 ............................................................................................. 13

3。3 M文件的一般结构 .................................................................................................................. 13

第4章 有限元平面矩形单元MATLAB程序设计 .................................................................................. 15