CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CD-adapco (
-   -   Downstream droplet size data (

Nick December 8, 2004 06:59

Downstream droplet size data
Im trying to extract droplet size data at three downstream locations in a simulation. Does anyone know how to do this? (or if it is possible)

Mike December 11, 2004 19:17

Re: Downstream droplet size data
You should try using the user subroutine dravrg.

This subroutine will be called as the Lagrangian tracking progresses, at each step. Be careful not to doublecount parcels. It takes some thoughtful logic to avoid doublecounting.

Alternatively, user support can supply you with a separate code to give you direct access to the track file. From that file you could parse through all the parcels and note their size and count at the locations of interest, and perhaps write these into a log file.

I can get you the program that reads the track file if needed. It works under Linux and possibly other platforms. Just send me an e-mail -

All times are GMT -4. The time now is 01:41.