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

post processing tansient results

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2010, 13:38
Default post processing tansient results
  #1
Member
 
Join Date: Feb 2010
Posts: 33
Rep Power: 16
blackbody is on a distinguished road
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
blackbody is offline   Reply With Quote

Old   April 20, 2010, 18:11
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   April 21, 2010, 05:12
Default
  #3
Member
 
Ali Torbaty
Join Date: Jul 2009
Location: Sydney, Australia
Posts: 72
Rep Power: 16
AliTr is on a distinguished road
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;
Attached Files
File Type: txt Report_transient.txt (695 Bytes, 37 views)
AliTr is offline   Reply With Quote

Old   June 4, 2010, 03:24
Default
  #4
Member
 
Ali Torbaty
Join Date: Jul 2009
Location: Sydney, Australia
Posts: 72
Rep Power: 16
AliTr is on a distinguished road
Quote:
Originally Posted by AliTr View Post
! @myTimeSteps = ("71","105","136"); # add your "solver steps" between brackets as they are listed in POST "Time Selector"
just wanted to amend the above line with:

! $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.
AliTr 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
simplefoam post processing stark22 OpenFOAM Post-Processing 1 December 1, 2009 12:22
Post Processing free surface flows Chris Wetton CFX 2 February 14, 2008 09:14
Adding results in CFX 11 post Dimitri CFX 0 February 5, 2008 05:28
fluent for post processing James FLUENT 0 April 21, 2006 05:43
looking for a post processing s/w han Main CFD Forum 0 May 9, 2001 23:44


All times are GMT -4. The time now is 08:43.