CFD Online Logo CFD Online URL
Home > Forums > FLUENT


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

LinkBack Thread Tools Display Modes
Old   April 3, 2007, 08:40
Default Exit from UDF DEFINE_DPM_LAW
Jaroslav Kotara
Posts: n/a
Hi, I need to correct my UDF (DEFINE_DPM_LAW) for terminating the calculation of the discrete particle diameter when a particle reaches a certain position in domain:

I try for example:

if( P_POS(P)[1] >= 1.5) { PATH_END;}


All those commands cause skipping actualization of the particle diameter in the calculation beyond the geometrical limit i set but still carry on creation the pparticle track as the particle leaves this region.

How can i completely terminate the particle track in certain region of the domain?

Thanks a lot for your answer.
  Reply With Quote


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
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
Accelerating pre and checking the mfr at exit how to hook udf to Pressure inlet(BC) kokoory Fluent UDF and Scheme Programming 0 August 17, 2011 08:20
UDF for transient pressure inlet, mass flow check at nozzle exit and volumetric heat kokoory FLUENT 0 August 17, 2011 02:07
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

All times are GMT -4. The time now is 08:17.