CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Visualization & Post-Processing

Plotting transient results in cfd post or fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2016, 10:59
Default Plotting transient results in cfd post or fluent
  #1
New Member
 
Suyesh
Join Date: Mar 2016
Posts: 9
Rep Power: 10
suyesh is on a distinguished road
I have run a transient simulation of a Pelton Turbine. I have divided areas on the surface of the turbine bucket and named them as I need. Now I need to plot the average pressure values of each named surface with respect to time. The Fluent plot allows me to plot pressure values with respect to distance and only for the last case file.
I can get the values manually by uploading each time step solution file but there must be an easier way!!!
Help me out guys.
suyesh is offline   Reply With Quote

Old   May 13, 2016, 10:54
Default
  #2
New Member
 
Suyesh
Join Date: Mar 2016
Posts: 9
Rep Power: 10
suyesh is on a distinguished road
I made the following batch file and automated the process for each surface. But i still had to run each result file. The graph was created in MS excel.

# Session file started: 2016/05/09 18:23:54
# CFX-15.0.7 build 2014.04.26-07.00-131803

# To avoid unnecessary file pre-processing and modifications, include
# COMMAND FILE at the top of your session file.
# If it is not included, the file is assumed to be older and will be
# modified for backward compatibility.
COMMAND FILE:
CFX Post Version = 15.0
END



! my $files = 'report101.xls';
! my $OUTFILE;
! open $OUTFILE, '>>', $files;


! @list = ("z1 1", "z1 2", "z1 3", "z2 1", "z2 2", "z2 3", "z3 1", "z3 2", "z3 3", "z4 1", "z4 2", "z4 3", "z5 1", "z5 2", "z5 3", "z6 1", "z6 2", "z6 3", "z7 1", "z7 2", "z7 3", "z8 1", "z8 2", "z8 3", "z9 1", "z9 2", "z9 3");


! $filepath = getValue("DATA READER","Current Results File");
! print { $OUTFILE } "\n$filepath\t";


! foreach $a (@list){
! print "Execute: $a\n";
! $surface = $a;
! $pressureVal = areaAve("Total Pressure",$surface);
! print "\nFor $filepath, Pressure at $surface is $pressureVal\n";
! print { $OUTFILE } "$pressureVal\t";
! }


! print "Completed!";
! close $OUTFILE;

> savestate filename=C:\Project files\0-5\File 0-5_files\dp0\Post\Post\\
Results.cst, mode=overwrite




# Session file stopped: 2016/05/09 18:27:07
suyesh is offline   Reply With Quote

Reply

Tags
cfd post, fluent 14 to fluent 15., graphs, plots, transient


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
Transient wall shear not available in CFD Post bongbang CFX 4 February 24, 2021 11:58
Post processing in CFD Post or Fluent. Blobs OpenFOAM Post-Processing 2 June 26, 2016 08:23
Collect transient results CFD POST mortain CFX 15 April 17, 2015 09:29
CFD Online Celebrates 20 Years Online jola Site News & Announcements 22 January 31, 2015 01:30
Create animation from FLUENT data in CFD Post? ptstorey FLUENT 2 January 30, 2015 10:41


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