Maximum .stl geometry file size?

Submitted by berlinphoenix on Thu, 05/14/2020 - 17:21

I wonder is there any limitation to the .stl-file sizes used for a simulation in Liggghts? I have two stls with around 80 MB each and my simulation crashes when i try to load them..

EDIT: I attached a picture. It just crashes and does not give any hint on what the reason is.. So is there a limit to files sizes maybe?

AttachmentSize
Image icon error.jpg303.11 KB

Maryam | Sun, 05/24/2020 - 14:48

One can only know by using a smaller .stl file instead of your current files. If it doesn't crash with the new .stl file, it means the problem is with the large .stl files. If it does, it's probably an issue with your script.

Maryam

mschramm | Mon, 05/25/2020 - 04:04

Hello,
There shouldn't be a "max" file size but for each triangle, you are adding about 10 particles to your simulation (in terms of computational speed).
Did you run this in parallel? Could you run it on a single core. That may give us additional information.
For the best help, please provide a sample script and files needed to recreate your error.

berlinphoenix | Tue, 05/26/2020 - 17:54

Thanks guys for the answers! I figured out that the large file size probably ran into the limited RAM size of my system and crashed the simulation.
I now increased RAM and also improved mesh quality and it seems to run stable for now. Cheers