I am trying to create mesh from gmsh to use on MaxFEM and am encountering the below errors:
The .unv file I create directly from gmsh is rejected by the Visualization in MaxFEM with the following error:"Unknown Format" followed by "errormsg: Error converting mesh to vtk. Not creating plot". Interestingly this error goes when I introduce a blank line in the first line of the .unv file generated by gmsh.
But running the visualization with this modified .unv gives the following error: "self.nodes None". This makes me feel that at least the file is being read but something else is missing.
Can you please throw some light on what this error about self.nodes is and whether it can be corrrected by making some changes in the .unv file? Or has it been generated by adding that new line in the original .unv file generated by gmsh.
I know you have recommended SALOME for generating meshes, but I do not have access to visual studio to build it rightn now and wanted to see if I can do some workaround with gmsh.
Thanks in anticipation.
Devansh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
GMSH is a bad idea to create UNV files for MaxFEM. The reason is that, in
order to assign boundary conditions, some groups of elements (faces,
edges,...) must be created in the UNV file to represent frontiers. MaxFEM
expect those groups to be stored in dataset 2477. Instead, GMSH only
creates groups of nodes, and in a different dataset. Node groups are not
suitable when natural and essential boundary conditions are mixed. See more
details in http://onelab.info/pipermail/gmsh/2009/004354.html
For this reason, we did not tested MaxFEM with UNV files generated with
GMSH.
By other hand, I only have experience working with SALOME in Linux. If you
need to build SALOME from source using Visual Studio, you could try the
free version of Visual Studio, https://www.visualstudio.com/vs/visual-studio-express/
Best regards,
Francisco Pena
Last edit: Fran Pena 2018-04-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to create mesh from gmsh to use on MaxFEM and am encountering the below errors:
Can you please throw some light on what this error about self.nodes is and whether it can be corrrected by making some changes in the .unv file? Or has it been generated by adding that new line in the original .unv file generated by gmsh.
I know you have recommended SALOME for generating meshes, but I do not have access to visual studio to build it rightn now and wanted to see if I can do some workaround with gmsh.
Thanks in anticipation.
Devansh
Dear Devansh,
GMSH is a bad idea to create UNV files for MaxFEM. The reason is that, in
order to assign boundary conditions, some groups of elements (faces,
edges,...) must be created in the UNV file to represent frontiers. MaxFEM
expect those groups to be stored in dataset 2477. Instead, GMSH only
creates groups of nodes, and in a different dataset. Node groups are not
suitable when natural and essential boundary conditions are mixed. See more
details in http://onelab.info/pipermail/gmsh/2009/004354.html
For this reason, we did not tested MaxFEM with UNV files generated with
GMSH.
By other hand, I only have experience working with SALOME in Linux. If you
need to build SALOME from source using Visual Studio, you could try the
free version of Visual Studio,
https://www.visualstudio.com/vs/visual-studio-express/
Best regards,
Francisco Pena
Last edit: Fran Pena 2018-04-03
A small correction: MaxFEM expect the groups to be stored in dataset 2467.
Last edit: Fran Pena 2018-04-03
Hello Francisca,
Thank you for your detailed reply. I will find a way to work it out with Salome!
Sincerely,
Devansh