normal vector to wall

Submitted by clarence91 on Sat, 04/18/2015 - 20:48

Hi

Is there a way to find the normal vector to the wall at the point of contact(particle-wall contact) ?

Thank You.

richti83's picture

richti83 | Mon, 04/20/2015 - 08:21

see doc/compute_pair_gran_local.html for computing particle-wall contacts, than use dump local to write coordinates and forces to file.
When you have this files you can use my ParaView forcechainreader to read them into ParaView and postprozess:
https://github.com/richti83/ParaView_Reader_for_LIGGGHTS/tree/master/pre...

cheers,
Christian.

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact

clarence91 | Mon, 04/20/2015 - 19:40

Hello Richti83,

Thanks for your reply.
I actually need to find the normal vector at the point of contact while running the code not after the simulation.

clarence91 | Wed, 04/22/2015 - 21:48

if there a way to loop over all the mesh points and find the co-ordinates of the mesh(triangular element) at the particle point of contact while running the code ?

ckloss's picture

ckloss | Mon, 06/01/2015 - 12:24

Hi,

you'd have to slightly modify the interface of compute pair gran/local and pass this information to it

Best wishes
Christoph