Give a filename to a contact model

Submitted by Baric on Thu, 03/02/2017 - 10:09

He everybody,

I am writing my own rigid bond contact model and therefore, I am using the cohesion model.
It all works nicely and I want to write in a file all the bonds that have been set and the bonds that are broken at the respective timestep.

In general it is quite easy to do so, but I have hard coded the filename into the contact model. I was wondering if there is a way to give a filename in the input script. I know how to provide booleans like the tangential_reduce in "gran cohesion easo/capillary/viscous".

I am grateful for any idea.

Regards
Valentin Baric

Mohammad Manjiu... | Tue, 10/02/2018 - 09:27

Hi,
I have seen that you wrote your own contact model for LIGGGHTS. For my research purpose, I need to modify or update the pair gran hertz/stiffness contact model. Please help me to give some idea what should be the easiest way to that and how can I do this? Thanks