|
[Sponsors] |
August 24, 2017, 10:07 |
Error: UDf-scheme connectivity
|
#1 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
Hi all,
I started building a GUI for my collection of UDFs, but I'm running into trouble. I designed the scheme file pretty much analogous to the example in the fluent manual, and that part seems to work. However, when I click OK to start the execute_from_GUI UDF, it gives me an error (UDF was properly compiled). The error is: ERROR: rpgetvar: MetaUDF/SWITCH_WritePartData: undefined variable. It seems the following line (and all similar lines after that) isn't working Code:
if(RP_Get_Boolean("MetaUDF/SWITCH_WritePartData")) |
|
August 25, 2017, 00:53 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Try using only lowercase letters for variables both in scheme file and UDF.
Code:
MetaUDF/SWITCH_WritePartData -> metaudf/switch_writepartdata Best regards, Zorin Alexander Last edited by AlexanderZ; August 25, 2017 at 01:10. Reason: 1 |
|
August 25, 2017, 04:03 |
|
#3 |
Senior Member
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0 |
It's solved, however the solution was... different.
Apperantly, the issue was not in the rp-variable. the parameter was still included as a definition macro, from previous versions. Of course trying to assign an rp-variable to a macro didn't work out too well. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to understand high resolution scheme and high order scheme | iilw1314 | Main CFD Forum | 7 | April 12, 2022 13:29 |
can you tell me best gradient, pressure & momentum order selection in fluent | sanjiiv | FLUENT | 6 | February 14, 2020 07:07 |
Scheme - UDF connectivity: RPgetvar not working | CeesH | Fluent Multiphase | 0 | August 24, 2017 08:10 |
Suitable scheme for node connectivity | Simbelmynė | Main CFD Forum | 1 | March 25, 2015 12:01 |
2nd order upwind scheme (Fluent and CFX) | Far | FLUENT | 0 | May 22, 2011 02:50 |