|
[Sponsors] |
July 6, 2004, 15:08 |
Displacement of particles with an udf
|
#1 |
Guest
Posts: n/a
|
Hello,
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, Michael |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM: UDF - loop over all particles | chris | Fluent UDF and Scheme Programming | 31 | June 17, 2020 06:52 |
UDF for sampling particles from multiple injections | JaC | Fluent UDF and Scheme Programming | 0 | March 31, 2010 11: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 04:35 |