CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   hitPatch function to store escaping particle details (https://www.cfd-online.com/Forums/openfoam-solving/81289-hitpatch-function-store-escaping-particle-details.html)

mittal October 21, 2010 19:42

hitPatch function to store escaping particle details
 
Hi,

Thanks to every one for making things so exciting with open source code !

After so much help from tutorials and threads available to incorporate lagrangian/intermediate class for particle tracking in interFoam solver, I was successful in compiling my solver.

Now, I want the solver to write details of particle(s) (such as x,y,x, u, v,z,dia) whenever they exit the domain from any of the outlets. I looked in the code and could not find any readymade function. Is there any? please suggest. I also thought of adding few lines of code in/after hitPatch function(s) but could not figure out which hitfunction to choose and in which file. My limited experience with C++ limited my efforts.

Could some one please suggest how and where to modify the code. Any smallest useful input will lighten the path for me.

Thanks once again.

regards,
Kushagra


All times are GMT -4. The time now is 15:11.