Finding where a bond broke
Hi,
In my model, I have 3D spheres aligned in the x-y plane (100 by 100). Each sphere is bonded with its neighboring spheres. There is a precrack in the model and I am applying a force field within the precrack. Once the model runs, the crack opens up and starts to propagate. Within the simulation I want to do the following:
If a new bond breaks:
El1 = #element#1;
El2 = #element#2;
I hope you understand. Basically, once a bond breaks, I want to apply a force on the 2 element that the bond broke between. I know that I have to write a function script. If you can just tell me how to get the if condition activated once a new bond breaks and how to get the element numbers, that would be off great help.
Thanks!
# SIMULATION LOOP
O.engines=[
PyRunner(
PyRunner(
PyRunner(
PyRunner(
PyRunner(
ForceResett
InsertionSo
Interaction
),
GlobalStiff
NewtonInteg
]
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Najm
- Solved:
- Last query:
- Last reply: