STEP file 2D question

General discussion about Elmer
Post Reply
fbartra
Posts: 7
Joined: 11 Jan 2022, 03:39
Antispam: Yes

STEP file 2D question

Post by fbartra »

How is the "horse shoe" step 2D file example created?
are there any requirements about how the 2D step file is created?
i.e. I created a simple "square" sketch in solidworks (not a solid) and converted to step.
But Elmer can not load it

Please advise

Thank you

Fausto Bartra
kevinarden
Posts: 2312
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: STEP file 2D question

Post by kevinarden »

It is supplied with the installation

/usr/share/ElmerGUI/samples

or whereever ElmerGUI is installed

or on github

https://github.com/ElmerCSC/elmerfem/tr ... UI/samples
fbartra
Posts: 7
Joined: 11 Jan 2022, 03:39
Antispam: Yes

Re: STEP file 2D question

Post by fbartra »

Thank your reply
But what i am looking is to make my own step files
I just need to know for 2D how do you design them? just a surface with "zero" thickness?

I tried the above but Elmer does not seem to recognize it.

Thank you again
kevinarden
Posts: 2312
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: STEP file 2D question

Post by kevinarden »

Yes it would be a planer surface, what tool are you using to create the surface?
fbartra
Posts: 7
Joined: 11 Jan 2022, 03:39
Antispam: Yes

Re: STEP file 2D question

Post by fbartra »

I use solid works
so I am only define it as a "sketch"
may be this is the wrong way to implement it.

what tool would you suggest to try?
kevinarden
Posts: 2312
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: STEP file 2D question

Post by kevinarden »

Sorry, it appears ElmerGUI will only open 3D model step file. The file in the horseshoe tutorial is a mesh file, it was created and meshed in gmsh. gmsh saved the file horsehoe.msh.

For 2D geometry ElmerGUI says to use another mesh generator, gmsh is a popular one. You can create geometry or import step files in gmsh, generate the mesh in gmsh, use the save mesh option.

you will get a .msh file that ElmerGUI will open.
Post Reply