# fracture.create

Syntax

frac = fracture.create(dfn,arr<,id>)

Create a fracture. The fracture is added to dfn.

Returns: frac - fracture pointer dfn - DFN pointer arr - FISH array of the fracture parameters. arr must be a one-dimensional FISH array whose first element is a string specifying the type of fracture and the subsequent elements are the fracture parameters. In 2D, either the dip or vertices strings can be given. If the dip format is specified, the second element of the array is the position of the fracture center, the third element is the fracture length, and the fourth element is the dip (in degrees from the positive x-direction following the clockwise measuring convention). If the vertices format is specified in 2D, then the second element of the array is the number of vertices (must be two), and the third and fourth elements are vectors specifying the ends of the fracture. In 3D, either the disk or vertices strings can be given. If the disk format is specified, the second element of the array is the position of the fracture center, the third element is the fracture diameter, the fourth element is the dip in degrees (where 0 ≤ dip ≤ 90), and the fifth element is the dip direction in degrees (where 0 ≤ dip direction ≤ 360). If the vertices format is specified in 3D, then the second element in the array is the number of vertices (must be greater than three) and each subsequent element is the position of one of the fracture vertices. These can be given in any order. Note The proposed fracture must fall entirely within the model domain. The fracture dominance is set to the next available value. See the fracture contact-model command for further details. id - The optional fracture ID. If not specified, the fracture ID is set to the next available ID.