CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   How to write DEFINE_UDS_FLUX functions?? (http://www.cfd-online.com/Forums/fluent/28037-how-write-define_uds_flux-functions.html)

Greg Perkins November 20, 2000 19:52

How to write DEFINE_UDS_FLUX functions??
 
Hi

has anybody managed to write a DEFINE_UDS_FLUX function for calculating the flux for a user defined scalar transport equation in Fluent 5.x? if so could you post/email some code?

I wish to solve an equation like

d/dy( ps * thi ) = Sm

where ps = density, thi is my scalar variable and Sm is a source term I calculate.

Thanks in advance

Greg



All times are GMT -4. The time now is 01:57.