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