CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

TUI Commands from GUI?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 3 Post By Carlos

LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2008, 17:05
Default TUI Commands from GUI?
Posts: n/a

I have written a script file which opens fluent in batch mode, creates 126 points within my flow field and then 126 injections from those points. This works fine.

eg, to create a point the TUI command is:

surface/point-surface b1 0.1 0.2 0.3 (where b1=point name and numbers are three respective coordinates)

to create an injection from this point command is:

define/injections/create injection-b1 n y surface n b1 n n n n n n 0 0 0 1e-06 0

Next I need a TUI command to open the particle tracks panel in the GUI, to show data from one injection but to write to file using the step-by-step method - i.e. I dont want the data printed on screen or displayed in a GUI, I just want to write a file for later postprocessing in Excel. I can do this in the GUI but need to automate the procedure and do it in the TUI.

I can do some of the TUI commands but many options are simply not available! Its not clear why this is so. Any ideas anyone? Have searched the web but found nothing useful. Any help will be greatly appreciated - this could save me months!!


  Reply With Quote

Old   February 24, 2008, 04:35
Default Re: TUI Commands from GUI?
Posts: n/a

what commands are you exactly missing in TUI? You can try following: Open cas-File, perform GUI-command where you want to find out TUI command and save cas-File with new name. Afterwards compare these two case files, this should give you the needed TUI command(s) as only differences.

  Reply With Quote

Old   February 24, 2008, 06:50
Default Re: TUI Commands from GUI?
Carl Andrew Gilkeson
Posts: n/a
Hi BastiL,

Thank you for your response! Basically this is what I want the TUI to do:

1) Open particle tracks panel - no problem 2) Select the injection from which to release particle - this is the next thing to come up, again no problem. 3) Colour particles by residence time - no problem. Then it asks for min and max values - I don't use these when operating GUI!! At this point the TUI just displays the particle track - I DONT want this! The missing commands are:

4) Select write to file tab. 5) Select step-by-step method of calculation. 6) Select folder to write the .part file. 7) Save data. 8) Repeat steps 1-7 again for a different particle another 125 times.

The problem is BastiL that commands 4-8 just are not there! The TUI just doesn't give you these options at any stage and I'm pulling me hair out! I tried using a Journal to record my GUI steps and then find out what the commands were but there is no record of them!

When you say compare 2 case files before and after, how do you compare them? Is there a way to access the commands to I can figure out the TUI's?

The whole point of this idea is just to save time and automate the process of obtaining many data files from corresponding points. I spent a WEEK getting the data manually last week and of course it is easy to make errors in this way.

You will be a life saver if you can help, I'm sure there is a way otherwise this is a pretty flawed program in this regard!


  Reply With Quote

Old   February 25, 2008, 06:30
Default Re: TUI Commands from GUI?
Posts: n/a

In TUI interface, if you want to give default values(like max, min) you can use "," (comma) in the journal file. Try with this.

Hope it will help you

with regards, JSM
  Reply With Quote

Old   February 28, 2008, 06:25
Default Re: TUI Commands from GUI?
Posts: n/a
Thanks fellas. I got help from fluent support and to get the commands for writing the step-by-step method:

display/set/particle-tracks/report-type/step display/set/particle-tracks/report-to/file

also, if running automatically, you need to tell it not to display to screen if its in batch mode:

display/set/particle-tracks/display no

Hope this helps anybody in future....

  Reply With Quote

Old   January 3, 2012, 20:26
New Member
Jack cosby
Join Date: Jul 2011
Posts: 15
Rep Power: 14
3DmaniacSLDWRKS is on a distinguished road
Tnx for sharing
3DmaniacSLDWRKS is offline   Reply With Quote

Old   May 22, 2013, 18:05
Senior Member
Astio Lamar
Join Date: May 2012
Location: Pipe
Posts: 186
Rep Power: 14
asal is on a distinguished road

I have a similar problem as you had. I want to set the report type as summery.
So I do this:
display set particle-tracks report-type summary
and then:
display particle-tracks particle-tracks particle-resid-time
But I didn't got the summery, I got the same results as the
report-type off

any idea to how to got the summery ?
asal is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
How can I convert GUI journal to TUI journal harry FLUENT 7 December 4, 2013 16:28
OpenFOAM14 for Mac OSX Darwin 104 gschaider OpenFOAM Installation 118 July 20, 2008 05:19
how to use TUI commands inside UDF macros??? Giacomo de Renzi FLUENT 1 May 27, 2008 05:06
*** Missing TUI commands??? *** Carlos FLUENT 2 February 24, 2008 06:53
TUI commands logging??? carno FLUENT 6 August 23, 2007 01:21

All times are GMT -4. The time now is 20:02.