CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   coding problem (https://www.cfd-online.com/Forums/openfoam/107454-coding-problem.html)

conceptone September 27, 2012 11:05

coding problem
 
Hi guys, right now I am reading the openfoam's code and wonder what the meaing of "tetFaceI and tetPtI " in openfoam, this bothers me a lot and I konw "I" should be the index i, but I don't know what the tetFace and tetPt mean.
Thanks!

Arnoldinho September 27, 2012 11:35

You should specify where you have found these words! Just from guessing, it is hard to give you a right answer. But if I should guess, I would say the whole word is just the index in a loop :rolleyes:

conceptone September 27, 2012 12:32

Thansk for answering. The tetFaceI and tetPtI actually first comes out in the lagrangian/basic/particle/particle.H. Yes, they are indexes. The thing I don't get actually is I don't know where do we get the tetrahedron? I mean in the particle.H profile it states "the decomposed tet". So is the tetrahedron divided from a cube defined in openfoam? I don't konw the tetrahedron part totally..


All times are GMT -4. The time now is 23:53.