fracture extra
command
Syntax
- fracture extra i a<range>
Set fracture extra variables. The extra variable a can be of any type, and is associated with the index i as if stored in an array.
Usage Example
The following example in 3D illustrates how the fracture extra
command can be
used to assign 2 to the extra in slot 1 for large fractures and 1 to the extra
in slot 1 for small fractures.
model new
model random 10000
model domain extent -5 5
;Range definition
fish define mylarge(dummy,frac)
mylarge=0
if fracture.area(frac)>4
mylarge = 1
endif
end
;Generate fractures using the default template
fracture generate dfn 'example' fracture-count 500
;Assign extra parameters to fractures
fracture extra 1 'big' range fish mylarge
fracture extra 1 'small' range fish mylarge not
;Assign extra parameter to a DFN
fracture dfn-extra 1 'my-dfn'
program return
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Oct 31, 2024 |