|
[Sponsors] |
Plotting transient results in cfd post or fluent |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 5, 2016, 10:59 |
Plotting transient results in cfd post or fluent
|
#1 |
New Member
Suyesh
Join Date: Mar 2016
Posts: 9
Rep Power: 10 |
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. |
|
May 13, 2016, 10:54 |
|
#2 |
New Member
Suyesh
Join Date: Mar 2016
Posts: 9
Rep Power: 10 |
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 |
|
Tags |
cfd post, fluent 14 to fluent 15., graphs, plots, transient |
|
|
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 |