Model

class Model

Base class to describe a Arch model

setHalfSpace(hs: bool)

Set the half- or whole-space for this model

Parameters:

bool (hs) – True for a half-space model

halfSpace()

Tells if the model is in half-space or not

nbDof()

Gets the number of unknown for the model

addRemote(remote: Remote)

Add a new remote in the model

:param py:class:Remote remote: The remote stress

setMaterial(poisson: float, younf: float, density: float)

Set the material for this model

Parameters:
  • poisson (float) – The poisson ratio

  • young (float) – The Young’s modulus

  • density (float) – The density

Usage

model = Model()
model.setHalfSpace(True)
model.setMaterial(0.25, 1e9, 1000)