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

Accessing Mass Fraction Values and Plotting using TUI

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

Like Tree1Likes
  • 1 Post By ankur_kr

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2013, 01:34
Default Accessing Mass Fraction Values and Plotting using TUI
  #1
New Member
 
Ankur
Join Date: Jan 2013
Location: Austin, USA
Posts: 26
Rep Power: 13
ankur_kr is on a distinguished road
Hi,

I need to run my fluent-simulation in batch mode. I want to write a script to automatically run the simulation and save a plot of Mass-fraction of CO vs Y-axis coordinate as .jpg file. Before writing the shell script I wanted to see the sequence of text commands I need to execute.

So, I tried the /plot>plot... commands but I couldn't find how to access the mass fraction values in the TUI. Also this command only ends up writing the .XY file rather than plotting it on the screen. [ If the plot gets displayed on the screen, I could then use the /display>save-picture command to save the .jpg file ].

Using a macro could have been an option but I don't find an option to activate the macro at the end of computation (only options available were to specify certain time-steps or iterations).

Please help,

Ankur
ankur_kr is offline   Reply With Quote

Old   August 6, 2013, 20:44
Default solution to above problem
  #2
New Member
 
Ankur
Join Date: Jan 2013
Location: Austin, USA
Posts: 26
Rep Power: 13
ankur_kr is on a distinguished road
(for others who might face the same problem)

To access mass fraction of CO via TUI, I typed: solution co

My batch script file

/file/read-case rc1.cas
/file/read-data rc1.dat
/display/set/rendering-options
driver
null
q
/plot
plot-direction
0
-1
0
solution co
yes
11
()
()
q
/display
save-picture
co.jpg
/exit yes



Quote:
Originally Posted by ankur_kr View Post
Hi,

I need to run my fluent-simulation in batch mode. I want to write a script to automatically run the simulation and save a plot of Mass-fraction of CO vs Y-axis coordinate as .jpg file. Before writing the shell script I wanted to see the sequence of text commands I need to execute.

So, I tried the /plot>plot... commands but I couldn't find how to access the mass fraction values in the TUI. Also this command only ends up writing the .XY file rather than plotting it on the screen. [ If the plot gets displayed on the screen, I could then use the /display>save-picture command to save the .jpg file ].

Using a macro could have been an option but I don't find an option to activate the macro at the end of computation (only options available were to specify certain time-steps or iterations).

Please help,

Ankur
Dri likes this.
ankur_kr is offline   Reply With Quote

Reply

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
max node values exceed max element values in contour plot jason_t FLUENT 0 August 19, 2009 11:32
strange node values @ solid/fluid interface - help JB FLUENT 2 November 1, 2008 12:04
plotting volume fraction Falak. Siddiqui FLUENT 0 March 13, 2006 00:32
Plotting raw data values Wilesco Siemens 0 January 5, 2006 05:34


All times are GMT -4. The time now is 19:03.