How do I display finite element meshes and results?
The structure of the finite element mesh is very similar to MeshModel, but each cell may contain 3 to 8 nodes.
Display finite element meshes and results
Moderator: Queue Moderators
- ArctionNikolai
- Posts: 38
- Joined: Fri Feb 05, 2016 11:37 am
- Location: Finland
- Contact:
Re: Display finite element meshes and results
Hello,
Do you have this Model, which is already the finite or you want to construct the finite element mesh from the scratch?
Best regards, Nikolai
Do you have this Model, which is already the finite or you want to construct the finite element mesh from the scratch?
Best regards, Nikolai
Nikolai Arsenov
Software developer
Arction Ltd
Microkatu 1, 70210 Kuopio, Finland
Software developer
Arction Ltd
Microkatu 1, 70210 Kuopio, Finland
Re: Display finite element meshes and results
Dear Nikolai:
Thanks for reply.
Usually, i don't have the model, and only have the following exported data:
1. the coordinates of the nodes -> gcoord
2. the element connection information -> elem
3. vector, which have the same lenght of the gcoord -> vectors
Then, i need generate a figure like this (Generated by matlab):
i tried for a few days, but i still don't know how to generate the similar result by LC;
i just want to know which type of View3D series can do this job?
Thanks a lot.
gcoord=[-1.35 , 0
0 , -1.35
0 , 0
-0.954594154601839 , -0.954594154601839
0 , -0.617094154601839
-0.617094154601839 , 0
-0.554422863405995 , -0.554422863405995
1.35 , 0
0.954594154601839 , -0.954594154601839
0.617094154601839 , 0
0.554422863405995 , -0.554422863405995
0 , 1.35
-0.954594154601839 , 0.954594154601839
0 , 0.617094154601839
-0.554422863405995 , 0.554422863405995
0.954594154601839 , 0.954594154601839
0.554422863405995 , 0.554422863405995];
elem=
[8 16 17 10
16 12 14 17
3 10 17 14
6 15 13 1
15 14 12 13
14 15 6 3
10 11 9 8
11 5 2 9
5 11 10 3
1 4 7 6
4 2 5 7
3 6 7 5];
vectors=
[ 1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
]
Thanks for reply.
Usually, i don't have the model, and only have the following exported data:
1. the coordinates of the nodes -> gcoord
2. the element connection information -> elem
3. vector, which have the same lenght of the gcoord -> vectors
Then, i need generate a figure like this (Generated by matlab):
i tried for a few days, but i still don't know how to generate the similar result by LC;
i just want to know which type of View3D series can do this job?
Thanks a lot.
gcoord=[-1.35 , 0
0 , -1.35
0 , 0
-0.954594154601839 , -0.954594154601839
0 , -0.617094154601839
-0.617094154601839 , 0
-0.554422863405995 , -0.554422863405995
1.35 , 0
0.954594154601839 , -0.954594154601839
0.617094154601839 , 0
0.554422863405995 , -0.554422863405995
0 , 1.35
-0.954594154601839 , 0.954594154601839
0 , 0.617094154601839
-0.554422863405995 , 0.554422863405995
0.954594154601839 , 0.954594154601839
0.554422863405995 , 0.554422863405995];
elem=
[8 16 17 10
16 12 14 17
3 10 17 14
6 15 13 1
15 14 12 13
14 15 6 3
10 11 9 8
11 5 2 9
5 11 10 3
1 4 7 6
4 2 5 7
3 6 7 5];
vectors=
[ 1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
]
- Attachments
-
- fig_1.png (9.46 KiB) Viewed 7792 times
- ArctionNikolai
- Posts: 38
- Joined: Fri Feb 05, 2016 11:37 am
- Location: Finland
- Contact:
Re: Display finite element meshes and results
Hello,
After the first look at your buffers with g coordinates, it seems that Matlab converted a 3d coordinates and produced a projection to 2D coordinate system.
But it seems like a low poly sphere. If you need to render something similar in 3D space, you can use LightningChart SurfaceMeshSeries3D. For each node set X, Y and Z value.
Your values are from -1 to +1. So, you have to either take the original coordinates from Matlab and use them or use these coordinates by changing each axis range in 3D to (-1..1) system.
If you need more assistance, please write to our support e-mail to continue the discussion and get more help.
Best regards, Nikolai
After the first look at your buffers with g coordinates, it seems that Matlab converted a 3d coordinates and produced a projection to 2D coordinate system.
But it seems like a low poly sphere. If you need to render something similar in 3D space, you can use LightningChart SurfaceMeshSeries3D. For each node set X, Y and Z value.
Your values are from -1 to +1. So, you have to either take the original coordinates from Matlab and use them or use these coordinates by changing each axis range in 3D to (-1..1) system.
If you need more assistance, please write to our support e-mail to continue the discussion and get more help.
Best regards, Nikolai
Nikolai Arsenov
Software developer
Arction Ltd
Microkatu 1, 70210 Kuopio, Finland
Software developer
Arction Ltd
Microkatu 1, 70210 Kuopio, Finland