recolo.artificial_grid_deformation.analytical_disp_fields.harmonic_disp_field
- recolo.artificial_grid_deformation.analytical_disp_fields.harmonic_disp_field(amplitude, periode, n_periodes, formulation='Lagrangian')
Harmonic displacement field with associated reference coordinates, current coordinates and displacement fields.
- The following coordinate definition is used:
x = X + u(X)
where x is the current coordinates, X is the coordinates in the undeformed configuration and u(X) is the displacement field expressed in therm of coordinates in the undeformed configuration.
- amplitudefloat
The amplitude of the harmonic displacement field
- periodeint
The periode of the harmonic displacement field
- n_periodesint
The number of displacement periodes
- formulationstr
The coodinate formulation used for the displacement field. “Lagrangian” corresponds to u(X) “Eulerian” corresponds to u(x)
- xs, ys, Xs, Ys, displacement_x, displacement_yndarray
xs,ys are the coordinates in the deformed configuration Xs,Ys are the coordinates in the undeformed configuration displacement_x, displacement_y are the displacement component fields