Page 1 of 1
Display finite element meshes and results
Posted: Fri Jul 28, 2017 2:34 pm
by xidapsy
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.
Re: Display finite element meshes and results
Posted: Mon Jul 31, 2017 10:33 am
by ArctionNikolai
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
Re: Display finite element meshes and results
Posted: Mon Jul 31, 2017 1:56 pm
by xidapsy
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
]
Re: Display finite element meshes and results
Posted: Mon Jul 31, 2017 2:49 pm
by ArctionNikolai
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