geolib.models.dfoundations.internal_soil

Classes

MaxConeResistType(value[, names, module, ...])

Soil(*args, name[, soilcolor, soilsoiltype, ...])

SoilTypeNl(value[, names, module, qualname, ...])

class geolib.models.dfoundations.internal_soil.MaxConeResistType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
MANUAL = 1
STANDARD = 0
class geolib.models.dfoundations.internal_soil.Soil(*args, name: Annotated[str, StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=1, max_length=25, pattern=None)], soilcolor: int = 10871211, soilsoiltype: SoilTypeNl = SoilTypeNl.SAND, soilgamdry: Annotated[float, Ge(ge=0.0), Le(le=100)] = 20.0, soilgamwet: Annotated[float, Ge(ge=0.0), Le(le=100)] = 20.0, soilinitialvoidratio: Annotated[float, Ge(ge=0.0), Le(le=20.0)] = 0.001001, soildiameterd50: Annotated[float, Ge(ge=0.0), Le(le=1000.0)] = 0.2, soilminvoidratio: Annotated[float, Ge(ge=0.0), Le(le=1.0)] = 0.4, soilmaxvoidratio: Annotated[float, Ge(ge=0.0), Le(le=1.0)] = 0.8, soilcohesion: Annotated[float, Ge(ge=0.0), Le(le=1000.0)] = 30.0, soilphi: Annotated[float, Ge(ge=0.0), Le(le=89.0)], soilcu: Annotated[float, Ge(ge=0.0), Le(le=1000.0)] = 0.0, soilmaxconeresisttype: MaxConeResistType = MaxConeResistType.STANDARD, soilmaxconeresist: Annotated[float, Ge(ge=0.0), Le(le=1000000.0)] = 0.0, soilusetension: Bool = Bool.TRUE, soilca: Annotated[float, Ge(ge=0.0), Le(le=10.0)] = 0.004, soilccindex: Annotated[float, Ge(ge=0.0), Le(le=20.0)] = 0.126)
classmethod default_soils(model='BEARING_PILES')
Parameters:

model (str)

Return type:

List[Soil]

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'validate_assignment': True, 'validate_default': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_fields: ClassVar[dict[str, FieldInfo]] = {'name': FieldInfo(annotation=str, required=True, metadata=[StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=1, max_length=25, pattern=None)]), 'soilca': FieldInfo(annotation=float, required=False, default=0.004, metadata=[Ge(ge=0.0), Le(le=10.0)]), 'soilccindex': FieldInfo(annotation=float, required=False, default=0.126, metadata=[Ge(ge=0.0), Le(le=20.0)]), 'soilcohesion': FieldInfo(annotation=float, required=False, default=30.0, metadata=[Ge(ge=0.0), Le(le=1000.0)]), 'soilcolor': FieldInfo(annotation=int, required=False, default=10871211), 'soilcu': FieldInfo(annotation=float, required=False, default=0.0, metadata=[Ge(ge=0.0), Le(le=1000.0)]), 'soildiameterd50': FieldInfo(annotation=float, required=False, default=0.2, metadata=[Ge(ge=0.0), Le(le=1000.0)]), 'soilgamdry': FieldInfo(annotation=float, required=False, default=20.0, metadata=[Ge(ge=0.0), Le(le=100)]), 'soilgamwet': FieldInfo(annotation=float, required=False, default=20.0, metadata=[Ge(ge=0.0), Le(le=100)]), 'soilinitialvoidratio': FieldInfo(annotation=float, required=False, default=0.001001, metadata=[Ge(ge=0.0), Le(le=20.0)]), 'soilmaxconeresist': FieldInfo(annotation=float, required=False, default=0.0, metadata=[Ge(ge=0.0), Le(le=1000000.0)]), 'soilmaxconeresisttype': FieldInfo(annotation=MaxConeResistType, required=False, default=<MaxConeResistType.STANDARD: 0>), 'soilmaxvoidratio': FieldInfo(annotation=float, required=False, default=0.8, metadata=[Ge(ge=0.0), Le(le=1.0)]), 'soilminvoidratio': FieldInfo(annotation=float, required=False, default=0.4, metadata=[Ge(ge=0.0), Le(le=1.0)]), 'soilphi': FieldInfo(annotation=float, required=True, metadata=[Ge(ge=0.0), Le(le=89.0)]), 'soilsoiltype': FieldInfo(annotation=SoilTypeNl, required=False, default=<SoilTypeNl.SAND: 1>), 'soilusetension': FieldInfo(annotation=Bool, required=False, default=<Bool.TRUE: 1>)}

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].

This replaces Model.__fields__ from Pydantic V1.

name: Annotated[str]
soilca: Annotated[float]
soilccindex: Annotated[float]
soilcohesion: Annotated[float]
soilcolor: int
soilcu: Annotated[float]
soildiameterd50: Annotated[float]
soilgamdry: Annotated[float]
soilgamwet: Annotated[float]
soilinitialvoidratio: Annotated[float]
soilmaxconeresist: Annotated[float]
soilmaxconeresisttype: MaxConeResistType
soilmaxvoidratio: Annotated[float]
soilminvoidratio: Annotated[float]
soilphi: Annotated[float]
soilsoiltype: SoilTypeNl
soilusetension: Bool
class geolib.models.dfoundations.internal_soil.SoilTypeNl(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
CLAY = 3
CLAYEYSAND = 7
GRAVEL = 0
LOAM = 2
PEAT = 4
SAND = 1
SANDYLOAM = 5
TERTCLAY = 6