fedoo.constitutivelaw.Spring

class Spring(Kx=0, Ky=0, Kz=0, name='')

Simple directional spring connector between nodes or surfaces

This constitutive Law should be associated with fedoo.weakform.InterfaceForce

Parameters:
  • Kx (scalar) – the rigidity along the X direction in material coordinates

  • Ky (scalar) – the rigidity along the Y direction in material coordinates

  • Kz (scalar) – the rigidity along the Z direction in material coordinates

  • name (str, optional) – The name of the constitutive law

__init__(Kx=0, Ky=0, Kz=0, name='')

Methods

Spring.get_K()

Spring.get_all()

Return a dict with all the known ConstitutiveLaw (with a name).

Spring.get_tangent_matrix()

Spring.initialize(assembly, pb)

Initialize the constitutive law for the current problem.

Spring.local2global_K(K)

Spring.reset()

Reset the constitutive law.

Spring.set_start(assembly, pb)

Begin a new time iteration.

Spring.to_start(assembly, pb)

Restart the current time iteration.

Spring.update(assembly, pb)

Update the constitutive law for the current problem state.

Spring.name

Name of the constitutive law.