Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
Jun 11, 2020, 9:01 a.m. EDT
Hello Franco,
The COMSOLMultiphysics Mesh Import and Export Guide discusses the various formats available to you.
Best regards,
Jeff
-------------------
Jeff Hiller
Hello Franco,
The [COMSOLMultiphysics Mesh Import and Export Guide](https://www.comsol.com/model/comsol-multiphysics-mesh-import-and-export-guide-72351) discusses the various formats available to you.
Best regards,
Jeff
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
Jun 11, 2020, 10:05 a.m. EDT
Hi Jeff,
thanks for the answer. I found the COMSOL_MeshImportExportGuide.pdf very helpful! Thank you!
I just have to be sure not to write the wrong format... In the PDF I see that
When importing volumetric mesh data, COMSOL Multiphysics can retain the original mesh, such as a tetrahedral mesh, and use the mesh data in any type of physics analysis, regardless of the intent of the original imported mesh.
The "can" is a little scary to me, as I do really need to make analyses on different meshes retaining the very same underlying topology.
So if I write a mphtxt
file I will always retain in Comsol all vertices and cell indices, and connectivity?
I am sorry to ask such a pedantic question, but without a complete bijection between meshes the solutions won't make any sense...
Thank you very much!
Franco
Hi Jeff,
thanks for the answer. I found the COMSOL_MeshImportExportGuide.pdf very helpful! Thank you!
I just have to be sure not to write the wrong format... In the PDF I see that
> When importing volumetric mesh data, COMSOL Multiphysics can retain the original mesh, such as a tetrahedral mesh, and use the mesh data in any type of physics analysis, regardless of the intent of the original imported mesh.
>
The "can" is a little scary to me, as I do really need to make analyses on different meshes retaining the very same underlying topology.
So if I write a `mphtxt` file I will always retain in Comsol all vertices and cell indices, and connectivity?
I am sorry to ask such a pedantic question, but without a complete bijection between meshes the solutions won't make any sense...
Thank you very much!
Franco
Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
Jun 11, 2020, 10:31 a.m. EDT
Updated:
5 years ago
Jun 11, 2020, 10:41 a.m. EDT
Hi Franco,
If you import the mesh and then don't convert that mesh into a geometry that you then remesh, then yes, COMSOL will use the mesh you imported. I am not an expert on the topic so I can't guarantee you that the nodes and elements don't get renumbered.
BTW, you don't have to take my word for it: after a computation, you can export the mesh and nodal post-processing data out of COMSOL and double-check that it matches what you imported.
Best regards,
Jeff
-------------------
Jeff Hiller
Hi Franco,
If you import the mesh and then don't convert that mesh into a geometry that you then remesh, then yes, COMSOL will use the mesh you imported. I am not an expert on the topic so I can't guarantee you that the nodes and elements don't get renumbered.
BTW, you don't have to take my word for it: after a computation, you can export the mesh and nodal post-processing data out of COMSOL and double-check that it matches what you imported.
Best regards,
Jeff