|
[Sponsors] |
October 2, 2023, 16:21 |
How to list out and delete scheme variables?
|
#1 |
New Member
Daniel B
Join Date: Jul 2014
Posts: 20
Rep Power: 12 |
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 |
|
October 4, 2023, 03:45 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
1. create rp with specified name, for instance my_*rp_name*, later you may find them
2. https://stackoverflow.com/questions/...able-in-scheme
__________________
best regards ****************************** press LIKE if this message was helpful |
|
October 4, 2023, 10:11 |
|
#3 |
New Member
Daniel B
Join Date: Jul 2014
Posts: 20
Rep Power: 12 |
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! |
|
Tags |
fluent, rp var, scheme, tui |
|
|