Skip to content

Commit

Permalink
fix pythons script for a tutorial example (#3284)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuang2601 authored and rrsettgast committed Sep 17, 2024
1 parent c085a85 commit d95d746
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def getHydromechanicalParametersFromXML(xmlFilePath):
G = E / 2.0 / (1.0 + nu)
hydromechanicalParameters["bulkModulus"] = K
hydromechanicalParameters["shearModulus"] = G
Ks = float(param2.get("grainBulkModulus"))
Ks = float(param2.get("defaultGrainBulkModulus"))

hydromechanicalParameters["biotCoefficient"] = 1.0 - K / Ks
hydromechanicalParameters["porosity"] = float(param2.get("defaultReferencePorosity"))
Expand Down

0 comments on commit d95d746

Please sign in to comment.