GeneralizedHoekBrown#

class GHBVariationType(*values)#

Bases: Enum

CONSTANT = 1#
F_DEPTH_FROM_TOP_OF_LAYER = 2#
F_DEPTH_FROM_HORIZONTAL_DATUM = 3#
F_DISTANCE_FROM_SLOPE = 4#
class GHBDVariationType(*values)#

Bases: Enum

CONSTANT = 1#
F_DEPTH_FROM_TOP_OF_LAYER = 2#
F_DEPTH_FROM_HORIZONTAL_DATUM = 3#
F_DISTANCE_FROM_SLOPE = 4#
DAMAGE_REGION = 5#
class DInterpolationMethod(*values)#

Bases: Enum

LINEAR = 1#
PIECEWISE = 2#
class GHBDefinitionMethod(*values)#

Bases: Enum

GSI_MI_D = 1#
MB_S_A = 2#
class GeneralizedHoekBrown(model_id: str, material_id: str, client: Client)#

Bases: object

Examples: Code Snippet: Generalized Hoek-Brown Example

Generalized Hoek-Brown strength properties including GSI, mi, D, variation-with-depth options, polyline D, piecewise function, and tensile strength.

getDefinitionMethod() → bool#
setDefinitionMethod(definition_method: GHBDefinitionMethod)#
getGsi() → float#
setGsi(gsi: float)#
getMi() → float#
setMi(mi: float)#
getD() → float#
setD(d: float)#
getVariesWithDepth() → bool#
setVariesWithDepth(varies_with_depth: bool)#
getMb() → float#
setMb(mb: float)#
getS() → float#
setS(s: float)#
getA() → float#
setA(a: float)#
getUcs() → float#

Uniaxial compressive strength.

setUcs(ucs: float)#
getGsiType() → GHBVariationType#
setGsiType(gsi_type: GHBVariationType)#
getGsiChange() → float#
setGsiChange(gsi_change: float)#
getGsiDatum() → float#
setGsiDatum(gsi_datum: float)#
getGsiUseCutoff() → bool#
setGsiUseCutoff(gsi_use_cutoff: bool)#
getGsiCutoff() → float#
setGsiCutoff(gsi_cutoff: float)#
getMiType() → GHBVariationType#
setMiType(mi_type: GHBVariationType)#
getMiChange() → float#
setMiChange(mi_change: float)#
getMiDatum() → float#
setMiDatum(mi_datum: float)#
getMiUseCutoff() → bool#
setMiUseCutoff(mi_use_cutoff: bool)#
getMiCutoff() → float#
setMiCutoff(mi_cutoff: float)#
getDType() → GHBDVariationType#
setDType(d_type: GHBDVariationType)#
getDChange() → float#
setDChange(d_change: float)#
getDDatum() → float#
setDDatum(d_datum: float)#
getDUseCutoff() → bool#
setDUseCutoff(d_use_cutoff: bool)#
getDCutoff() → float#
setDCutoff(d_cutoff: float)#
getDPolyline() → int#
setDPolyline(d_polyline: int)#
getDPolylineGuid() → str#
getDInterpolationMethod() → DInterpolationMethod#
setDInterpolationMethod(d_interpolation_method: DInterpolationMethod)#
getDPolylineValue() → float#
setDPolylineValue(d_polyline_value: float)#
getDPiecewiseFunction() → List[Tuple[float, float]]#

Returns list of (x_value, y_value) pairs.

setDPiecewiseFunction(points: List[Tuple[float, float]])#
getUseTensileStrength() → bool#
setUseTensileStrength(use_tensile_strength: bool)#
getTensileStrength() → float#
setTensileStrength(tensile_strength: float)#