|
[Sponsors] |
May 26, 2009, 16:21 |
Charge transport UDF
|
#1 |
Member
Akour
Join Date: May 2009
Posts: 79
Rep Power: 17 |
Hello everybody,
I would like to write a UDF which calculates the value of charge, Q, and then another UDF which calculates the value of Electric field, E...I have found an example in the fluent manual which does a radiation calculation using a transport equation, which is useful, however, I need to use the values of Q and E in a source term (which I must also add) appearing in the momentum equation (source=Q x E)... can anyone point me to an example which writes a UDF to calculate a scalar and then uses the value returned by that transport equation within a source term appearing in the momentum equation?? Also, the scalar transport equation for space charge has a diffusion, convective and unsteady term as with the generic version but also has an ionic drift term...which is sort of a convective term only instead of velocity its (kxE) where k is mobility and E is electric field...can I add a whole other term in the transport equation? Is that possible? Thanks a lot akour |
|
June 27, 2011, 05:21 |
|
#2 |
Member
john
Join Date: Nov 2010
Posts: 50
Rep Power: 16 |
Hi Akour,
Did you successful in writing udf for charge density?. I am planning to write UDF for negative ion and charge density. Could please share your experince. I am having trouble linearizing source term for charge desnity equation. I am getting negative values in charge which is unrealistic. Thanks in advance John |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transport equation using UDF | wassim | FLUENT | 6 | March 22, 2018 14:39 |
UDF for concentration transport equation | heri | FLUENT | 1 | August 15, 2011 12:23 |
UDF Charge transport | ak6g08 | FLUENT | 0 | May 15, 2009 14:29 |
UDF to change density in species transport | Karthik | FLUENT | 6 | December 8, 2004 19:19 |