Defects

Defect

class guwlib.guw_objects.Defect(position_x, position_y)

Base class to represent plate defects.

Parameters:
  • position_x (float) – Position of the defect in x-direction from the coordinate origin.

  • position_y (float) – Position of the defect in y-direction from the coordinate origin.

Variables:
  • position_x (float) – Position of the defect in x-direction from the coordinate origin.

  • position_y (float) – Position of the defect in y-direction from the coordinate origin.

  • id (int) – Unique identification number of the defect.

  • bounding_box_cell_set_name (str) – Unique name for the ABAQUS cell set of the defects bounding box.

Methods:

set_identifiers(unique_id)

Sets a unique ID and ABAQUS cell set name for this defects’ bounding box.

Parameters:

unique_id (int) – Unique ID of this defect.


Hole

class guwlib.guw_objects.Hole(position_x, position_y, diameter)

Bases: Defect

Represents a simple, circular through-thickness hole.

Parameters:
  • position_x (float) – Position of the hole in x-direction from the coordinate origin.

  • position_y (float) – Position of the hole in y-direction from the coordinate origin.

  • diameter (float) – Diameter of the hole.

Variables:

radius (float) – Radius of the hole.

Figures:

position_x
position_y
diameter

Left: illustration of Hole parameters, right: example ABAQUS model


Crack

class guwlib.guw_objects.Crack(position_x, position_y, length, angle_degrees=0)

Bases: Defect

Represents a simple, through-thickness crack (realised by node-separation in the FE model).

The crack is oriented along the y-axis if angle_degrees is set to 0 (default).

Parameters:
  • position_x (float) – Position of the crack midpoint in x-direction from the coordinate origin.

  • position_y (float) – Position of the crack midpoint in y-direction from the coordinate origin.

  • length (float) – Length of the crack.

  • angle_degrees (float) – Rotation angle of the crack, in degrees (counterclockwise rotation).

Variables:
  • length (float) – Length of the crack.

  • angle (float) – Rotation angle of the crack, in radians (counterclockwise rotation).

  • seam_face_set_name (str) – Name for the ABAQUS face set containing the crack edge faces.

Figures:

position_x
position_y
length
angle_degrees

Left: illustration of Crack parameters, right: example ABAQUS model