CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   UDF to iterate momentum source for desired flow (http://www.cfd-online.com/Forums/fluent-udf/119557-udf-iterate-momentum-source-desired-flow.html)

chtyler June 19, 2013 15:06

UDF to iterate momentum source for desired flow
 
I'm pretty much a newbie with Fluent, so please forgive what may be a simple question. I have a model with a momentum source to set a recirculation rate. I'd like to write a UDF to adjust the momentum source in a transient simulation to get the desired recirculation rate. I cannot, however, find the appropriate macro to set the momentum source. Can someone point me in the right way?

Regards,

Chris

yashganatra June 20, 2013 02:41

Try out DEFINE_SOURCE macro. An example is give in the UDF Manual


All times are GMT -4. The time now is 16:35.