rolland.deflection.DeflectionEBBVertic

class rolland.deflection.DeflectionEBBVertic(*args, **kwargs)[source]

Bases: Deflection

Calculate deflection according to Stampka and Sarradj [4].

track

Track instance.

Type:

Track

excit

Excitation instance.

Type:

Excitation

discr

Discretization instance.

Type:

Discretization

deflection

Deflection array \([m]\).

Type:

numpy.ndarray

ind_excit

Index of excitation point \([-]\).

Type:

int

validate_deflection()[source]

Validate deflection.

initialize_start_values()[source]

Set starting values of deflections to zero.

Returns:

defl – Array of deflections initialized to zero with shape (2 * nx, nt + 1).

Return type:

numpy.ndarray

calc_force()[source]

Calculate force array.

calc_rightside_crank_nicolson(u1, u0, ind_excit, t)[source]

Calculate the right-hand side of the equation according to Stampka and Sarradj [4].

Parameters:
  • u1 (numpy.ndarray) – Deflection array at the current time step.

  • u0 (numpy.ndarray) – Deflection array at the previous time step.

  • ind_excit (int) – Index of the excitation point.

  • t (int) – Current time step.

Returns:

Right-hand side of the equation.

Return type:

numpy.ndarray

calc_deflection(defl)[source]

Calculate deflection.

Parameters:

defl (numpy.ndarray) – Array of deflections initialized to zero with shape (2 * nx, nt + 1).

Returns:

defl – Array of calculated deflections with shape (2 * nx, nt + 1).

Return type:

numpy.ndarray