Skip to content

Add quadratic B-spline shape functions

Sacha Duverger requested to merge add/bspline_geomechmpm into custom_cbgeo

This MR adds the quadratic B-spline shape functions feature as implemented in geomechanics/mpm by Soga Research Group. It also adds a option for saving the shape functions into a CSV file.

I tested these changes both on a pure MPM oedometric test simulation using Hooke's law, and on a pure MPMxDEM granular column collapse settling using Mohr-Coulomb model. The results are the ones expected, i.e. better results than with linear shape functions (the stress is not constant within a mesh cell). Although, the GCC settling simulation took considerably longer with B-spline shape functions (~ 75x longer).

Results of the GCC settling with linear shape functions (~ 42 s)

Material_points_positions_on_the__y_z__plane__199__t___3.25e-01_s_ Shape_functions_at_y_0.00_m

Results of the GCC settling with quadratic B-spline shape functions (~ 53 min)

Material_points_positions_on_the__y_z__plane__199__t___3.25e-01_s_ Shape_functions_at_y_0.00_m

Note: I'm not sure why the feature saving the shape functions didn't save a point for x=1 m, but I think this is not problem since it only concerns post-processing.

Mesh nodes

Mesh_grid

Merge request reports