当前位置:网站首页>Fluent's MSH grid learning
Fluent's MSH grid learning
2022-06-29 18:24:00 【Chenshiqi】
Research needs , Study Fluent The grid of msh Format .

A grid is set as shown in the figure above , It's a 1x9 Box domain , There are... Per unit length 5 A little bit ,4 individual , common 210 Points and 164 individual .


Output msh File format ,fluent The output is unstructured mesh , If it is 2 Wei's words , It consists of a series of points and lines , Each line and body has a specific topological relationship .
1. start
Turn on the output of msh file , The first two lines :
(0 " Created by : Fluent_V6 Interface Vers. 19.5.0")
(2 2)
0 Is the label of the annotation type , No specific meaning , It is convenient for the operator to read .2 Is the label of the grid dimension ,(2,2) Indicates that this line indicates the grid dimension , hinder 2 Indicates that the grid is 2 A grid of dimensions .
2. Point set node
(0 "Node Section")
(10 (0 1 d2 0 2))
(10 (a 1 d2 1 2)
(
0 0
0.0012499999751647284 0
0 0.0012499999720603228
0.0012499999751647275 0.0012500000000000005
0 0.0024999999441206455
0.0012499999751647264 0.0025000000000000005
0 0.0037499999161809683
0.0012499999751647251 0.0037500000000000003
0 0.004999999888241291
0.0012499999751647245 0.0050000000000000001
0.0024999999503294568 0
0.0024999999503294568 0.0012500000000000002
0.0024999999503294559 0.0025000000000000005
0.002499999950329455 0.0037500000000000007
...
))Again , The first line is labeled 0 The following is the comment , The second line is labeled 10 Represents node data . Follow the format (10 (zone-id first-index last-index type ND)(x1 y1 z1 x2 y2 z2... )). Reference resources Fluent mesh Brief description of file format - pulse 96 - Blog Garden You know type There are many kinds of . If zone-id=0, first-index It will be 1,last-index Equal to the number of nodes (d2 Namely 210),type Set to 0, ND Is the grid dimension , Coordinate data is not followed . If zone-id Greater than 0, Then, it represents the... In the structure nodes Belongs to number zone-id Of zone Area . here first-index and last-index For the sake of zone Node number of the area ,type Set to 1,ND Is an optional parameter , Represents the grid dimension . When ND=2 when , Node data is not displayed z coordinate . Because it's just one zone, So the second and third lines index It's the same .
3. Volume set cell
(12 (0 1 a4 0 0))
(12 (b 1 a4 1 3))
After the point set, the next two lines are labeled 12 Representative body set .a4 Namely 164 That is, the number of voxels in this grid . Look at the picture below , What follows is 3 Represents tetrahedron type .

There was no answer cell The data of , Estimate is to generate a from 1 To a4 Array of .
4. Face set faced
(13 (0 1 175 0 0))
(0 "Interior faces of zone FLUID")
(13 (c 1 11b 2 2)(
2 4 1 5
4 3 1 2
4 6 2 6
6 5 2 3
6 8 3 7
8 7 3 4
8 a 4 8
b c 5 9
c 4 5 6
c d 6 a
d 6 6 7
d e 7 b
e 8 7 8
...
))
13 Is the label of the face . The first line is always , share 175(373) line ( Noodles ), The following is the information of each part . Noodles ( Line ) There is an internal surface ( Line ) And boundaries . What's given above is interior Inner face , share 11b(283) strip . Look at the third line , The fourth one 2 Express interior, the last one 2 Indicates a linear type .
Four numbers in each subsequent line represent ( spot 1, spot 2, Left voxel , Right voxel ). See the first line 2 4 1 5

That is to say , At point 2 Sum point 4 A line connected , The body on the left is 1, The body on the right is 5. Why the front cell I didn't give too much information ? Because it can be defined here , Don't repeat the definition , Save a space . This line also tells us , What two points connect this line , At the same time, it also carries the position information related to voxels , It is necessary in a finite volume .
(0 "Faces of zone IN")
(13 (d 11c 11f 3 2)(
3 1 1 0
5 3 2 0
7 5 3 0
9 7 4 0
)
notice IN The boundary of the , Be careful , Its starting point is 11c, And above interior The end of the game is 11b, It's end to end .type yes 3, representative wall type . See that the last one on every line is 0, It means , The line of the boundary specifies that the right side is the calculation domain , On the left is the calculation field . So it's easy to calculate .
边栏推荐
- Error building SqlSession问题
- 给定一个数在序列中求最大异或值(01字典)
- 小白月赛51 补题 E G F
- 美法官裁定,被控掩盖黑客行为的Uber前安全主管必须面对欺诈指控
- Record that the server has been invaded by viruses: the SSH password has been changed, the login fails, the malicious program runs full of CPU, the jar package fails to start automatically, and you ha
- How to use idea?
- Stepping on the pit: json Parse and json stringify
- 软件测试——基础理论知识你都不一定看得懂
- DevCloud加持下的青软,让教育“智”上云端
- Configure the local domain name through the hosts file
猜你喜欢

centos 7.5安装mysql 8.0.27----yum

Adobe Premiere基础-不透明度(蒙版)(十一)

QQ如何开通在线客服

Proxmox VE Install 7.2

jdbc_相关代码

Image migration and data migration synchronization of old and new servers with different Alibaba cloud accounts

Precondition end of script headers or end of script output before headers

Application and practice of DDD in domestic hotel transaction -- Theory

Error building SqlSession问题

Abc253 D fizzbuzz sum hard (tolerance exclusion theorem)
随机推荐
NVIDIA installs the latest graphics card driver
Adobe Premiere foundation - opacity (mixed mode) (XII)
Record that the server has been invaded by viruses: the SSH password has been changed, the login fails, the malicious program runs full of CPU, the jar package fails to start automatically, and you ha
Adobe Premiere foundation - cool text flash (14)
lodash深拷贝使用
数据分析--时间序列预测
My first experience of remote office | community essay solicitation
牛客小白月赛52 E 分组求对数和(容斥定理+二分)
DevCloud加持下的青软,让教育“智”上云端
Adobe Premiere基礎-聲音調整(音量矯正,降噪,電話音,音高換擋器,參數均衡器)(十八)
If the evaluation conclusion of waiting insurance is poor, does it mean that waiting insurance has been done in vain?
It's really easy to make money in foreign lead and build a website
3H proficient in opencv (VI) - image stacking
6.29模拟赛总结
[tcapulusdb knowledge base] tcapulusdb doc acceptance - create business introduction
How to use idea?
Image feature computation and representation -- content based image retrieval
3h精通OpenCV(八)-形状检测
Abc253 D fizzbuzz sum hard (tolerance exclusion theorem)
Adobe Premiere基础-批量素材导入序列-变速和倒放(回忆)-连续动作镜头切换-字幕要求(十三)