Skip to content

Commit

Permalink
Merge branch 'develop' into refactor/dkachuma/fluid-component-combina…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
dkachuma authored Jul 6, 2024
2 parents 17bc38d + aabbe29 commit 8736c9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 8736c9d

Please sign in to comment.