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

How to list out and delete scheme variables?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AlexanderZ

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2023, 16:21
Default How to list out and delete scheme variables?
  #1
New Member
 
Daniel B
Join Date: Jul 2014
Posts: 20
Rep Power: 12
bgp723 is on a distinguished road
Hello,

I apologize if this has been posted before, but I didn't have much luck finding posts talking about this.

I've been using scheme variables with great success (thanks to hotin87's post here: How to change boundary conditions by judging the temperature of one point in fluent?), but I'm only at surface level of using these and don't really have much understanding of these.

Is there a way to list out only user defined rp variables? I found a post from 1999 from Scott Gilmore (RP_Get_Real and the scheme list! ) showing a command line that can list out all the rp vars, but as he says, the list it generates is huge as it lists out all the variables inherent to FLUENT. I have also tried searching the .cas file and have found my variables, but it doesn't really distinguish the user created rp variables as opposed to the variables that already is in Fluent, and since .cas files that I'm working with is long, it takes a long time to do a file search.

Also, this feels very silly, but I can't seem to find a way to delete an rp variable (I guess deleting could be dangerous). Fluent guide 12.0 (https://www.afs.enea.it/project/nept...df/node113.htm) only talks about rp var define, set, and get, but I don't see any mention of delete/dump.

I would appreciate any help or mention of resources I can read up on.

Thanks,
DB
bgp723 is offline   Reply With Quote

Old   October 4, 2023, 03:45
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
1. create rp with specified name, for instance my_*rp_name*, later you may find them
2. https://stackoverflow.com/questions/...able-in-scheme
bgp723 likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   October 4, 2023, 10:11
Default
  #3
New Member
 
Daniel B
Join Date: Jul 2014
Posts: 20
Rep Power: 12
bgp723 is on a distinguished road
Thank you Alex Z!
It never even crossed my mind that Scheme, with capital S, was an established programing language/dialect (hah! just goes to show how little I understood on this); I thought it was just a language scheme that Fluent implemented to allow more flexibility for the user.

Anyway, this gives me a lot to go off of. Thanks very much!
bgp723 is offline   Reply With Quote

Reply

Tags
fluent, rp var, scheme, tui


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



All times are GMT -4. The time now is 11:58.