tdo not categorize contacts between fixed particles as force chains - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit 1df3a06a8dd92aef65a43ed30b7d7527c4750445
DIR parent c3ebf6d9df5f0c497d21a1f3f26e294c9346f69f
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 10 Apr 2015 14:05:07 +0200
do not categorize contacts between fixed particles as force chains
Diffstat:
M src/sphere.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/src/sphere.cpp b/src/sphere.cpp
t@@ -698,7 +698,8 @@ void DEM::findOverlaps(
delta_n = x_ij_length - (x_i.w + x_j.w);
// Is there overlap?
- if (delta_n < 0.0) {
+ // Do not include if both particles are fixed
+ if (delta_n < 0.0 && (k.vel[i].w == 0 && k.vel[j].w == 0)) {
// Store particle indexes and delta_n
std::vector<unsigned int> ij_pair(2);