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

Espression defining the difference to a "X iterations mean" of another expression

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2016, 13:10
Lightbulb Espression defining the difference to a "X iterations mean" of another expression
  #1
New Member
 
Björn
Join Date: Aug 2010
Location: Zürich
Posts: 18
Rep Power: 11
germinal is on a distinguished road
Hi :-)

I'm simulating a fan and I would like to stop the simulation when the "difference from mean" massFlow at outlet is equal 0 for a number of iterations.

Is there a way to define an expression (CFXpre) that gives the difference to mean of X iterations of an another expresion - as masFlow or areaAve of pressure...etc...?

Thank you!

Cheers

Bruno
germinal is offline   Reply With Quote

Old   September 1, 2016, 15:41
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,206
Rep Power: 24
Opaque will become famous soon enough
Which version of the software are you using ?

There is a newer mechanism to evaluate the "moving standard deviation" of an integrated expression such as the mass flow.
Opaque is offline   Reply With Quote

Old   September 3, 2016, 09:20
Default
  #3
New Member
 
Björn
Join Date: Aug 2010
Location: Zürich
Posts: 18
Rep Power: 11
germinal is on a distinguished road
Sorry!

ANSYS 17.1

No idea how can I do it.

Cheers :-)
germinal is offline   Reply With Quote

Old   September 5, 2016, 14:49
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,206
Rep Power: 24
Opaque will become famous soon enough
Create a monitor point, option = Expression and you should see the possibilities of evaluating several statistics on such expression.
Opaque is offline   Reply With Quote

Old   September 8, 2016, 08:59
Default
  #5
New Member
 
Björn
Join Date: Aug 2010
Location: Zürich
Posts: 18
Rep Power: 11
germinal is on a distinguished road
Hi Opaque

:-) yeah...thank you.

Actually I just need an "interrupt control" based on the monitor point. I am sure there is a way to do that (playing with the actual iteration) taking into account the statistics.

The question is how :-)

Cheers

B.
germinal is offline   Reply With Quote

Old   September 9, 2016, 02:26
Default
  #6
Member
 
Peter
Join Date: Sep 2011
Location: Germany
Posts: 39
Rep Power: 10
PeMo is on a distinguished road
You can access the statistics of monitor points with the "probe" command, e.g.: probe(Expression.Value.Arithmetic Average)@Monitor Point. Check the documentation for further details.
Then set it as an interrupt condition
PeMo 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
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 04:13
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 05:24
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 12:50


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