rolland.deflection.DeflectionEBBVertic¶
- class rolland.deflection.DeflectionEBBVertic(*args, **kwargs)[source]¶
Bases:
DeflectionCalculate deflection according to Stampka and Sarradj [4].
- excit¶
Excitation instance.
- Type:
- discr¶
Discretization instance.
- Type:
- deflection¶
Deflection array \([m]\).
- Type:
numpy.ndarray
- ind_excit¶
Index of excitation point \([-]\).
- Type:
int
- 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_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