|
[Sponsors] |
Retrieve value of Scheme variable in TUI command |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 8, 2019, 11:49 |
Retrieve value of Scheme variable in TUI command
|
#1 |
New Member
Mark Lytell
Join Date: Apr 2019
Location: Chicago area
Posts: 4
Rep Power: 7 |
Hi,
I couldn't seem to find an answer to this particular type of problem. So here goes... In a Fluent Journal, I would like to define a string constant that contains the root name of the case file so that I can use the same string in other TUI commands, e.g., setting the root name for auto-save, etc.. This is what I did: ; define the case/data file name root (define casedatfileroot "./mdl-name-shell-cond-transient") ; define the case file path (define casefilepath (string-append casedatfileroot ".cas.gz")) These variables are defined, but when I try to read in the case file, using this command, /file/read-case (rpgetvar 'casefilepath) I get the errors: Error: File "(rpgetvar" not found! Error Object: #f invalid command ['casefilepath)] This is using Fluent 2019R3. Can someone please help me? The ANSYS documentation is essentially non-existent for this. |
|
Tags |
fluent, scheme language, tui command |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to save /adjoint/observable/evaluate result to scheme variable? | ProBioticum | Fluent UDF and Scheme Programming | 5 | October 8, 2019 08:55 |
[PyFoam] PyFoam 0.6.9 wrong path to gnuplot | klausb | OpenFOAM Community Contributions | 5 | March 15, 2018 14:28 |
I need help for TUI command | ringtail | FLUENT | 3 | September 8, 2010 10:31 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 04:35 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 20:09 |