Correction factors documentation¶
-
peripy.correction.
set_imprecise_surface_correction
()¶ Calculate the surface corrections using an average nodal volume.
Uses the ‘volume method’ proposed by Bobaru et al. [Chapter 2 in Bobaru F, Foster JT, Geubelle PH, Silling SA, Handbook of peridynamic modeling, (2017) (p51 – 52)].
Parameters: - stiffness_corrections (
numpy.ndarray
) – The stiffness corrections. - nlist (
numpy.ndarray
) – The neighbour list - n_neigh (
numpy.ndarray
) – The number of neighbours for each node. - average_volume (double) – The average nodal volume.
- family_volume_bulk (double) – Volume of a family in the bulk material.
- stiffness_corrections (
-
peripy.correction.
set_micromodulus_function
()¶ Calculate the normalised conical micromodulus function values given the initial coordinates and peridynamic horizon.
Parameters: - micromodulus_values (
numpy.ndarray
) – The micromodulus values. - r0 (
numpy.ndarray
) – The initial coordinates of each node. - nlist (
numpy.ndarray
) – The neighbour list - n_neigh (
numpy.ndarray
) – The number of neighbours for each node. - horizon (float) – The critical strain.
- micromodulus_function (int) – A flag variable denoting the micromodulus function used. Set to 0: Uses the normalised connical micromodulus function. Otherwise: Uses a constant micromodulus function.
- micromodulus_values (
-
peripy.correction.
set_precise_surface_correction
()¶ Calculate the surface corrections given actual nodal volumes.
Uses the ‘volume method’ proposed by Bobaru et al. [Chapter 2 in Bobaru F, Foster JT, Geubelle PH, Silling SA, Handbook of peridynamic modeling, (2017) (p51 – 52)].
Parameters: - stiffness_corrections (
numpy.ndarray
) – The stiffness corrections. - nlist (
numpy.ndarray
) – The neighbour list - n_neigh (
numpy.ndarray
) – The number of neighbours for each node. - volume (
numpy.ndarray
) – The nodal volumes. - family_volume_bulk (double) – Volume of a family in the bulk material.
- stiffness_corrections (
-
peripy.correction.
set_volume_correction
()¶ Calculate the partial volume corrections given the initial coordinates, peridynamic horizon and node radius.
Parameters: - volume_corrections (
numpy.ndarray
) – The volume corrections. - r0 (
numpy.ndarray
) – The initial coordinates of each node. - nlist (
numpy.ndarray
) – The neighbour list - n_neigh (
numpy.ndarray
) – The number of neighbours for each node. - horizon (float) – The critical strain.
- node_radius (float) – The node radius.
- volume_correction (int) – A flag variable denoting the algorithm used. Set to 0: Uses the ‘Partial Area/Volume HHB algorithm’, as proposed by Hu, Ha, and Bobaru [W. Hu, Y.D. Ha and F. Bobaru, Numerical integration in peridynamics, Tech. Rep., University of Nebraska-Lincoln, Department of Mechanical & Materials Engineering (September 2010)]. Otherwise: The ‘Full Volume algorithm’ is used; partial nodal volumes are approximated by their full nodal volumes.
- volume_corrections (