CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

DPM time_of_birth UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 2, 2006, 16:42
Default DPM time_of_birth UDF
  #1
Lourival
Guest
 
Posts: n/a
Hy everybody,

I have some doubts about the time of the particle is injected.

For example, I would like to know the time at which the particle that hit some WALL in my DOMAIN was injected. Note that I don't wanna the time that the particles enters the cell, but the time that the particle was injected in my domain, so I can calculate how long it took to hit the WALL.

Looking inside of the "dpm.h" I found three different times:

1) p->state.time 2) p->state0.time 3) p->init_state.time

The first is the time that the particle hit the WALL, the second is the time that the particle entry to current cell and the third I thought that could be the time that the particle was injected. I thought so because the struct init_state is related to the state at injection, but the second and the third gives the same result.

Taking a look inside of the particle_struct I found the variable time_of_birth and it gives a time before that the particle hits the tube.

Am I right in taking the time_of_birth as being the time of that the particle was injected ?? Does someone have an idea ??

Lourival
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT subhankar_bhandari Fluent UDF and Scheme Programming 0 August 19, 2010 03:09
Hooking a DPM Particle Heat and Mass Transfer UDF to FLUENT subhankar_bhandari FLUENT 0 August 19, 2010 03:01
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
DPM with UDF - Step-by-Step Procedure???? Prashanth FLUENT 3 April 3, 2009 17:45
DPM - UDF for fluctuating bubble size Jaroslav Kotara FLUENT 1 April 19, 2006 09:02


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