|
[Sponsors] |
Calling a string variable in the tui via a journal. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2013, 14:08 |
Calling a string variable in the tui via a journal.
|
#1 |
New Member
Etienne
Join Date: Mar 2013
Posts: 2
Rep Power: 0 |
Hello everybody,
I'm new to fluent 6.3.26, and so far, this forum helped me so much! But on this one, I can't find any answer anywhere! So here's the deal : I'm currently learning how to code in scheme language, and how to handle the text user interface in the same time. And I dont find how to call in a journal (text user interface language) a string variable. Code:
(define name "my_project") (define path "C:\my_path\") (define path_transcript (string-append path name "_transcript.txt")) /file/start-transcript path_transcript I tried : (display path_transcript) (write path_transcript) But none of these worked! NB : another thing, I noticed that I couldn't end a string charactere with "\"... ? Which of course is kind of annoying when you have to set up directories of your computer... Any clue on that one? If you have any hints, I'd really appreciate! Thank you and have a nice day! |
|
May 2, 2013, 10:22 |
|
#3 |
New Member
Etienne
Join Date: Mar 2013
Posts: 2
Rep Power: 0 |
Since I didn't manage to call a variable using the tui commands, I got around the issue by using the unix command sed (aka stream editor) which is really handy to script in batch for massive search and replaces.
And in the end... I had to escape my slash indeed! So huge thanks, Blackmask, for the idea! |
|
Tags |
journal file, string, tui |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I convert GUI journal to TUI journal | harry | FLUENT | 7 | December 4, 2013 17:28 |
emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 10:14 |
How to get TUI journal | ringtail | FLUENT | 5 | July 18, 2010 12:51 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 05:35 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |