AndersonianRemote

class AndersonianRemote

An Andersoninan remote stress

setTheta(v: float)

Set the orientation of the maximum prinipal stress according to the North in degrees and clock-wize

Parameters:

v (float) – The value

setSh(fct: CoordinateFunctor)

Set the minimum principal stress value from a lambda

Parameter CoordinateFunctor fct: The lambda

setSh(v: float)

Set the minimum principal stress value as a constant

Parameters:

v (float) – The value

setSH(fct: CoordinateFunctor)

Set the maximum principal stress value from a lambda

Parameter CoordinateFunctor fct: The lambda

setSH(v: float)

Set the maximum principal stress value as a constant

Parameters:

v (float) – The value

setSv(fct: CoordinateFunctor)

Set the vertical principal stress value from a lambda

Parameter CoordinateFunctor fct: The lambda

setSv(v: float)

Set the vertical principal stress value as a constant

Parameters:

v (float) – The value

valueAt(p: Coordinate) StressTensor

Get the stress at p

Parameter Coordinate p: The point coordinates :return: The stress tensor as a flat array [xx, xy, xz, yy, yz, zz]

tractionAt(p: Coordinate, n: Coordinate) Coordinate

Get the traction at p given the normal n

Parameter Coordinate p: The point coordinates

Parameter Coordinate n: The normal to the plane

Returns:

The traction vector

Usage

remote = AndersonianRemote()
remote.setTheta(35)
remote.setSh(lambda p: [0, 0, 0, 0, 0, 1000*p[2]])
remote.setSH(lambda p: [0, 0, 0, 0, 0, 1000*p[2]])
remote.setSv(-1)
model.addRemote(remote)