Skip to content

Commit

Permalink
Update robertson_cpt_interpretation.py
Browse files Browse the repository at this point in the history
adjusted calculation of PWP, the abs made the effective stress equal to the total stress
  • Loading branch information
Nielszee92 authored Aug 20, 2024
1 parent 831a177 commit adee926
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def stress_calc(self):
z_aux = np.min(
[self.data.pwp, abs(self.data.depth_to_reference[0]) + self.data.depth[0]]
)
pwp = (z_aux - abs(self.data.depth_to_reference)) * self.data.g
pwp = (z_aux - self.data.depth_to_reference) * self.data.g
# no suction is allowed
pwp[pwp <= 0] = 0
# compute effective stress
Expand Down

0 comments on commit adee926

Please sign in to comment.