OGR Data
A desktop program to estimate and fit the strength properties of soils and rock masses. You choose a failure criterion, give its parameters or fit them to test data, and the envelopes are redrawn as soon as a value changes. It is at an early stage: it has no validation cases of its own yet, and no installer.
Material properties for the suite
OGR Data is the suite's program for obtaining and fitting the properties of the soils and rock masses that OGR Slip2D and OGR FEM2D use. It is a separate desktop program: it does not depend on OGR-Core, and it keeps its own project files. This page describes the code published on GitHub at commit 328beb8.
What it does today
Only what is implemented in the published code. Everything else is in the roadmap below.
Generalised Hoek–Brown
From σci, GSI, mi and D, the program computes mb, s and a, the tensile, uniaxial and global strength of the rock mass and the equivalent Mohr–Coulomb c and φ (Hoek, Carranza-Torres and Corkum 2002), and the rock-mass modulus by three methods, among them Hoek and Diederichs (2006). The upper limit σ3max can be set for a tunnel or a slope from its depth or height (Hoek, Carranza-Torres and Corkum 2002, §6).
Ten failure criteria
Mohr–Coulomb, Hoek–Brown, generalised Hoek–Brown, Drucker–Prager, Cam-Clay, modified Cam-Clay, softening–hardening, NorSand, power curve and Barton–Bandis, each with its parameters and its envelope in principal stresses or in shear–normal stress. NorSand has parameters only, without an envelope yet.
Typical values from published tables
Selection dialogs for field estimates of the uniaxial compressive strength and for mi (Hoek, Practical Rock Engineering) and for GSI (Hoek and Marinos 2000). The soil classifier shows the typical properties of each USCS class (USDA NRCS, National Engineering Handbook, Part 631). Each table carries its source.
USCS classification
Soil classification by ASTM D2487 with the laboratory criteria of the USDA NRCS, on a plasticity chart with the A-line and the U-line.
Fitting to test data
Mohr–Coulomb from triaxial or direct shear tests, intact Hoek–Brown and rock-mass generalised Hoek–Brown from triaxial tests, and Barton–Bandis and the power curve from direct shear tests, by linear regression, Levenberg–Marquardt or simplex.
Reading the envelopes
A stress sampler and an instantaneous Mohr–Coulomb sampler, which give the tangent c and φ at a point of the envelope; overlays of the best-fit Mohr–Coulomb line and of Mogi's line, σ1/σ3 = 3.4.
Projects and clipboard
Projects are saved as .ogrdata files, in JSON. A material can be copied to the clipboard as text, in an open format meant for the other programs of the suite; OGR Slip2D 0.1.481 does not read it yet.
OGR Data has no validation cases of its own: none of its results has yet been checked against a closed-form solution or a published case. Some of its envelopes and tools (the power curve, the softening–hardening surface, the samplers and the fitting residual) are still documented in the code by reference to another program's user manual rather than to the original scientific source.
What comes next
In the order of the project's backlog, without dates.
Working with the results
Units and settings across the interface, plot options and export, and projects with several materials.
States and calibration
Failure states and stress paths, calibration over several states, a materials database built from published sources, and more selection dialogs.
Reports, tests and agents
Self-contained reports, simulation of laboratory tests, and an operations API with an MCP server, as in OGR Slip2D.
Data sheet
Taken from the source code at commit 328beb8. If you find a difference between this page and the program, the program is right; let us know and we will correct the page.
- Criteria
- 10, from Mohr–Coulomb to NorSand
- Rock mass
- Generalised Hoek–Brown, equivalent c and φ, modulus, σ3max for tunnels and slopes
- Fits
- Triaxial and direct shear data; linear, Levenberg–Marquardt, simplex
- Tables
- Uniaxial strength, mi, GSI, USCS soil properties
- Classification
- USCS (ASTM D2487)
- Files
- .ogrdata projects (JSON), clipboard text
- Interface
- Desktop (PySide6, Matplotlib), light and dark themes
- Validation
- No cases of its own yet
- Requirements
- Python 3.11 or newer
- Licence
- AGPL-3.0-or-later · no warranty