|May 26, 2009, 15:21||
Charge transport UDF
Join Date: May 2009
Posts: 79Rep Power: 9
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
|June 27, 2011, 04:21||
Join Date: Nov 2010
Posts: 50Rep Power: 7
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
|Thread||Thread Starter||Forum||Replies||Last Post|
|UDF for concentration transport equation||heri||FLUENT||1||August 15, 2011 11:23|
|UDF Charge transport||ak6g08||FLUENT||0||May 15, 2009 13:29|
|Transport equation using UDF||wassim||FLUENT||5||February 14, 2007 23:56|
|UDF to change density in species transport||Karthik||FLUENT||6||December 8, 2004 19:19|