Hello,
Can you advise me on which UDF for the energy equation I should use to use its temperature output inside the SOURCE_V_G_MOD (y-momentum equation) model?
Thank you in advance!
Hello,
Can you advise me on which UDF for the energy equation I should use to use its temperature output inside the SOURCE_V_G_MOD (y-momentum equation) model?
Thank you in advance!
You need to us the ‘fldvar’ module at the top of the routine:
use fldvar, only: t_g
Then in an IJK loop, you can use the temperature is cell IJK as T_G(IJK)