- 1、本文档共30页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
简单的三角形网格生成程序(Simple triangular mesh generator)
Title: a triangular mesh generation procedure is simple, for beginners reference
Author: XURUI [3 28, 8:32]
This is a simple triangle mesh generation program using advanced front preparation method, the reference for beginners. I see Zhou Hua software download area has been empty, will initiate, hope more people can contribute to the sharing of programs. If Zhou Hua saw, hoping to take this little program to download, because here will soon be flooded.
The following is the source code
Program bili
Open (10, file=aa.map)
Open (3, file=aa)
Call coor0
Close (10)
End
Subroutine coor0
Implicit real*4 (A-H, o-z)
Common/nxy/nx, NY, numnod, nume, numb, M
Common /enod/ Nod1 (80000), NOD2 (80000), NOD3 (80000)
Common /coor/ x (80000), y (80000)
Integer n, Nod1, NOD2, NOD3
C write (* *)input = nx; ny;
Open (1, file=aa.dat)
Read (1 * NE)
Do i=1, NE
Read (1 *) x (I), y (I)
Enddo
Ns = 1
C = ne (nx+ny) *2
Nume = 0
Nums = 0
Call tricb (nume, NS, NE)
Numnod = nume
Call trimesh (nums, numnod, nume, 5, x, y)
Call trinod (nume, NT, x, y, Nod1, NOD2, NOD3)
Mtij=numnod
Mtik= NT
Write (10, mtij, mtik *)
Write (10 (2f8.2) (x) (MTII), y (MTII), mtii=1, mtij)
Write (10 (3i8) (Nod1) (MTII), NOD2 (MTII), NOD3 (MTII), mtii=1, mtik)
Return
End
C..................................................................
C the following subroutines for generating triangular mesh
C according to circle boundary nodal points
C trimesh generates nodal points of mesh
C trinod generates nodal No. of each triangle
C tricb generates boundary edges according to
C continuous nodal No. of circle boundary
C tricbn generates boundary edges according to
C discontinuous nodal No. of circle boundary
C..................................................................
C trimesh (nums, numnod, numedge, MC, x, y)
C trinod (numedge, NT, x, y, Nod1, NOD2, NOD3)
C tricb (numedge, NS, NE)
C tricbn (numedge, numnod, node)
C...........................................................
您可能关注的文档
- 高二生物试题(Biology examination questions).doc
- 高二物理3-1 第一单元电场总复习(Senior physics 3-1, unit 1 electric field review).doc
- 高二学生学习计划化学02月18日(Senior students study plan chemistry 02 18).doc
- 高二英语选修6单词表[1](Senior English, take the 6 word list, [1]).doc
- 高二作文往事再回首(High school composition the past, then look back).doc
- 高分子(High polymer).doc
- 高分子化学教学大纲(Syllabus of polymer chemistry).doc
- 高分子吸水树脂(Superabsorbent polymer).doc
- 高个苗条女生育能力更强(Taller, slimmer women have stronger fertility).doc
- 高级电工试题(Senior electrician examination questions).doc
- 2023咸阳职业技术学院招聘笔试真题参考答案详解.docx
- 2023四川化工职业技术学院招聘笔试真题及参考答案详解.docx
- 2023哈尔滨职业技术学院招聘笔试真题及参考答案详解.docx
- 2023商洛职业技术学院招聘笔试真题及答案详解1套.docx
- 2023呼伦贝尔职业技术学院招聘笔试真题参考答案详解.docx
- 2023南阳农业职业学院招聘笔试真题参考答案详解.docx
- 2023天津公安警官职业学院招聘笔试真题带答案详解.docx
- 2023年上海电机学院招聘笔试真题参考答案详解.docx
- 2023年四川艺术职业学院招聘笔试真题参考答案详解.docx
- 2023安徽体育运动职业技术学院招聘笔试真题及答案详解一套.docx
文档评论(0)