CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   charged particle UDS, UDF (https://www.cfd-online.com/Forums/fluent-udf/64454-charged-particle-uds-udf.html)

JJi May 12, 2009 04:32

charged particle UDS, UDF
 
Hi

I'm looking on particle transport between two plates subjected to a potential diff of 6kV.

The potential between the two plates has been defined as an user scalar, and calculated with boundary values 0 and 6kV. This is no problem.
The next step is modelling how the particles act in the potential field. First i define a charge of the particle as a scalar update. (DEFINE_DPM_SCALAR_UPDATE). Then the body force as an additional acceleration DEFINE_DPM_BODY_FORCE. and I want to insert charge of the particle to UDS equation.(poisson), but i can,t insert it.

Fluent say: 'user' : undeclared identifier, user means charge of the particle

In brief, I want to insert particle charge number to UDS eqaution, but I can't insert.
Please help me


All times are GMT -4. The time now is 04:41.