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 Rocky UDF Reply To: Rocky UDF

Saeed
Subscriber

all parameters are double. 

I also noticed another issue. in line 155 , cdiss1=cdissolved1/group.volume. I have added cdiss1 and cdissolved1 as an output and realized that cdissolved1/cdiss1 is not the value of volume which was added as an input and mathematically is not working correctly. 

Do you have any suggestions about that ? I can copy and past the whole code here if it can help you.

Thanks

[bingo_chatbox]