Quick Question about the new Mesh-Particle Contact System (idTri variable)

Submitted by Lamers Jon on Mon, 10/29/2012 - 18:21

Dear all,

I noticed that the new implementation now uses iMesh to indicate the ID of the mesh, and it still uses iTri to identify each mesh triangle (face). (please note this is from fix_wall_gran.cpp)

However I am not 100% sure what the variable "idTri" is, please could you clarify?

From what I can work out, it's a triangle/face id which is derived from iTri? Is it the ID number for each face - for each processor, when the simulation is run in parallel?

As a side note, thank you improving the mesh-particle contact system, and making the code much easier to read. Also thanks for the helpful included link which explains how the contact method works.

Thanks,

Jon

ckloss's picture

ckloss | Tue, 10/30/2012 - 12:54

Hi Jon,

idTri is the ID of the triangle (unique across all processes) and iTri is the local element index on each process

Cheers, Christoph