Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation Fluids udf for defining density Reply To: udf for defining density

sjohn
Subscriber

Hi Rob, 
I would also like to implement density change based on temperature but use ideal gas law which requires pressure and temperature. How would I retrieve pressure of phase 2 in the above code? I am not at all familiar with UDF but had learnt the C programming language decades ago. 
Thanks.

[bingo_chatbox]