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.2.0.tar.gz (23.1 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.2.0-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for milldem-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5dae6ede264a560869405024631fc91e56558aad527b927e362c35c18595998d
MD5 935af97626d4da6c4aa50dea9c26fe17
BLAKE2b-256 ea887cb5303b83baf9df71f4e1a5717d21b27403d54ef01ecd6d18a8eb539c17

See more details on using hashes here.

Provenance

The following attestation bundles were made for milldem-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: milldem-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc54e9e5690ed565778d1caf997f8cdfaf5deb397c9cc2835d718f9982169e4e
MD5 c242b12c020c03b5a9640083921265a8
BLAKE2b-256 6934a47949819ce708696eeb7a61f6d42dd587e83db1cecda72aff44455c80f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for milldem-0.2.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