PROGRAMMING OF FINITE ELEMENT METHODS (有限元方法的编程).pdf

PROGRAMMING OF FINITE ELEMENT METHODS (有限元方法的编程).pdf

  1. 1、本文档共12页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PROGRAMMING OF FINITE ELEMENT METHODS (有限元方法的编程)

PROGRAMMING OF FINITE ELEMENT METHODS IN MATLAB LONG CHEN We shall discuss how to implement the linear finite element method for solving the Pois- son equation. We begin with the data structure to represent the triangulation and boundary conditions, introduce the sparse matrix, and then discuss the assembling process. Since we use MATLAB as the programming language, we pay attention to an efficient programming style using sparse matrices in MATLAB. 1. DATA STRUCTURE OF TRIANGULATION We shall discuss the data structure to represent triangulations and boundary conditions. 1.1. Mesh data structure. The matrices node(1:N,1:d) and elem(1:NT,1:d+1) are used to represent a -dimensional triangulation embedded in , where N is the number of vertices and NT is the number of elements. These two matrices represent two different structure of a triangulation: elem for the topology and node for the geometric embedding. The matrix elem represents a set of abstract simplices. The index set is called the global index set of vertices. Here an vertex is thought as an abstract entity. For a simplex , is the local index set of . The matrix elem is the mapping (pointer) from the local index to the global one, i.e., elem(t,1:d+1) records the global indices of vertices which form the abstract -simplex t. Note that any permutation of vertices of a simplex will represent the same abstract simplex. The matrix node gives the geometric realization of the simplicial complex. For ex- ample, for a 2-D triangulation, node(k,1:2) contain - and -coordinates of the -th nodes. The geometric realization introduces an ordering of the simplex. For each elem(t,:), we shall always order the vertices of a simplex such that the signed area is positive. That is in 2-D, three vertices of a triangle is ordered counter-clockwise and in 3-D, the

文档评论(0)

hhuiws1482 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:5024214302000003

1亿VIP精品文档

相关文档