CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Problem with Boundary UDF for DPM - Updating particle position

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2015, 13:39
Post Problem with Boundary UDF for DPM - Updating particle position
  #1
Member
 
Farzin
Join Date: Jul 2014
Posts: 42
Rep Power: 12
FarzinD is on a distinguished road
Hello everyone,
I wrote a UDF with Define Macro "DEFINE_DPM_BC". At the end of this function I want to alter particle position with this code:
Code:
for (i=0; i<dim; i++)
    P_POS(p)[i] -= 0.5*P_DIAM(p)*normal[i];
The problem is it seems that the position is not updated; because including these lines in the function makes no difference in results.
Is there something that I didn't consider?
Any suggestion might help.

Thanks,
Farzin.
FarzinD is offline   Reply With Quote

Reply

Tags
define_dpm_bc, dpm, udf


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radiation interface hinca CFX 15 January 26, 2014 18:11
i have some problem in useing UDF for boundary condition eeman Fluent UDF and Scheme Programming 3 September 19, 2012 03:14
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29
Problem in UDF about particle size distribution fpingqian FLUENT 0 February 25, 2005 02:48
How can I get the particle current position in UDF cfdfans FLUENT 4 April 2, 2001 06:03


All times are GMT -4. The time now is 12:50.