CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Cannot find macros for some terms (UDF) (

Jack March 8, 2009 17:06

Cannot find macros for some terms (UDF)

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 06: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 09:12.