CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Gmsh matlab problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2020, 17:18
Default Gmsh matlab problem
  #1
New Member
 
Jhon
Join Date: Mar 2020
Posts: 1
Rep Power: 0
Maths is on a distinguished road
hello

please can anyone tell me why when I do the meshing for a square by Gmsh it gives me such a script and if anyone can tell me how to use it in matlab



$MeshFormat
4.1 0 4
$EndMeshFormat
$Entities
4 4 1 0
1 0 0 0 0
2 0 1 0 0
3 1 1 0 0
4 1 0 0 0
1 -9.999999994736442e-008 -1e-007 -1e-007 1.0000001 1e-007 1e-007 0 2 1 -4
2 0.9999999000000001 -9.999999994736442e-008 -1e-007 1.0000001 1.0000001 1e-007 0 2 4 -3
3 -9.999999994736442e-008 0.9999999000000001 -1e-007 1.0000001 1.0000001 1e-007 0 2 3 -2
4 -1e-007 -9.999999994736442e-008 -1e-007 1e-007 1.0000001 1e-007 0 2 2 -1
1 -9.999999994736442e-008 -9.999999994736442e-008 -1e-007 1.0000001 1.0000001 1e-007 0 4 4 1 2 3
$EndEntities
$Nodes
9 100 1 100
0 1 0 1
1
0 0 0
0 2 0 1
2
0 1 0
0 3 0 1
3
1 1 0
0 4 0 1
4
1 -0 -0
1 1 0 8
5
6
7
8
9
10
11
12
0.1111111111111111 0 0
0.2222222222222222 0 0
0.3333333333333333 0 0
0.4444444444444444 0 0
0.5555555555555556 0 0
0.6666666666666666 0 0
0.7777777777777777 0 0
0.8888888888888888 0 0
1 2 0 8
13
14
15
16
17
18
19
20
1 0.1111111111111111 0
1 0.2222222222222222 0
1 0.3333333333333333 0
1 0.4444444444444444 0
1 0.5555555555555556 0
1 0.6666666666666666 0
1 0.7777777777777777 0
1 0.8888888888888888 0
1 3 0 8
21
22
23
24
25
26
27
28
0.8888888888888888 1 0
0.7777777777777778 1 0
0.6666666666666667 1 0
0.5555555555555556 1 0
0.4444444444444444 1 0
0.3333333333333334 1 0
0.2222222222222223 1 0
0.1111111111111112 1 0
1 4 0 8
29
30
31
32
33
34
35
36
0 0.8888888888888888 0
0 0.7777777777777778 0
0 0.6666666666666667 0
0 0.5555555555555556 0
0 0.4444444444444444 0
0 0.3333333333333334 0
0 0.2222222222222223 0
0 0.1111111111111112 0
2 1 0 64
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
0.111111111111111 0.888888888888889 0
0.2222222222222222 0.888888888888889 0
0.3333333333333334 0.888888888888889 0
0.4444444444444445 0.888888888888889 0
0.5555555555555556 0.888888888888889 0
0.6666666666666667 0.888888888888889 0
0.7777777777777778 0.888888888888889 0
0.888888888888889 0.888888888888889 0
0.111111111111111 0.7777777777777777 0
0.2222222222222222 0.7777777777777777 0
0.3333333333333334 0.7777777777777777 0
0.4444444444444445 0.7777777777777777 0
0.5555555555555556 0.7777777777777777 0
0.6666666666666666 0.7777777777777777 0
0.7777777777777778 0.7777777777777777 0
0.888888888888889 0.7777777777777777 0
0.111111111111111 0.6666666666666665 0
0.2222222222222222 0.6666666666666665 0
0.3333333333333334 0.6666666666666665 0
0.4444444444444445 0.6666666666666665 0
0.5555555555555556 0.6666666666666665 0
0.6666666666666666 0.6666666666666665 0
0.7777777777777777 0.6666666666666665 0
0.888888888888889 0.6666666666666666 0
0.111111111111111 0.5555555555555556 0
0.2222222222222222 0.5555555555555556 0
0.3333333333333334 0.5555555555555556 0
0.4444444444444445 0.5555555555555556 0
0.5555555555555556 0.5555555555555555 0
0.6666666666666666 0.5555555555555555 0
0.7777777777777777 0.5555555555555555 0
0.888888888888889 0.5555555555555556 0
0.111111111111111 0.4444444444444444 0
0.2222222222222222 0.4444444444444444 0
0.3333333333333334 0.4444444444444444 0
0.4444444444444445 0.4444444444444444 0
0.5555555555555556 0.4444444444444444 0
0.6666666666666666 0.4444444444444444 0
0.7777777777777777 0.4444444444444444 0
0.888888888888889 0.4444444444444444 0
0.111111111111111 0.3333333333333334 0
0.2222222222222222 0.3333333333333334 0
0.3333333333333334 0.3333333333333334 0
0.4444444444444445 0.3333333333333334 0
0.5555555555555556 0.3333333333333334 0
0.6666666666666666 0.3333333333333334 0
0.7777777777777777 0.3333333333333334 0
0.888888888888889 0.3333333333333334 0
0.111111111111111 0.2222222222222223 0
0.2222222222222222 0.2222222222222223 0
0.3333333333333334 0.2222222222222223 0
0.4444444444444445 0.2222222222222223 0
0.5555555555555556 0.2222222222222223 0
0.6666666666666666 0.2222222222222223 0
0.7777777777777777 0.2222222222222223 0
0.888888888888889 0.2222222222222223 0
0.111111111111111 0.111111111111111 0
0.2222222222222222 0.111111111111111 0
0.3333333333333334 0.111111111111111 0
0.4444444444444445 0.111111111111111 0
0.5555555555555556 0.111111111111111 0
0.6666666666666666 0.111111111111111 0
0.7777777777777777 0.111111111111111 0
0.888888888888889 0.111111111111111 0
$EndNodes
$Elements
9 121 1 121
0 1 15 1
1 1
0 2 15 1
2 2
0 3 15 1
3 3
0 4 15 1
4 4
1 1 1 9
5 1 5
6 5 6
7 6 7
8 7 8
9 8 9
10 9 10
11 10 11
12 11 12
13 12 4
1 2 1 9
14 4 13
15 13 14
16 14 15
17 15 16
18 16 17
19 17 18
20 18 19
21 19 20
22 20 3
1 3 1 9
23 3 21
24 21 22
25 22 23
26 23 24
27 24 25
28 25 26
29 26 27
30 27 28
31 28 2
1 4 1 9
32 2 29
33 29 30
34 30 31
35 31 32
36 32 33
37 33 34
38 34 35
39 35 36
40 36 1
2 1 3 81
41 2 29 37 28
42 28 37 38 27
..... . . . .
$EndElements




thank you
Maths is offline   Reply With Quote

Old   March 23, 2020, 13:13
Default
  #2
Member
 
Mianzhi Wang
Join Date: Jan 2015
Location: Columbus, IN
Posts: 34
Rep Power: 11
wangmianzhi is on a distinguished road
http://gmsh.info/doc/texinfo/gmsh.html#File-formats
wangmianzhi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MATLAB problem AeroSonic Main CFD Forum 5 March 15, 2020 17:00
[Gmsh] Translating a Bisection Method writtern in Matlab to Gmsh! CFD-Lover OpenFOAM Meshing & Mesh Conversion 0 July 25, 2017 22:29
Gmsh problem liub Mesh Generation & Pre-Processing 0 December 17, 2015 13:26
problem Using Matlab for post processing nenazarian FLUENT 3 September 6, 2012 16:41
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52


All times are GMT -4. The time now is 18:10.