Newmark-Beta time integration.
This function implements the Newmark-Beta time integration method for linear dynamic problems. It updates the velocity and acceleration vectors based on the displacement increment and the time step.
- Parameters
-
nDim | Number of dimensions (2D or 3D) |
du | Displacement increment vector |
v | Velocity vector |
a | Acceleration vector |
dT | Time step |
newmarkBeta | Newmark-Beta parameter (0.25 for linear problems) |
newmarkGamma | Newmark-Gamma parameter (0.5 for linear problems) |
da_ddu | Derivative of acceleration with respect to displacement |
- Returns
- void
- Note
- The function assumes that the input vectors are of size nDim.
-
The function also assumes that the time step is positive and that the Newmark-Beta parameter is not zero.
-
The function uses a small value (1e-16) to avoid division by zero