Geocosm is helping to invent this nascent field, which uses a rigorous chemistry and physics based approach for simulating the properties and geologic evolution of sediments and rocks in 3D at the grain scale. In the examples below, created with our patented Cyberstone™ system, we simulate deposition, compaction, cementation, and pore-scale fluid flow.  (US Patent No. 10,330,658 and 10,725,012.)