|
[Sponsors] |
Problem with Boundary UDF for DPM - Updating particle position |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 28, 2015, 13:39 |
Problem with Boundary UDF for DPM - Updating particle position
|
#1 |
Member
Farzin
Join Date: Jul 2014
Posts: 42
Rep Power: 12 |
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]; Is there something that I didn't consider? Any suggestion might help. Thanks, Farzin. |
|
Tags |
define_dpm_bc, dpm, udf |
|
|
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 |