GiD problem type

Mesh generators, CAD programs, and other tools
Post Reply
mark smith
Posts: 215
Joined: 26 Aug 2009, 18:20
Location: Peterborough, England

GiD problem type

Post by mark smith »

Hi Elmer team,
I’ve been using gid as a pre-processor for Elmer for some time now and I am starting to run into problems when the mesh has prism elements.
Looking at the elmer solver manual, elmer supports linear and quadratic wedges (elmer terminology for a prism element I believe) numbers 706 and 715. (there is no drawing of node numbering in the manual ;-( )
I use the elmer problem type downloaded from "http://www.csc.fi/english/pages/elmer/interfaces" but in the elmer.bas file there is no reference to either pyramid or wedge elements.
Would a more upto date problem type be available which allows use of these element types?

In the Elmer grid manual it lists that GiD mesh format file can be converted using "elmergrid 13 2 filename.msh" I have tried this with the .msh file that gid produces in version 11.0.6 but this is in binary format and elmergrid fails with the following report.

elmergrid 13 2 filename.msh

Starting program Elmergrid
Elmergrid reading in-line arguments
Output will be saved to file filename.

Elmergrid loading data:
-----------------------
Reading mesh from GID file filename.msh.
Allocating for 0 knots and 0 0-node elements.
Initial material indexes are at interval 1000 to 0.
Allocation impossible in dmatrix: 1 0 0 -1

In what format should the gid file be in? so I could try and use elmergrid instead of the problem type?

Thanks in advance.
Best regards
Mark
jeroenr
Posts: 20
Joined: 16 Oct 2013, 21:41
Antispam: Yes

Re: GiD problem type

Post by jeroenr »

Same problem here.

Due to a multiple body problem with double surfaces (which unfortunately GMSH cannot handle without problems, either due to limitations of the "cut and merge" function or crashes during the 2D meshing) I ended up trying the evaluation version of GiD. I tried to follow tutorial 2 on http://www.csc.fi/english/pages/elmer/interfaces, but it failed to create a mesh which Elmer can read. When I try to convert the GiD mesh using elmergrid 13 2 elmer3dtut-001.msh:

Code: Select all

PS C:\fea\elmer\elmer3dtut 001> elmergrid 13 2 .\elmer3dtut-001.msh

Starting program Elmergrid
Elmergrid reading in-line arguments
Output will be saved to file .\elmer3dtut-001.

Elmergrid loading data:
-----------------------
Reading mesh from GID file .\elmer3dtut-001.msh.
Allocating for 0 knots and 0 0-node elements.
Initial material indexes are at interval 1000 to 0.
Allocating 0 boundary elements
Initial boundary indexes are at interval 1000 to 0.
The mesh was loaded from file .\elmer3dtut-001.msh.

Elmergrid creating and manipulating meshes:
-------------------------------------------

Elmergrid saving data with method 2:
-------------------------------------
Saving mesh in ElmerSolver format to directory .\elmer3dtut-001.
Saving 0 coordinates to mesh.nodes.
Saving 0 element topologies to mesh.elements.
Saving boundary elements to mesh.boundary.
Saving header info to mesh.header.

Thank you for using Elmergrid!
Send bug reports and feature wishes to elmeradm@csc.fi
The Elmer mesh files also seem to be empty:

Code: Select all

Directory: C:\fea\elmer\elmer3dtut 001\elmer3dtut-001

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-a---        11/03/2014   5:11 PM          0 mesh.boundary
-a---        11/03/2014   5:11 PM          0 mesh.elements
-a---        11/03/2014   5:11 PM         30 mesh.header
-a---        11/03/2014   5:11 PM          0 mesh.nodes
-a---        11/03/2014   5:32 PM         49 netgen.prof
Could someone point me in the direction of a working solution to model multiple body problems which has duplicate surfaces (due to the use of Autodesk Inventor)?
jeroenr
Posts: 20
Joined: 16 Oct 2013, 21:41
Antispam: Yes

Re: GiD problem type - SOLVED

Post by jeroenr »

Problem solved!

I totally missed that Salome has been published for Windows 64 bit since August 2013. This gave me the opportunity to use this software on my employee's notebook. I followed the steps on http://www.elmerfem.org/elmerwiki/index ... e_to_Elmer and it worked!
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: GiD problem type

Post by mzenker »

Hi,

does this mean Salome is stable under Windoze now? I have heard of stability problems including bluescreens under Windoze, so I did not try it out so far. Did you use it under Windoze XP or 7?

Thanks,

Matthias
mark smith
Posts: 215
Joined: 26 Aug 2009, 18:20
Location: Peterborough, England

Re: GiD problem type

Post by mark smith »

Hi The attached pdf may help resolve the problem of double surfaces.
Regards
Mark
Attachments
Removing multiple surfaces at a solid interface with GiD.pdf
Gid double surface removing tutorial
(62.79 KiB) Downloaded 608 times
jeroenr
Posts: 20
Joined: 16 Oct 2013, 21:41
Antispam: Yes

Re: GiD problem type

Post by jeroenr »

Matthias,

I've been using Salome 7.3.0 under Windows 7 on the job this week for about a few hours tops. No crashes or hangups so far.
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: GiD problem type

Post by mzenker »

Thanks for the info, I will try Salome the next time I have a problem with several volumes.

Matthias
mark smith
Posts: 215
Joined: 26 Aug 2009, 18:20
Location: Peterborough, England

Re: GiD problem type

Post by mark smith »

Hi Elmer team,
Where might the GiD/Elmer interface files now be found i.e. the Elmer problemtype for GiD they used to be found here http://www.csc.fi/english/pages/elmer/interfaces but the link appears to be broken.

Elmergrid has the option of reading in a GiD mesh file and writing out an Elmer one, what is the GiD format that elmergrid requires since it doesn't accept the gid binary mesh format or the ascii format that GiD produces when using the File>Export>GiD mesh ?

Regards
Mark
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: GiD problem type

Post by raback »

Hi Mark

They are now part of the code repository. See,
https://github.com/ElmerCSC/elmerfem/tr ... /Gid2Elmer

-Peter
Post Reply