CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Data transfer from GUI to UDF (https://www.cfd-online.com/Forums/fluent-udf/232123-data-transfer-gui-udf.html)

loving_cfd November 30, 2020 20:46

Data transfer from GUI to UDF
 
Hello, my dears

I want to extract the value of the "Facet maximum" of a certain isosurface from GUI and use it to assign a variable in my udf.

I know there is a macro "Get_Report_Definition_Values" in version 18.0, but I have to run my case on the version of 14.5.

How can I do that on the Fluent 14.5?

Many thanks.

AlexanderZ November 30, 2020 21:09

you may try to write GUI value into rpvar and read it in UDF

loving_cfd December 1, 2020 01:07

Quote:

Originally Posted by AlexanderZ (Post 789402)
you may try to write GUI value into rpvar and read it in UDF

Thanks for your help.

I have saved the value of "Facet Maximum" in the "Output-Parameters". But how to define a rpvar and assgin it with the value of the Output-Parameters in the GUI or TUI?

Or to say, maybe there is any method to use the value of "Output-Parameters" in the UDF?

Could you give me more suggestions?


All times are GMT -4. The time now is 20:09.