fedoo.constitutivelaw.CohesiveLaw.set_damage
- CohesiveLaw.set_damage(assembly, value, irreversible=True)
Initialize the damage variable to a certain value: array for multi-point initialization or scalar. The damage is considered as irreversible by default. Use Irreversible = False for reversible damage. The damage should be udpated with CohesiveLaw.updateDamageVariable to determine if the crack is opening or closing. If not, no contact will be considered.