CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Cannot find macros for some terms (UDF) (https://www.cfd-online.com/Forums/fluent/50805-cannot-find-macros-some-terms-udf.html)

Jack March 8, 2009 16:06

Cannot find macros for some terms (UDF)
 
Hello,

I am trying to add a source term to the turbulent kinetic energy dissipation equation. Unfortunately there are some terms I don't know how to add.

For instance, is there any macro to get the velocity derivative in time? I know it is easy to create myself but I want it to depend on the time discretization scheme (I know, it is not that difficult).

Second of all, is there a direct macro for the turbulent production? It seems quite annoying having to play with the S tensors...

Thank you for your help!

Jack March 9, 2009 05:55

Re: Cannot find macros for some terms (UDF)
 
I found a bigger problem: I cannot access the value of turbulent kinetic energy at the previous time step! Any ideas?

Thank you.


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