CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

Average of Expressions in Transient Run for Parameter Study

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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2012, 04:55
Default Average of Expressions in Transient Run for Parameter Study
New Member
Join Date: Jan 2012
Posts: 22
Rep Power: 14
BigPapi34 is on a distinguished road
Hi there,

I am currently working in Workbench and am setting up a parameter study with my own custom expressions being used for inlet and outlet parameters. I am able to obtain data and create the graph in Workbench when varying an inlet condition in a steady state run as it takes the final value of each outlet parameters.

However, I am looking to use the same procedure for a transient run. This is clearly more difficult as my output expressions are more or less sinusoidal. Is there any way of taking an average of the output parameter expressions over the simulation timesteps (even better, the last 25% of them) in the transient run in order to create the automated tables and graphs in workbench?

Any info would be great. Cheers.
BigPapi34 is offline   Reply With Quote

Old   August 7, 2012, 05:34
Dynampally Pavitran
Join Date: Mar 2010
Location: India
Posts: 74
Rep Power: 16
pavitran is on a distinguished road
Yes, what you are looking for is possible. It has to be set in CFX-PRE.

In CFX-Pre, under "output control tab", you can find "Trn Stats" and under that option, you can find the average option for variables.

And if you would like to have an average value of a particle variable at a particular location, you need to create an expression and a variable. For ex. to obtain an avergae value of torque of a blade, the following steps have to be followed:
  1. Create an expression in CFX-Pre for torque, for ex: if your axis of rotation in the z-axis: torque_z()@blade
  2. Create an additional variable with Type=Unspecified, Units=[N m], Tensor Type = Scalar
  3. Include the additional variable in your domain (under the Fluid Models tab), and set its value to be the expression-(algebraic equation)
  4. Now when you create a Transient Statistics object you will be able to pick the Additional Variable from the list of variables. You can also choose the start and end averaging time.
All the best
pavitran is offline   Reply With Quote


cel, cfx, expressions, parameter, workbench

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
Average values from transient result in StarCCM+ MK Siemens 2 January 19, 2009 09:15
mesh deformation in transient run Ichi CFX 1 July 27, 2005 18:26
Transient run and real time RK CFX 2 April 6, 2005 09:54
Error when changing timestep in transient run Tony CFX 4 December 8, 2004 14:13
transient run and residuals Mark Main CFD Forum 4 April 21, 2004 10:12

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