fix wall/region command

Submitted by JohLoh on Thu, 06/09/2016 - 17:45

hallo all,

is there a way to use cad-files (e.g. stl-files) for the command: fix wall/region command ? Or do I have to define the regions by hand?
region cuboid block 0 0.5e3 0 0.5e3 0 0.5e3 side out

Any comments are appreciated, thanks

Joh

ckloss's picture

ckloss | Tue, 06/14/2016 - 23:23

Hi joh,

for STL walls please use fix wall/gran with references to fix mesh/surface, as done in many of the tutorials

best wishes
Christoph

JohLoh | Thu, 06/16/2016 - 10:16

hallo Christoph,

thanks for your quick response. Am I right that with fix wall/gran I'm only able to determine contact forces but not short range forces like Van der Waals forces? But with the command "fix wall/region colloid" - I am able to calculate Van der Waal forces? But with this command I'm not able to use stl - files?

Best wishes

Johannes

ckloss's picture

ckloss | Tue, 06/28/2016 - 17:47

Hi Johannes,

in the last release we added the driver so walls can have non-contact forces. There is one necessary change we have fixed in our internal version and which will be released in the next release in september, which is

fix_wall_gran.cpp: there is a sign error in double OneMinusContactDistanceFactor = 1.-neighbor->contactDistanceFactor;

But if you fix this (change the sign in the variable), it should work like a charm!

Best wishes
Christoph