Reinforcement
Reinforcement can be assessed through the Reinforcement class in PyGeoStudio. To select a reinforcement by its index for example:
#geofile is a GeoStudioFile instance
geofile.showReinforcements()
reinf = geofile.getReinforcementsByID(1)
This will return an instance of the Reinforcement class which handle all the reinforcement properties.
Properties can be assessed with the [] operator and with the name of the property, for example:
f = reinf["PulloutResistance"] #store the pullout resistance in a variable
reinf["PulloutResistance"] = 350 #change pullout resistance in-place
List of available properties:
- class PyGeoStudio.Reinforcement(prop=None)
- Parameters:
Name (str) – Name of the reinforcement in the GeoStudio study
Type (str) – Reinforcement type (Anchors, Pile, Geosynthetic, Nail or UserDefined)
ID (float) – index of the reinforcement in the GeoStudio study
Color (PyGeoStudio.Color object) – RGB color (0 to 255) of the material in GeoStudio study.
ShearForce (float) –
ShearReductionFactor (float) –
Spacing (float) –
BondLength (float) –
BondDiameter (float) –
PulloutReductionFactor (float) –
ReinforcementForceReductionFactor (float) –
TensileCapacity (float) –
PulloutResistance (float) –
ForceDistribution (float) –
FofSDependent (bool) –
CalculatedPulloutResistance (bool) –
SurfaceAreaFactor (float) –
ReinfForceVsDistanceFnNum (int) – User defined function of the reinforcements
ForceOrientation (float) –