CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   vectorise DEFINE_VR_RATE ? (https://www.cfd-online.com/Forums/fluent/31288-vectorise-define_vr_rate.html)

Thierry April 15, 2003 05:07

vectorise DEFINE_VR_RATE ?
 
Hi !

I use the DEFINE_VR_RATE macro to calculate new reactions rates. But, for each iteration, this macro is called for each cell and each reaction....my mesh has 2 700 000 cells and I treat 2 reactions : so, FLUENT call my UDF more than 5 000 000 times per iteration !! Therfore, the computation time is catastrophic !!

It is possible to vectorise the macros ? Or, does anyone got an idea to improve my UDF ?

Thanks a lot.

Thierry.


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