# fracture prune command

Syntax

fracture prune keyword

Primary keywords:

Prune isolated fractures. The intersection set that forms the basis for this operation is specified with the intersection-set keyword. Clusters of fractures with size less than or equal to the number of fractures specified with the critical-number keyword are deleted. The intersection set must exist. If clusters have not been computed, they are computed before pruning isolated fractures.

critical-number i

Critical number of fractures in a cluster to mark it for removal (i = 1, by default).

intersection-set s

Specify the intersection set name as the basis of the pruning operation.

Usage Example

The following example illustrates how the fracture prune command can be used to remove from a DFN all fractures that are in clusters with no more than two fractures. If the size is set to 1, only isolated fractures (i.e., fractures connected to no other fracture) are removed.

model new
model random 10000
model domain extent -5 5
;Generate fractures using the default template
fracture generate fracture-count 400
;Compute intersections
fracture intersection compute intersection-set 'all'
;Compute clusters
fracture cluster intersection-set 'all' group-slot 'cluster'
;Prune (i.e., delete) fractures that are nearly isolated
fracture prune intersection-set 'all' critical-number 2
return