add non-contact force with wall
Hi,
I am trying to implement a non-contact force with walls in LIGGGHTS (e.g. lubrication force). I have noticed that in fix_wall_gran.cpp, deltan is used to calculate the overlap with wall and restricted to < 0. My plan is to use the deltan as the separation distance when it is > 0. The following are the relative codes in fix_wall_gran.cpp (from line 987 to 1009, I add my lines after that.) Is it feasible to do so?
if(deltan <= 0 || (radius && deltan < contactDistanceMultiplier*radius[iPart]))
{
Forums:
- Read more about add non-contact force with wall
- 4 comments
- Log in or register to post comments