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

Arithmetic average over last iterations

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2024, 11:00
Default Arithmetic average over last iterations
  #1
New Member
 
Amin
Join Date: Jun 2017
Location: Stuttgart
Posts: 7
Rep Power: 9
somboliak is on a distinguished road
Hello everyone,

I am currently calculating design parameters for an axial multi-stage compressor and need to determine the arithmetic average of several variables to design it properly.

One approach is to define monitor points, extract the data, and proceed with the analysis. However, I am dealing with a large number of parameters, and monitoring, for example, 15 variables at each interface is not efficient.

Does anyone have suggestions on how to calculate the arithmetic average without relying on monitoring points? In CFX-Post, I can easily calculate the average using "ave," but it differs from the one in SM due to differences in calculation methods.

Thanks in advance for your help!
somboliak is offline   Reply With Quote

Old   October 14, 2024, 11:37
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,866
Rep Power: 33
Opaque will become famous soon enough
You can create the monitor points, and activate the monitor statistics for each point. You can multi-select which statistics to compute for each monitor point

Which release version are you using?

Perhaps you have not explained the subtle details of your calculations? What exactly are you trying to simplify?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   October 14, 2024, 11:53
Default
  #3
New Member
 
Amin
Join Date: Jun 2017
Location: Stuttgart
Posts: 7
Rep Power: 9
somboliak is on a distinguished road
Hello,

I am using R23 and I would like to calculate various design parameters such as flow coefficient, degree of reaction, Mach number, and so on. I require these parameters for every passage, which means, for instance, 30 parameters (temperature, pressure, enthalpy, velocity components, etc.) at every interface. Therefore, for multistage, it is not an efficient method to define a monitoring point for each variable at each intersection.

In the post-processing , it is very easy to obtain the mass flow average for these parameters. However, I am interested in obtaining the arithmetic average of these parameters over, for example, the last 50 iterations.

Thank you for your assistance.
somboliak is offline   Reply With Quote

Old   October 14, 2024, 12:16
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,866
Rep Power: 33
Opaque will become famous soon enough
Quote:
Originally Posted by somboliak View Post
Hello,

I am using R23 and I would like to calculate various design parameters such as flow coefficient, degree of reaction, Mach number, and so on. I require these parameters for every passage, which means, for instance, 30 parameters (temperature, pressure, enthalpy, velocity components, etc.) at every interface. Therefore, for multistage, it is not an efficient method to define a monitoring point for each variable at each intersection.

In the post-processing , it is very easy to obtain the mass flow average for these parameters. However, I am interested in obtaining the arithmetic average of these parameters over, for example, the last 50 iterations.

Thank you for your assistance.
I do not see any advantage either way:
1- Either you type the expression once in the preprocessor, and monitor it with live data, or
2- You wait for the simulation to finish, type the exact same expression, manage to have the 50 values you need, and attempt to do it in the post-processor.

If your concern is the setting up of similar expressions multiple times, have you looked at "Ansys CFX power syntax via Perl". You can auto-generate the expressions, and import the model.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque 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
Maximum number of iterations exceeded chtmultiregionsimpleFoam Moncef OpenFOAM Running, Solving & CFD 28 July 13, 2020 15:26
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. Nkl OpenFOAM Running, Solving & CFD 19 October 10, 2019 03:42
Cannot run the code properly: very large time step continuity error crst15 OpenFOAM Running, Solving & CFD 9 December 14, 2014 19:17
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34


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