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

Averaging during a steady state simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2013, 06:56
Default Averaging during a steady state simulation
  #1
say
New Member
 
say
Join Date: Sep 2009
Posts: 7
Rep Power: 17
say is on a distinguished road
HI,
my question is:

Is it possible to average a variable during a steady state simulation like in a transient calculation? I defined a variable "pressure recovery" and its value is swinging each Iteration. And I need a Expression or something like that, that can average the variable automatically. so i can monitor the value of it during the steady state simulation.
Can someone help me plz. I hope u understand my problem.
thanks
say is offline   Reply With Quote

Old   July 10, 2013, 08:23
Default
  #2
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 15
monkey1 is on a distinguished road
hmm...I would try writing an expression by myself and assigning its value to a variable.
But I don't know if it works in CFX as it would in a regular programming language.
I would try this:
expression ownaverage
sum_pressure_recovery=sum_pressure_recovery+pressu re_recovery
ownave=sum_pressure_recovery/number of iterations

and then create an own variable pressure_recovery_ave wich would be linked to the expression ownaverage

Just a guess...maybe it works...Or others may have an easier solution
monkey1 is offline   Reply With Quote

Old   July 10, 2013, 09:38
Default
  #3
say
New Member
 
say
Join Date: Sep 2009
Posts: 7
Rep Power: 17
say is on a distinguished road
thanks. i'm going to test it and give a response
say is offline   Reply With Quote

Old   November 3, 2015, 10:18
Default
  #4
Member
 
Lorenzo Mazzei
Join Date: Dec 2010
Posts: 60
Rep Power: 15
Mazze[ITA] is on a distinguished road
Dear say, did your solution work?
Mazze[ITA] is offline   Reply With Quote

Reply


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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Solver for transonic flow? Martin Hegedus OpenFOAM Running, Solving & CFD 22 December 16, 2015 05:59
Time step dependence of convergence behavior of steady state simulations in CFX Chander Main CFD Forum 5 December 23, 2013 06:31
Surface inejction- steady state - mass flow rate CFD-student FLUENT 0 January 25, 2012 14:40
steady state simulation manoj FLUENT 1 March 20, 2004 08:15


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