Good day,
I am working on an linear structural analysis of a steel shaft. Here is the model from onshape with faces partitioned:
This project quickly turned into how to get Simscale to accept a .med file. I have read the following 6 forums and the documentation page:
- https://www.simscale.com/docs/simulation-setup/meshing/mesh-upload/
- MED mesh upload fails - #3 by egor_obvincev - CAD & Meshing - SimScale CAE Forum
- Unable to find Upload Mesh
- Error while importing mesh file
- Geometry size limitations - #3 by Ricardopg
- Mesh Upload Issue - #5 by jousefm
- .med file mistake upload failed
- Problems importing a MED mesh created in SALOME
I chose to mesh in Salome instead of SimScale because it can do extruded 3D meshes from a 2D face through a partitioned body (face cut up). The SimScale extruded mesher could not (at least I could not get it to). In hindsight, I probably should have spent more time trying that out. But a lot of people seem to struggle with getting .med files into SimScale, so I am hoping my struggles can help someone else. This was also supposed to be a bit of a test project to see if Salome was a viable external mesher to Simscale.
Here is my Salome mesh:
**Note, I am aware that it says Glue_2 under mesh 3. Even when I click NointernatFaces_1, it selects Glue_2. I think it because there were no internal faces, so it is the same.
I get this error (among others that I have since resolved):
What I have tried :
- I have used the Salome tool called “Remove extra edges”
- I have used the Salome tool called “Remove internal faces”
- I have put all the boundary condition faces I need into groups
- I have put all volumes into a single group
- i have tried also including the nodes associated with the elements.
- I get an error saying mixed units (weird one)
- None of my groups have names that contains spaces or numbers
- I have exported the .med in version 3.2 (and tried 3.3)
- I believe I have valid elements for SimScale. From what I have read, prisms are valid
- I have no elements that are in two different groups (an element can only be in one group)
- I have a singular mesh, not a compound mesh
- I have tried messing with these export options:
- I have reimported the .med file back in to Salome to make sure the groups exported properly. They are.
- I was able to export a .unv file and open it in other FEA software without any issues.
I am open to any other suggestions on what to try. I have been at this for a while, so I may be missing something basic or something I had forgotten about earlier on. Also, the upload function does not allow for file uploads other than images. Here is a google drive with the step file, .hdf file, and .med file. Note that I am posting this on my personal account; however, I am performing this project on a paid account.
Simscale+Salome – Google Drive
Thank you,
Adam





