cannot open stl file

Submitted by Tao on Sat, 05/14/2011 - 19:16

Hi Liggghts users,
I'm new to LIGGGHTS. Recently, I tried to import CAD mesh file (stl file) into my model, but resulted in errors.
It always says:
Importing STL file 'simple_chute.stl'
ERROR on proc 0: Cannot open stl file simple_chute.stl

Actually, I put both LIGGGHTS in file and stl file in the same folder. But the same error occurs every time I run the simulation. I do not know what's going on. Can anyone help me about this?
Many thanks!

Yours,
Tao

ckloss's picture

ckloss | Sun, 05/15/2011 - 14:45

Hi Tao,

are you running LIGGGHTS out of the directory where the mesh is located?
Try to use an absolute path in the fix mesh/gran command, that should help

Christoph

mashli | Fri, 07/15/2016 - 09:11

I meet the same problem , and I do not know how to fix it. but I try to decrease the number of processors, i worked.
So, maybe it is not a good method, but it work.
if you have fixed the problem by a better method, please tell me, Thank you so much.