Acid leach simulation
2 inlets (solid black-mass feed + acid solution) -> pregnant leach solution, insoluble residue
Governing equations
The exact equations the solver works for a acid leach — the same math shown in the app's "Theory" panel, not a black box.
- \dot n_{solid}
- molar flow of the solid black-mass feed [mol/s]
- \eta_{leach}
- leach efficiency — fraction of the solid substrate that dissolves [0..1]
- \nu_{ion}
- moles of a dissolved ion produced per mole of solid feed (metal_stoichiometry)
- \dot n_{residue}
- molar flow of the insoluble solid residue [mol/s]
Parameters
metal_stoichiometry {ion: mol dissolved per mol solid feed}; optional leach_efficiency [0..1, default 0.9], residue_component [default 'leach_residue'], acid_component [lixiviant id in the acid feed, e.g. 'h2so4' -- enables the acid-consumption balance], acid_per_ion {ion: mol acid consumed per mol ion dissolved} or scalar acid_stoichiometry [applied to every ion]; when acid is short the leach is acid-limited (dissolution scales down). Optional shrinking-core kinetics: residence_time_s + tau_complete_s (+ kinetic_control 'reaction'|'diffusion') give a rate-limited conversion capping leach_efficiency. temperature [K, default = acid feed T], pressure [Pa, default = acid feed P]. Inlets: [solid black-mass feed, acid solution]. Outlets in order: pls (pregnant leach solution), residue (insoluble solid)