Simple way to implement contact duration
Hi All,
I want to extract information about contact duration and maybe I have found a really simple way to do it.
In cohesion_model_easo_capillary_viscous.h there is a history_value "contflag" that is used to understand if two particles have been in contact, such that the capillary force is created only after the contact occurs.
The contflag is set to 1 in case of contact, then set to 0 when the liquid bridge is broken. One can increment the contflag rather than setting to 1 and the condition still works.
contflag[0] = contflag[0] + 0.0;
Forums:
- Read more about Simple way to implement contact duration
- 2 comments
- Log in or register to post comments