CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF Charge transport (http://www.cfd-online.com/Forums/fluent/64597-udf-charge-transport.html)

ak6g08 May 15, 2009 13:29

UDF Charge transport
 
Hello everybody,

I would like to write a UDF which calculates the value of space 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??

Thanks a lot
akour


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