You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The variable dilation_angle is converted to degrees. However, function m.tan() requires radians. Also, note that the default values for friction_angle and dilation_angle (24.9 and 5) seem to be in degrees. If so, friction_angle should be converted to radians before being used in line 123:
In file stress.py, found in pydfnworks/pydfnworks/dfnGen/generation, there is the
stress_based_apertures
function. In line 137:dilation = min(dilation_tmp, critical_shear_displacement) * m.tan(m.degrees(dilation_angle))
The variable
dilation_angle
is converted to degrees. However, functionm.tan()
requires radians. Also, note that the default values forfriction_angle
anddilation_angle
(24.9 and 5) seem to be in degrees. If so,friction_angle
should be converted to radians before being used in line 123:shear_stress_critical = -sigma_mag * m.tan(friction_angle)
The text was updated successfully, but these errors were encountered: