CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF-DPM (http://www.cfd-online.com/Forums/fluent/30154-udf-dpm.html)

Zhenan Li August 9, 2002 16:32

UDF-DPM
 
Hi,

I want to use DEFINE_DPM_BODY_FORCE(particle_body_force, p, i) macro to define electrostatic force acting on a charged particle.

I added the electrostatic field (Laplace equation) using UDS.

The force is F=E*Q.

I think I can get E through C_UDSI_G(c,t,0)[i]

If it is correct, how can I connect the scalar gradient with the particle in DPM?

Thanks!


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