CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   charged particle UDS, UDF (

JJi May 12, 2009 04:32

charged particle UDS, UDF

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:28.