CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Charge transport UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 26, 2009, 15:21
Default Charge transport UDF
Join Date: May 2009
Posts: 79
Rep Power: 10
ak6g08 is on a distinguished road
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
ak6g08 is offline   Reply With Quote

Old   June 27, 2011, 04:21
Join Date: Nov 2010
Posts: 50
Rep Power: 9
johnwinter is on a distinguished road
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
johnwinter is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
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

All times are GMT -4. The time now is 07:39.