|
[Sponsors] |
January 26, 2015, 11:04 |
Electrostatic body force in DPM
|
#1 |
New Member
Ravinder Gill
Join Date: Sep 2014
Location: Windsor,ON
Posts: 19
Rep Power: 11 |
I am trying to implement electrostatic body force on dust particles in dpm. The particles have a charge and so does the boundaries. But the particle trajectory is such that the distance from boundaries is changing, hence the electrostatic force is changing. Is it possible to write such a udf that it changes the body force according to the particle trajectory.
|
|
January 27, 2015, 06:06 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26 |
Yes, and I have done so before. I can not give you that UDF because of confidentiality, but the essence:
*Calculate the gradients of the electric field with whatever method you want, and put them (using a defined-on-demand) into user defined memory, so that for each cell you know the gradients of the electric field. *Write a dpm_body_force that uses the properties of the dust particle (mainly the charge) and the gradients in the cell that the dust particle is currently in to calculate the force (or actually acceleration) of the particle. |
|
January 28, 2015, 08:15 |
|
#3 |
New Member
Ravinder Gill
Join Date: Sep 2014
Location: Windsor,ON
Posts: 19
Rep Power: 11 |
Thanks a lot Pakk. Worked perfectly
|
|
March 22, 2021, 07:44 |
Electrostatic body force in DPM
|
#4 |
New Member
Manuel
Join Date: Mar 2021
Posts: 1
Rep Power: 0 |
Hey guys,
i read your thread here and have the same problem as gill11a got it six years bevor. I am complete new in Ansys Fluent, there i got no idea how to wirte an UDF-code. In case you both are still active here it would be nice if you could contact me and send me your UDF-Code. Best regards manuel |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Step-by-Step Procedure for DPM body force | wwt650420 | FLUENT | 10 | March 22, 2017 10:03 |
DPM body force to express electric forces | adam14qin | FLUENT | 24 | August 1, 2013 13:34 |
Body Force in Injections | ali hemmati | FLUENT | 0 | December 16, 2011 15:00 |
DPM body force Doubt | Sandilya | FLUENT | 0 | May 21, 2007 13:32 |
how to include body force in cfx | selvam R.P | CFX | 4 | November 25, 2005 04:01 |