XOA exporter (for Finite Elements Analysis) #1842
Closed
adrianschneider94
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
There is a plugin available to export a tagged CadQuery assembly to Gmsh. It exports to .msh. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For FEM analysis, meshes of the geometries that are to be analyzed, are needed.
Options to create them, are gmsh and Salome's Smesh. Both support Salome's XAO format (https://gitlab.onelab.info/gmsh/gmsh/-/issues/729) as input - which is just an OpenCascade BREP file, combined with an xml describing faces/volumes and their properties.
Materials and relevant surfaces for boundary conditions etc. could be assigned/tagged on the cadquery side, so on the FEM side, no postprocessing of the geometry is required.
Probably it's not too hard to implement an exporter from a cadquery assembly - it's more or less just the xml file that needs to be written.
Adding an XAO export capability would enable a workflow where one could build the geometry easily with cadquery, pass the result to one of the meshing tools and then run simulations with tools like Salome MECA or fenicsx.
Beta Was this translation helpful? Give feedback.
All reactions