CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] extrudeMesh index error (https://www.cfd-online.com/Forums/openfoam-meshing/129990-extrudemesh-index-error.html)

craig0a February 17, 2014 20:38

extrudeMesh index error
 
Hello everyone,

I have been following the excellent tutorial for going from points->stl->snappyHex->extrudeMesh for a 2D geometry as given here https://www.dropbox.com/s/jibjooemkg8makz/memory.pdf with code available here https://www.dropbox.com/s/tihb4d943e23xdu/gearMain.zip (I also just completed trying the wingmotion tutorial with identical results.)

So far, I have just been running the unmodified code. I have followed the instructions to the letter, with the one exception that I did not do parallel computing. Unfortunately, there is something wrong: after running snappyHexMesh and flattenMesh but attempting to run extrudeMesh comes back with the error

--> FOAM FATAL ERROR:
index -1 out of range 0 ... 0

From function UList<T>::checkIndex(const label)
in file /share/apps/me469/openfoam/2.2.2/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/UListI.H at line 109.

FOAM aborting

To me, this is looking like something to do newer OpenFoam versions being backwards incompatible, but I am hoping that is not the case. I haven't been able to find anything about this error on the threads, but I apologize if I missed the answer somewhere.

If anyone has suggestions as to what might be causing this error or how I can track it down more thoroughly, I would be very grateful.

Thank you!

Best,
A. Craig


All times are GMT -4. The time now is 20:55.