CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Meshing & Mesh Conversion (
-   -   extrudeMesh index error (

craig0a February 17, 2014 21: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 with code available here (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

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!

A. Craig

All times are GMT -4. The time now is 21:05.