CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Charge transport UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2009, 16:21
Default Charge transport UDF
  #1
Member
 
Akour
Join Date: May 2009
Posts: 79
Rep Power: 16
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
akour
ak6g08 is offline   Reply With Quote

Old   June 27, 2011, 05:21
Default
  #2
Member
 
john
Join Date: Nov 2010
Posts: 50
Rep Power: 15
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
John
johnwinter is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


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