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

obtaining transient results from multiple timestep files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2016, 07:28
Default obtaining transient results from multiple timestep files
  #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, using batch files and script files. I have gone through the CFD-Post users guide but still am lost.
Help me out guys.
suyesh is offline   Reply With Quote

Old   May 13, 2016, 10:52
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.

# 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 13, plotting, 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
Problem with an old Simulation FrankW CFX 3 February 8, 2016 05:28
Interpolating a results file onto multiple identical domains jtipton2 CFX 0 June 7, 2011 12:44
Error writing transient results in FSI Pocket CFX 1 April 15, 2010 07:57
Transient solution multiple CGNS files in Tecplot Ramses Galaz Tecplot 3 October 17, 2006 11:43
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


All times are GMT -4. The time now is 22:40.