Skip to main content

CAOS_MillDEM

A cross-platform 2D soft-sphere discrete element method (DEM) engine for tumbling-mill charge motion and power. No C++ toolchain, no WSL: pure NumPy with an optional Numba JIT and an optional Torch-CUDA path.

It simulates a rotating mill disc slice (the Govender et al. 2015 reduced setup, width = one particle diameter) with a soft-sphere contact law (linear Hookean or Hertzian, Coulomb friction, restitution damping) and reports the DEM charge shape (toe/shoulder), the motion regime (cascading / cataracting / centrifuging), and the net power via the van Nierop (2001) torque route P = 2*pi*T*N.

from milldem import simulate, MillConfig
m = simulate(MillConfig(diameter_m=5.0, phi_c=0.75, fill=0.30), sim_time=2.0)
print(m.net_power_kw, m.regime, m.toe_deg, m.shoulder_deg)

CLI: milldem run --D 5 --phi 0.75 --J 0.30 --time 2.0 --json out.json

See docs/VALIDATION.md for the honest validated-scope statement, and docs/ for the contact-model equations, the power routes, and the validation against the classical Hogg-Fuerstenau and Morrell power models. MIT licensed.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

milldem-0.3.0.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

milldem-0.3.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file milldem-0.3.0.tar.gz.

File metadata

  • Download URL: milldem-0.3.0.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for milldem-0.3.0.tar.gz
Algorithm Hash digest
SHA256 34a51a13cf42af3f5698ce5e40d969ed5d6300011e2299f8a3bca5e75a395234
MD5 4696b802ed2a2975e980aa66e405c518
BLAKE2b-256 6fa1ff7f3cffea6878d64a267c2f72fc78109e49c5687e1a8a395bf0766ec61f

See more details on using hashes here.

Provenance

The following attestation bundles were made for milldem-0.3.0.tar.gz:

Publisher: publish.yml on fsantibanezleal/CAOS_MillDEM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file milldem-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: milldem-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for milldem-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ab2f9f2cd821a645079355d6893e729cf49cc9550fae6117ba9b22e973d425
MD5 563f1c7695036f5db980beaf05c9a3f2
BLAKE2b-256 2c0919705a8147e2ca2bc9661b0abcb4d8838b0290672430367b9ed2d0cdf3e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for milldem-0.3.0-py3-none-any.whl:

Publisher: publish.yml on fsantibanezleal/CAOS_MillDEM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page