fedoo.weakform.Inertia

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

Weak formulation related to the inertia effect into dynamical simulation.

Used by second-order integrators attached to linear or nonlinear problems.

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_dissipation()

Return the optional dissipative provider for a time integrator.

Inertia.get_storage()

Return the optional storage weakform for a time integrator.

Inertia.get_weak_equation(assembly, pb)

Inertia.initialize(assembly, pb)

Inertia.iter_leaf()

Iterate over the leaf weakforms contained in this object.

Inertia.reset()

Inertia.set_damping([damping])

Mechanical alias for set_dissipation.

Inertia.set_dissipation([dissipation, evolution])

Attach a dissipative contribution.

Inertia.set_inertia(density_or_storage)

Mechanical alias for set_storage.

Inertia.set_start(assembly, pb)

Inertia.set_storage(storage[, evolution])

Attach a time-storage weakform to this static weakform.

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.nvar

Number of variables in the modeling space associated to the WeakForm.

Inertia.space

Return the ModelingSpace associated to the WeakForm if defined.