CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Displacement of particles with an udf

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

LinkBack Thread Tools Display Modes
Old   July 6, 2004, 14:08
Default Displacement of particles with an udf
Michael Heim
Posts: n/a

I'm trying to displace a particle within the define_dpm_scalar_update macro. So every timestep the macro is called, the particle should be displaced a certain distance. I can update the p_pos(p)[i] within the macro and print it to the screen and it seems to work, but in the next step the displacement is "forgotten". Does anyone know, if the p_pos(p)[i] is not changeable within this macro??? If not, is there any other solution to displace a particel after a certain timestep??

Thank you,

  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
DPM: UDF - loop over all particles chris Fluent UDF and Scheme Programming 25 August 27, 2017 19:34
UDF for sampling particles from multiple injections JaC Fluent UDF and Scheme Programming 0 March 31, 2010 10:43
How to define a parabolic velocity inlet of particles with UDF zumaqiong FLUENT 2 February 22, 2010 10:46
Problem trapping Particles with UDF J. Krick FLUENT 2 November 19, 2008 03:28
udf init random particles positions olivia FLUENT 2 August 3, 2004 03:35

All times are GMT -4. The time now is 20:57.