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

Electrostatic body force in DPM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2015, 11:04
Default Electrostatic body force in DPM
  #1
New Member
 
Ravinder Gill
Join Date: Sep 2014
Location: Windsor,ON
Posts: 19
Rep Power: 11
gill11a is on a distinguished road
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.
gill11a is offline   Reply With Quote

Old   January 27, 2015, 06:06
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
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.
pakk is offline   Reply With Quote

Old   January 28, 2015, 08:15
Default
  #3
New Member
 
Ravinder Gill
Join Date: Sep 2014
Location: Windsor,ON
Posts: 19
Rep Power: 11
gill11a is on a distinguished road
Thanks a lot Pakk. Worked perfectly
gill11a is offline   Reply With Quote

Old   March 22, 2021, 07:44
Default Electrostatic body force in DPM
  #4
New Member
 
Manuel
Join Date: Mar 2021
Posts: 1
Rep Power: 0
Mafinat0r is on a distinguished road
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
Mafinat0r is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 05:22.