Body index out of bounds with GiD file

The graphical user interface of Elmer
Post Reply
Koske
Posts: 39
Joined: 15 Nov 2009, 17:02

Body index out of bounds with GiD file

Post by Koske »

hi,

when i load my mesh files into ElmerGui and than press Generate Sif i got this crash:

SifGenerator: Body index out of bounds
Process error
Error: Crashed
Process state changed
State: NotRunning
Finished
Exit code: -1073741819
Status: CrashExit

this happens only when i load 3D files from GiD and not with my 2D files.
For exporting files from GiD to Elmer i use your turorial and my Elmer version is svn 4214.
is my elmer version to old?
ill attach my test file, so you can see where the problem came from.

martin
Attachments
test.rar
(136.75 KiB) Downloaded 366 times
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Body index out of bounds with GiD file

Post by raback »

Your mesh seems good to me. Only body index 1 is present and running a heat equation on the mesh results to no problems.

-Peter
Koske
Posts: 39
Joined: 15 Nov 2009, 17:02

Re: Body index out of bounds with GiD file

Post by Koske »

hi,

now im runnig version -> Elmer-svn4304-2010-01-14 and i got the same crash!
and yes the mesh seems good, but the crash comes everytime i press generate sif.

are you running a self compiled version and is this the solution for my problem?

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

Re: Body index out of bounds with GiD file

Post by raback »

Well, maybe you haven't attached proper properties to the mesh. Actually you get the same error report for any mesh if you just first load it in and then press Sif / Generate.

-Peter
Koske
Posts: 39
Joined: 15 Nov 2009, 17:02

Re: Body index out of bounds with GiD file

Post by Koske »

hi,

load->press generate sif->crash
yes every mesh generates a crash.

i dont know really what you mean with proper properties!
i tested:
- different sizes in cartesian coords
- meshes with 2900-130000 nodes
- simple and not so simple meshes
- 6 boundarys with index 1 and 6 boundarys with index 1-6

with 2D i got the same crash, but when i make all my settings in the gui and press generate it works!?

so i tested again with: load 3D mesh -> making settings -> generate sif (works) -> save projekt (crash).
but the size off the mesh and the sif is bigger than 1mb, because of that i cant send it to you.

so i made again the same test with a smaller mesh: load 3D mesh -> making settings -> press generate sif (crash)

ill send you my last test with the sif file, maybe you find the reason for crashing.

thx martin
Attachments
test3.rar
(367.3 KiB) Downloaded 331 times
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Body index out of bounds with GiD file

Post by raback »

Hi

I meant that you attach some active solvers to the bodies etc. Are you sure that the .sif file you sent was produced by the problematic run. If the program is terminated when the sif is being created it is difficult to save it as it requires the pressing of another menu button. Unfortunately it is not possible to succesfully load a new mesh to an existing project, it that's what you're trying to do.

-Peter
Koske
Posts: 39
Joined: 15 Nov 2009, 17:02

Re: Body index out of bounds with GiD file

Post by Koske »

hi,

- i attach 2 active solvers (heat and navier-stokes) to the bodie, as you can see in the sif file.
- yes the sif file was produced at the problematic run. after it was produced i pressed -> save project -> crash
- and no i dont put a new mesh into an existing project

thx for help
martin
Koske
Posts: 39
Joined: 15 Nov 2009, 17:02

Re: Body index out of bounds with GiD file

Post by Koske »

hi,

i changed some settings and now it works!

i changed:
- Model -> Setup -> Steady state max. iter from 20 to 2
- Model -> Equation -> Heatequation -> Edit Solver setting -> Max. itteration from 20 to 2
- Model -> Equation -> Navier-Stokes -> Edit Solver setting -> Max. itteration from 20 to 2
- Model -> Material -> Navier-Stokes -> Compressibility Model -> from none to Perfect Gas

I dont`t know really if this was the problem but now it works.

thx for helping
Post Reply