How to import a geometry (centreline) as .msh and use beam elements for the simulation #4997
Unanswered
athishsm
asked this question in
BeamAdapter
Replies: 1 comment 4 replies
-
Any help with this issue? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I’m modelling nitinol wire springs using 1D beam elements and trying to replicate my Abaqus simulations in SOFA. I imported the spring’s centerline, meshed a .step file in GMSH, and brought the .msh into SOFA.
However, when I activate the visual model (either in the view tab or in the code), SOFA crashes. It works fine when I only activate the collision models without the visual model. The spring appears as just a series of points (white dots in the image (black background)), and only one point moves when interacted with. Ideally, I’d like to interact with the entire spring, but I’m not sure what I’m doing wrong.
Please let me know if there's any resource that tells the user how to import a line geometry (.stp or .iges or .msh or .obj) file into SOFA, mesh it using beam elements and finally interact with it.
Also, could you direct me to any relevant resources or provide insight into what might be causing the crash when visual model is turned on? I’ve attached the .SCN file for reference in case they help.
The spring (as volume) looks like this (attached below). If volume mesh was imported with low Young’s modulus, I could interact with it (SHIFT + LeftMouseButton). With Young’s modulus of metals, the FPS drops, and I need to rethink the time step size and solver typer.
.scn file:
Beta Was this translation helpful? Give feedback.
All reactions