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. |