Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wall collisions not detected for large imported geometry #27

Open
darylbond opened this issue Feb 20, 2025 · 1 comment
Open

Wall collisions not detected for large imported geometry #27

darylbond opened this issue Feb 20, 2025 · 1 comment

Comments

@darylbond
Copy link

I am attempting to run a DEM of a large imported mesh and am having some difficulty with getting the solver to detect collisions between the particles and the mesh. I am using a modified version of the SimpleChute example and an STL file that has dimensions of approximately 5m on a side but is made up of mostly a thin shell (dump body on a truck).

The first thing I noticed is that the algorithm for determining the grid size goes to 1 cell for this particular STL as it finds a very large radius (>100) and this drives the cell counts to 1 for this domain. Manually setting the grid size to a small number has some minimal success as it detects a very small fraction of the wall collisions but decreasing the grid size introduces issues with memory consumption. I haven't dug into the code but I am assuming that it uses some form of sdf on a grid to detect collisions and that getting a fine enough grid to detect the shape essentially just runs out of memory due to the dense grid?

I am wondering if it is possible to select an alternative form of collision detection for the walls?

I have included an example STL as a text file below.

underbody.txt

@Yihao-Shi
Copy link
Owner

You might consider generating a higher-quality mesh file for better accuracy. Alternatively, you can set WallType to Facet as another viable option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants