Custom Contact Model help please...

Submitted by nasser225 on Wed, 10/19/2016 - 12:42

Hi everyone,

I have been using Liggghts for a few months now and have understood how it seems to work. I am now looking to create a custom contact model to solve a particular problem which requires a friction contact model that considers a viscous component. I have read the documentation for the current models and they do not suit. I have also understood that I need to copy and modify an existing .h model file in C++ code to do this. Is there any guidance available (hoping for an outline, tree, or schematic etc.) for a contact model file that I could use? Looking at is a little confusing... I don't have any C++ knowledge but have programmed in Python and VB.net so understand basics of coding...i think(!).

Any help will be much appreciated! Thanks!

ckloss's picture

ckloss | Fri, 10/21/2016 - 15:41

Hi nasser225,

there are bacsically 2 suggested ways of doing it:
(i) studying how the existing implementations work, copy and modify
(ii) you can also visit one of our trainings, where this is covered

best wishes
Christoph

nasser225 | Fri, 10/21/2016 - 16:39

Hi Christoph,

Many thanks for your response. Do you have any training events in London ?

ckloss's picture

ckloss | Wed, 11/02/2016 - 15:38

Hi nasser225,

no training events are planned in London in the near future. The next one will be in Vienna, date to be released soon! (under announcements on cfdem.com)

Best wishes
Christoph