CaptainConvergence
Subscriber

I am now obtaining the temperature and pressure with:


double Temp = C_T(cell,thread);
double Pabs  = C_P(cell,thread);


However, for some reason at the inlet the static temperature drops near to absolute 0 Kelvin in spite of the fact That I have set the total temperature as constant and the scenario is a 2D simple channel. I believe that the issue now is with the relationship between static temperature and total temperature. I use the isentropic relations for calculating one as a function of the other but in Fluent when I plot the total temperature, it loops over my enthalpy function. I couldn´t find any enthalpy-total temperature-static temperature in the Fluent guides (2019).


Regarding the UDRGM examples I used the one available at 


https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v201/en/flu_ug/flu_ug_sec_real_gas_udrgm.html?q=User%20defined%20real-gas


where if I introduce the aforementioned functions for pressure and temperature lead me to the same issue that I am having. Therefore there isn't any fully functional UDRGM available in the theory guide that works with the newest versions.