Bond-Filters

Rectangular Plane

A rectangle in a plane given by its normal; bonds crossing it are cut.

Discretization_BondFilters_RectangularPlane

The yaml definition looks like this

Bond Filters:
  bf_1:
    Bottom Length: 2.0
    Bottom Unit Vector X: 1.0
    Bottom Unit Vector Y: 0.0
    Bottom Unit Vector Z: 0.0
    Lower Left Corner X: -0.5
    Lower Left Corner Y: 0.0
    Lower Left Corner Z: -1.0
    Normal X: 0.0
    Normal Y: 1.0
    Normal Z: 0.0
    Side Length: 2.0
    Type: Rectangular_Plane

Disk

A disk given by its center, normal and radius; bonds crossing it are cut.

Keys

Both filters are entries of Bond Filters in the Discretization section:

YAML keyTypeRequiredDefaultRangeQuantityDescription
Typetextrequiredone of: Disk, Rectangular_PlaneShape of the filter
Normal Xnumberrequiredx component of the normal of the filter plane
Normal Ynumberrequiredy component of the normal of the filter plane
Normal Znumberoptional—z component of the normal of the filter plane (3D only)
Center Xnumberoptional—x coordinate of the disk center; only with Type: Disk
Center Ynumberoptional—y coordinate of the disk center; only with Type: Disk
Center Znumberoptional—z coordinate of the disk center (3D only); only with Type: Disk
Radiusnumberoptional—≥ 0Radius of the disk; only with Type: Disk
Lower Left Corner Xnumberoptional—x coordinate of the lower left corner of the rectangle; only with Type: Rectangular_Plane
Lower Left Corner Ynumberoptional—y coordinate of the lower left corner of the rectangle; only with Type: Rectangular_Plane
Lower Left Corner Znumberoptional—z coordinate of the lower left corner of the rectangle (3D only); only with Type: Rectangular_Plane
Bottom Unit Vector Xnumberoptional—x component of the direction of the rectangle's bottom edge; only with Type: Rectangular_Plane
Bottom Unit Vector Ynumberoptional—y component of the direction of the rectangle's bottom edge; only with Type: Rectangular_Plane
Bottom Unit Vector Znumberoptional—z component of the direction of the rectangle's bottom edge (3D only); only with Type: Rectangular_Plane
Bottom Lengthnumberoptional—≥ 0Length of the rectangle along the bottom unit vector; only with Type: Rectangular_Plane
Side Lengthnumberoptional—≥ 0Length of the rectangle perpendicular to the bottom edge; only with Type: Rectangular_Plane
Allow Contacttrue/falseoptionalfalseKeeps the filtered bonds as contact bonds so the two sides cannot penetrate each other
Contact Stiffness Factornumberoptional1Scales the contact stiffness of the filtered bonds (bond-based micromodulus with the Young's modulus along the filter normal)