|
[Sponsors] |
April 20, 2010, 12:38 |
post processing tansient results
|
#1 |
Member
Join Date: Feb 2010
Posts: 33
Rep Power: 16 |
Hi,
I have run a transient simulation of a turbine. Now I would like to postprocess. I have mad 100 timesteps and got .trn results for each one (about 23 GB total). How can I for example plot the time averaged temperatre in a plane (average of all the 100 timesteps)??? I opne the .res file in CFD-post, and than? How do I load all these .trn files into the CFD-post??? Thank you very much!!!! By the way: Does anybody know a good tutorial for this time averaged problem?? Cheers |
|
April 20, 2010, 17:11 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Time averages are best done as the solver progresses. Have a look at the output options.
If you want to post-process time averages you will have to do that manually or by a script in CFD-Post. There are no functions built in to do it, to my knowledge. |
|
April 21, 2010, 04:12 |
|
#3 |
Member
Ali Torbaty
Join Date: Jul 2009
Location: Sydney, Australia
Posts: 72
Rep Power: 16 |
you need to use power syntax, see the example.
note:the following code could be executed in CFX POST command editor: ! @myTimeSteps = ("71","105","136"); # add your "solver steps" between brackets as they are listed in POST "Time Selector" ! $MyVariable = "Water.Superficial Velocity"; # put the variable of interset between quotes ! $MyPlane = "Plane zx"; # put the plane name here ! open(MyOutF,">C:/TimeAvgOut.csv") || die "Can't open file $!\n"; # this will create a Report file named "TimeAvgOut.csv" on root of C:\ drive ! $TStepsNo = @myTimeSteps; !print MyOutF "Time step , ",$MyVariable, "\n"; ! for ($i=0;$i<$TStepsNo;$i++){ > load timestep= $myTimeSteps[$i] ! $MyAvgVel = areaAve($MyVariable, $MyPlane,""); !print MyOutF $myTimeSteps[$i]," , ",$MyAvgVel, "\n"; !} ! close MyOutF; |
|
June 4, 2010, 02:24 |
|
#4 | |
Member
Ali Torbaty
Join Date: Jul 2009
Location: Sydney, Australia
Posts: 72
Rep Power: 16 |
Quote:
! $myTimeStepList = getValue("DATA READER", "Timestep List"); ! @myTimeSteps = split(/, /, $myTimeStepList); in case you want to do the calcs for all time steps, This will eliminate the need to extract the list of all time steps. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simplefoam post processing | stark22 | OpenFOAM Post-Processing | 1 | December 1, 2009 11:22 |
Post Processing free surface flows | Chris Wetton | CFX | 2 | February 14, 2008 08:14 |
Adding results in CFX 11 post | Dimitri | CFX | 0 | February 5, 2008 04:28 |
fluent for post processing | James | FLUENT | 0 | April 21, 2006 04:43 |
looking for a post processing s/w | han | Main CFD Forum | 0 | May 9, 2001 22:44 |