diff --git a/src/docs/sphinx/advancedExamples/validationStudies/poromechanics/mandel/mandelFigure.py b/src/docs/sphinx/advancedExamples/validationStudies/poromechanics/mandel/mandelFigure.py index c031d6ab19a..b484b5bda99 100644 --- a/src/docs/sphinx/advancedExamples/validationStudies/poromechanics/mandel/mandelFigure.py +++ b/src/docs/sphinx/advancedExamples/validationStudies/poromechanics/mandel/mandelFigure.py @@ -90,7 +90,7 @@ def getHydromechanicalParametersFromXML(xmlFilePath): G = hydromechanicalParameters["shearModulus"] E = (9.0 * K * G) / (3.0 * K + G) nu = E / (2.0 * G) - 1.0 - Ks = float(param2.get("grainBulkModulus")) + Ks = float(param2.get("defaultGrainBulkModulus")) hydromechanicalParameters["biotCoefficient"] = 1.0 - K / Ks hydromechanicalParameters["porosity"] = float(param2.get("defaultReferencePorosity")) diff --git a/src/docs/sphinx/basicExamples/poromechanics/poromechanicsFigure.py b/src/docs/sphinx/basicExamples/poromechanics/poromechanicsFigure.py index b7eb23d2e91..a1936cfc4ed 100644 --- a/src/docs/sphinx/basicExamples/poromechanics/poromechanicsFigure.py +++ b/src/docs/sphinx/basicExamples/poromechanics/poromechanicsFigure.py @@ -60,7 +60,7 @@ def getHydromechanicalParametersFromXML(xmlFilePath): E = hydromechanicalParameters["youngModulus"] nu = hydromechanicalParameters["poissonRation"] K = E / 3.0 / (1.0 - 2.0 * nu) - Kg = float(param2.get("grainBulkModulus")) + Kg = float(param2.get("defaultGrainBulkModulus")) hydromechanicalParameters["biotCoefficient"] = 1.0 - K / Kg hydromechanicalParameters["porosity"] = float(param2.get("defaultReferencePorosity"))