DEM Pack Submit
dem_pack_submitSubmits a background YADE simulation that pours and settles monodisperse spheres under gravity, then measures the random close-packing fraction and checks it against the RCP band.
Instructions
Pour N monodisperse spheres into a box and settle them under gravity with the REAL YADE discrete-element engine, then measure the random close-packing fraction φ of the settled bed — gated against granular_screen('packing') (RCP band 0.60–0.66, well below the crystalline 0.7405). YADE is GPL-3.0 and is run ONLY in a subprocess (the parent never imports it — same arm's-length isolation as the GPL Elmer/OpenFOAM binaries). Runs OFF the MCP channel via a background job, so a multi-second settle never blocks the worker.
box_m is the [Lx, Ly] floor footprint (m; default [0.06, 0.06]); the column
height is sized to hold n_spheres. friction_deg is the inter-particle
friction angle; young_pa the contact modulus; density the grain density.
Returns {job_id, status, cache_hit, oracle} (poll job_status / job_result);
the job result carries the oracle band PLUS the measured {packing_fraction,
packing_fraction_bulk, in_band, gated_on, gated_fraction, n_settled,
settled_height_m, mean_coordination, positions:[[x,y,z,r]]}. in_band judges
the wall-free bulk φ (the whole-bed φ is deflated by loose wall and surface
layers); it falls back to the whole-bed φ only when the bed is too small to
have a bulk region, and gated_on names which fraction was judged.
Absent YADE: {ok:false, reason, install, oracle}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dem_pack_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box_m | No | ||
| steps | No | ||
| density | No | ||
| radius_m | No | ||
| young_pa | No | ||
| n_spheres | No | ||
| workspace | No | Run this call in this named workspace | |
| friction_deg | No |