fedoo.weakform.Inertia

class Inertia(density, name='', space=None)

Weak formulation related to the inertia effect into dynamical simulation.

Used for fedoo.problem.Newmark, fedoo.problem.NonLinearNewmark

Parameters:
  • density (scalar or arrays of gauss point values.) – Material density. For 1D meshes, this is physically a linear density (mass per unit of length) and for 2D meshes an area density (mass per unit of surface).

  • name (str, optional) – name of the WeakForm

  • space (ModelingSpace, optional) – Modeling space used to build the weak form. Default to active one.

__init__(density, name='', space=None)

Methods

Inertia.get_all()

Return the list of all weak forms.

Inertia.get_weak_equation(assembly, pb)

Inertia.initialize(assembly, pb)

Inertia.nvar(self)

Return the number of variables used in the modeling space associated to the WeakForm.

Inertia.reset()

Inertia.set_start(assembly, pb)

Inertia.sum(wf1, wf2)

Inertia.to_start(assembly, pb)

Inertia.update(assembly, pb)

Inertia.update_2(assembly, pb)

Inertia.name

Return the name of the WeakForm.

Inertia.space

Return the ModelingSpace associated to the WeakForm if defined.