Skip to content

Add rotating drum angle of repose benchmark#59

Open
SueHeir wants to merge 2 commits intomainfrom
researcher/bench-rotating-drum
Open

Add rotating drum angle of repose benchmark#59
SueHeir wants to merge 2 commits intomainfrom
researcher/bench-rotating-drum

Conversation

@SueHeir
Copy link
Copy Markdown
Owner

@SueHeir SueHeir commented Mar 17, 2026

Summary

  • Adds bench_rotating_drum example: 2D rotating drum simulation measuring dynamic angle of repose
  • Validates angle of repose trend with friction coefficient against published DEM literature
  • Includes main.rs, config.toml, validate.py (PASS/FAIL), plot.py (matplotlib), README.md

Test plan

  • cargo test --no-default-features
  • cargo clippy --no-default-features -- -D warnings
  • cargo run --release --example bench_rotating_drum -- examples/bench_rotating_drum/config.toml
  • python3 examples/bench_rotating_drum/validate.py
  • python3 examples/bench_rotating_drum/plot.py

🤖 Generated with Claude Code

SueHeir and others added 2 commits March 16, 2026 19:18
The generated configs only defined one material ("particles") while the
simulation references a second material ("wall") for drum wall particles.
This caused an index-out-of-bounds crash in the contact force computation.

Also added the insertion region, matched neighbor/thermo settings to the
default config, and fixed an unused variable warning in main.rs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

1 participant