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

Monitor Statistics CFX 16.0

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By boubou

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2015, 05:18
Default Monitor Statistics CFX 16.0
  #1
New Member
 
Join Date: Apr 2015
Posts: 16
Rep Power: 11
boubou is on a distinguished road
Hi,
I have some questions about the new functionality Monitor Statistics in CFX 16.0.
With a CEL expression it is possible to access Monitor Values (here I use the arithmetic average of an expression) :
probe(Expression Value.Arithmetic Average)@example
Let’s assume that example uses a Moving Interval defined on 40 iterations.

When I try to use probe(Expression Value.Arithmetic Average)@example in CEL I have this error message :
Quote:
================================================== ====================
OUTER LOOP ITERATION = 1 CPU SECONDS = 1.621E+02

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine CEL_WRAP |
|
I think it’s because the moving interval needs 40 iterations to do the arithmetic average. At the Iteration 1 it is not defined. But, even if I write in CEL something like :
If( Accumulated Time Step < 40, 1 , probe(Expression Value.Arithmetic Average)@example)
I have still the same problem. Do you have a solution ?
boubou is offline   Reply With Quote

Old   July 10, 2015, 10:57
Default
  #2
New Member
 
Join Date: Apr 2015
Posts: 16
Rep Power: 11
boubou is on a distinguished road
Hi,

I have found the solution I post it if others have the same problem in the future.

My problem was that my inlet boundary condition depends on the expression probe(Expression Value.Arithmetic Average)@example (defined with a moving interval of 30 iterations). Consequently, the 30 first iterations, CFX can't do the calculation because the value of the expression doesn't exist. The solution is to make an artificial run just to initialize the second calculation.

Good bye
Mazze[ITA] likes this.
boubou is offline   Reply With Quote

Old   December 2, 2023, 02:20
Default
  #3
New Member
 
zh
Join Date: Oct 2023
Posts: 13
Rep Power: 3
zh&c is on a distinguished road
Please,Could you tell me how to solved it?
zh&c is offline   Reply With Quote

Old   December 2, 2023, 03:38
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Hasn't boubou described exactly what the problem is and how to fix it?

If you do not understand what boubou is saying, or it is not working for you then post a question on that.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 2, 2023, 03:59
Default
  #5
New Member
 
zh
Join Date: Oct 2023
Posts: 13
Rep Power: 3
zh&c is on a distinguished road
I have some questions about the new functionality Monitor Statistics in CFX
With a CEL expression it is possible to access Monitor Values (here I use the arithmetic sum of an expression) :
probe(Expression Value.Arithmetic Average)@example
Let’s assume that example uses a Moving Interval defined on 2 iterations.

When I try to use probe(Expression Value.Arithmetic sum)@example in CEL I have this error message :


| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine CEL_WRAP |
zh&c is offline   Reply With Quote

Old   December 2, 2023, 04:10
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Did you read boubou's post? It says:
Quote:
The solution is to make an artificial run just to initialize the second calculation.
So do a setup simulation without the function to get a few time steps history, then stop the simulation, restart with the function now activated and the first run as an initial condition.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 2, 2023, 04:19
Default
  #7
New Member
 
zh
Join Date: Oct 2023
Posts: 13
Rep Power: 3
zh&c is on a distinguished road
Sorry,I can not understand
zh&c is offline   Reply With Quote

Old   December 2, 2023, 04:31
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If the function you want is the moving average over 2 iterations, then:
* set up a simulation where you have removed the moving average function. Run it for 2 time steps.
* Do a simulation which now includes your moving average function, and use the result file of the first simulation as the initial condition.

This should run as you now have 2 time steps of history for the function to average over. Hopefully this works for you.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 2, 2023, 05:52
Default
  #9
New Member
 
zh
Join Date: Oct 2023
Posts: 13
Rep Power: 3
zh&c is on a distinguished road
Thank you!
I have tried the method you said but still show the error below

Follower partition: 5
Follower routine : ErrAction
Leader location : Message Handler
Message label : 001100279
Message follows below - :

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine CEL_WRAP
What should I do, please
zh&c is offline   Reply With Quote

Old   December 2, 2023, 06:06
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Please post your output file which shows this error.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 2, 2023, 06:34
Default
  #11
New Member
 
zh
Join Date: Oct 2023
Posts: 13
Rep Power: 3
zh&c is on a distinguished road
[IMG]file:///E:/ANSYS/res/WINKESSEL8-3_059.out[/IMG]
This is my Out.File?
Could you help me check it?
thank you
zh&c is offline   Reply With Quote

Old   December 2, 2023, 07:13
Default
  #12
New Member
 
zh
Join Date: Oct 2023
Posts: 13
Rep Power: 3
zh&c is on a distinguished road
Monitor Point: Q
Arithmetic Sum

Parallel run: Received message from follower
--------------------------------------------
Follower partition: 3
Follower routine : ErrAction
Leader location : Message Handler
Message label : 001100279
Message follows below - :

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine CEL_WRAP |
|
zh&c is offline   Reply With Quote

Old   December 2, 2023, 19:32
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Here is how to attach something to the forum: https://www.cfd-online.com/Wiki/Ansy...n_the_forum.3F
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   December 4, 2023, 15:12
Default
  #14
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
What version of the software are you running?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque 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
CFX Treatment of Laminar and Turbulent Flows Jade M CFX 18 September 15, 2022 08:08
High Resolution (CFX) vs 2nd Order Upwind (Fluent) gravis ANSYS 3 March 24, 2011 03:43
CFX pressure in Simulations problem nasdak CFX 1 April 14, 2010 14:22
PhD using CFX Rui CFX 9 May 28, 2007 06:59
FSI using CFX and ANSYS Bi Chang CFX 2 May 10, 2005 05:47


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