|
[Sponsors] |
UDF: "unable to find rpvar" when closing FLUENT and opening it up again |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 11, 2019, 04:11 |
UDF: "unable to find rpvar" when closing FLUENT and opening it up again
|
#1 |
New Member
Haimi
Join Date: Jan 2019
Posts: 4
Rep Power: 7 |
Hello guys,
I have defined schemer variables by using rp-var-define in the TUI. I access these variables in my udf using RP_Get_... and everything works great. but as soon as I close fluent and open it up again through Workbench, the UDF returns "unable to find rpvar". Even though in the TUI when I use rpgetvar it returns the correct value. Any thoughts?? |
|
June 12, 2019, 05:35 |
Still no luck
|
#2 |
New Member
Haimi
Join Date: Jan 2019
Posts: 4
Rep Power: 7 |
Anyone have any ideas?
|
|
June 12, 2019, 05:58 |
Parallel solving suspicion
|
#3 |
New Member
Haimi
Join Date: Jan 2019
Posts: 4
Rep Power: 7 |
I think the problem is due to the fact that I am solving in parallel and with the reboot of FLUENT the current rpvars are distributed to different nodes or something like that. I'm not very sure nor have much experience with this type of problem.
|
|
June 13, 2019, 02:50 |
|
#4 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
how do you save your case?
rpvars are stored on host in case of parallel computation best regards |
|
June 13, 2019, 03:50 |
|
#5 |
New Member
Haimi
Join Date: Jan 2019
Posts: 4
Rep Power: 7 |
||
June 13, 2019, 03:54 |
|
#6 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
try following:
define your rpvars save case file close/open read case file best regards |
|
June 13, 2019, 11:36 |
|
#7 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
Quote:
either you are not saving the scheme variable (please make sure you're saving your cases when you exit) or the scheme variable is not being saved. If the latter, then you need to define it whenever you launch. |
||
April 17, 2024, 20:15 |
|
#8 |
New Member
Join Date: Dec 2019
Posts: 17
Rep Power: 6 |
Were you able to get your solution ? Currently I am facing the same issue . Howwever in my case , I am running using multiple processors(Using 20 processors ) to run the simulation and also running multiple design points.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple question: Opening Fluent from Workbench vs opening directly? | Ericson | FLUENT | 6 | April 19, 2023 12:15 |
UDF: "unable to find rpvar" when closing FLUENT and opening it up again | HaimiJordaan | Fluent UDF and Scheme Programming | 0 | June 10, 2019 14:12 |
UDF Defining in ANSYS FLUENT 16.2 in Win 10 | Sadegh.A | Fluent UDF and Scheme Programming | 11 | February 15, 2017 15:45 |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 01:53 |
Fluent (ANSYS12) UDF Help, PLEASE! Urgent! | ANITIX87 | FLUENT | 21 | April 12, 2011 04:55 |