Reading Post Process file
Moderator: GiD Team
Reading Post Process file
I am having a challenge reading post process files. The reading fem process information gets stuck at 0.1% or 0.7% and never progresses
Re: Reading Post Process file
Probably the results of the mesh files of post are bad.
Attach a zip file with the model to try it
Attach a zip file with the model to try it
Re: Reading Post Process file
Here is the a link to the Post process Zip folder:
https://uctcloud-my.sharepoint.com/:u:/ ... A?e=JiHB8W
https://uctcloud-my.sharepoint.com/:u:/ ... A?e=JiHB8W
Re: Reading Post Process file
your .msh files are wrong
e.g. fem.msh
declare a mesh of tetrahedra of 4 nodes, but the list of connectivies have 10 node ids
really they are quadratic tetrahedra of 10 nodes, must replace the 4 by 10
MESH dimension 3 ElemType Tetrahedra Nnode 4
Coordinates
1 5.041270256042e+01 7.250010013580e+01 5.618600368500e+01
...
48168 2.608970165253e+01 3.048140048981e+01 -1.543449997902e+01
end coordinates
Elements
1 28452 26933 26874 27569 27635 26904 27606 28018 27246 27229 0
...
36074 32979 34485 41538 39621 33672 38770 38138 36423 37247 40593 0
end elements
and then there is another bug, there are repeated elements and nodes
if you import the mesh you will see a 'rare boundary' because is considered as boundary a face that belong to 1 tetrahedron, in you case you define other tetrahedra with the same nodes
and also there are repeated nodes in the same x,y,z location
if you import the mesh (changing the 4 by 10) in render normal you will see all as you expect, but in render flat or smooth will see something unexpected, because only foundary faces are drawn.
If you collapse the mesh with a small tolerance (e.g 1e-30) a lot of nodes and elements are deleted, because are duplicated, the problem is that the remaining nodes and elements are renumbered and then the results won't match the ids of nodes or elements of the initial mesh.
Concluding, I don't know how were created the .msh files, but you must rebuild again fixing the bugs of 'number of connectivities 4->10, and deleting repeated elements and nodes before the calculation that create the .res results file.
e.g. fem.msh
declare a mesh of tetrahedra of 4 nodes, but the list of connectivies have 10 node ids
really they are quadratic tetrahedra of 10 nodes, must replace the 4 by 10
MESH dimension 3 ElemType Tetrahedra Nnode 4
Coordinates
1 5.041270256042e+01 7.250010013580e+01 5.618600368500e+01
...
48168 2.608970165253e+01 3.048140048981e+01 -1.543449997902e+01
end coordinates
Elements
1 28452 26933 26874 27569 27635 26904 27606 28018 27246 27229 0
...
36074 32979 34485 41538 39621 33672 38770 38138 36423 37247 40593 0
end elements
and then there is another bug, there are repeated elements and nodes
if you import the mesh you will see a 'rare boundary' because is considered as boundary a face that belong to 1 tetrahedron, in you case you define other tetrahedra with the same nodes
and also there are repeated nodes in the same x,y,z location
if you import the mesh (changing the 4 by 10) in render normal you will see all as you expect, but in render flat or smooth will see something unexpected, because only foundary faces are drawn.
If you collapse the mesh with a small tolerance (e.g 1e-30) a lot of nodes and elements are deleted, because are duplicated, the problem is that the remaining nodes and elements are renumbered and then the results won't match the ids of nodes or elements of the initial mesh.
Concluding, I don't know how were created the .msh files, but you must rebuild again fixing the bugs of 'number of connectivities 4->10, and deleting repeated elements and nodes before the calculation that create the .res results file.
-
- Posts: 1
- Joined: Wed Mar 20, 2024 10:46 am
Re: Reading Post Process file
how do i do this? and deleting repeated elements and nodes before the calculation
Re: Reading Post Process file
It depends on how have you created your mesh.
Which tools have you used?
and which problemtype is writing the input file for the simulation?
and Who (program) wrote this wrong .msh file?
e.g.
Have you created the mesh with GiD, meshing a geometric model?
then must check this model to avoid duplicated entities, etc.
and the problemtype code must take into account if the mesh is linear or quadratic,...
if it is not prepared for quadratic then as user you must not generate a quadratic one
Which tools have you used?
and which problemtype is writing the input file for the simulation?
and Who (program) wrote this wrong .msh file?
e.g.
Have you created the mesh with GiD, meshing a geometric model?
then must check this model to avoid duplicated entities, etc.
and the problemtype code must take into account if the mesh is linear or quadratic,...
if it is not prepared for quadratic then as user you must not generate a quadratic one