Skip to content

Note

Click here to download the full example code

Hostun Sand (Drained)

Drained triaxial tests on Hostun sand 1.

import pandas as pd

from micromechanical.cli.plot import PlotCLI, PlotConfig

config: PlotConfig = PlotCLI.loadConfig("../../calibrations/micromechanical-plots.yaml")

plot_name = "Hostun-CH-OSIMSAND-two-column"
plot_config = config.plots[plot_name]

Parameters

pd.DataFrame(
    {key: value for key, value in plot_config.calibration.read(config.root).parameters.items()}, index=["Hostun"]
)
Ad Lambda eref kn0 kpr krr nd ne np phi xi
Hostun 0.725535 0.054743 0.795377 30.193762 0.114649 0.652199 2.382309 1.06076 1.591597 31.880993 1.462802

Figures

plot_config.plot(plot_name, save=False, grids=config.grids, overwrite=False)

(a), (b)

Out:

Running CH-OSIMSAND model for experiment Hostun-Loose-100 ...
Finished in 2.156 seconds.
Running CH-OSIMSAND model for experiment Hostun-Loose-300 ...
Finished in 0.885 seconds.
Running CH-OSIMSAND model for experiment Hostun-Loose-800 ...
Finished in 0.933 seconds.
Running CH-OSIMSAND model for experiment Hostun-Dense-100 ...
Finished in 3.946 seconds.
Running CH-OSIMSAND model for experiment Hostun-Dense-300 ...
Finished in 3.150 seconds.
Running CH-OSIMSAND model for experiment Hostun-Dense-800 ...
Finished in 2.229 seconds.

{'macroscopic': <Figure size 1000x420 with 2 Axes>}

Total running time of the script: ( 0 minutes 28.465 seconds)

Download Python source code: plot_hostun_osimsand.py

Download Jupyter notebook: plot_hostun_osimsand.ipynb

Gallery generated by mkdocs-gallery


  1. Biarez, J., Hicher, P.Y., 2002. me ́canismes de d ́eformation des sols. In: Hicher, P.Y., Shao, J.F. (Eds.), Elastoplasticite ́ des sols et des roches, mod`eles de comportement des sols et des roches 1, Hermes-Lavoisier, pp. 47–89.