How to output udf data

I have written a udf to calculate the rotational granular temperature in the grid, which can be run, but now the problem is that writing the code of calculation formula in usr1_des.f file, I don’t know how to output the data.This is the code for the relevant file! (2.1 KB)

Hi Xutong -

I believe this can be done with “user scalar tracking”

Once this is enabled, you can use either Output/VTK or Monitor to write out the data, depending on how you want to analyze it.

If you require further help, please attach your entire project, not just the usr1_des.f file. From the main menu, selecting ‘Submit bug report’ will create a ZIP file of the entire project.

– Charles

Thank you for your help!@cgw

1 Like