CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF: "unable to find rpvar" when closing FLUENT and opening it up again

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2019, 04:11
Default 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
Jordaan6 is on a distinguished road
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??
Jordaan6 is offline   Reply With Quote

Old   June 12, 2019, 05:35
Default Still no luck
  #2
New Member
 
Haimi
Join Date: Jan 2019
Posts: 4
Rep Power: 7
Jordaan6 is on a distinguished road
Anyone have any ideas?
Jordaan6 is offline   Reply With Quote

Old   June 12, 2019, 05:58
Default Parallel solving suspicion
  #3
New Member
 
Haimi
Join Date: Jan 2019
Posts: 4
Rep Power: 7
Jordaan6 is on a distinguished road
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.
Jordaan6 is offline   Reply With Quote

Old   June 13, 2019, 02:50
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
how do you save your case?
rpvars are stored on host in case of parallel computation


best regards
AlexanderZ is offline   Reply With Quote

Old   June 13, 2019, 03:50
Default
  #5
New Member
 
Haimi
Join Date: Jan 2019
Posts: 4
Rep Power: 7
Jordaan6 is on a distinguished road
Quote:
Originally Posted by AlexanderZ View Post
how do you save your case?
rpvars are stored on host in case of parallel computation


best regards

Hi AlexanderZ,

I save it by simply exiting Fluent to Workbench. Should I be saving it another way?

best regards,
Jordaan6 is offline   Reply With Quote

Old   June 13, 2019, 03:54
Default
  #6
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
try following:
define your rpvars
save case file
close/open
read case file

best regards
AlexanderZ is offline   Reply With Quote

Old   June 13, 2019, 11:36
Default
  #7
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by Jordaan6 View Post
Hi AlexanderZ,

I save it by simply exiting Fluent to Workbench. Should I be saving it another way?

best regards,
but do you save the case when you exit Fluent? Sorry, gotta make sure.

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.
LuckyTran is offline   Reply With Quote

Old   April 17, 2024, 20:15
Default
  #8
New Member
 
Join Date: Dec 2019
Posts: 17
Rep Power: 6
Cfdjunior is on a distinguished road
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.
Cfdjunior is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 18:14.