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

Questions about the output variables.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2023, 03:42
Default Questions about the output variables.
  #1
Member
 
Zhang
Join Date: Mar 2023
Posts: 72
Rep Power: 3
Amber0922 is on a distinguished road
Hello, everyone.
I have some questions about the output variables. I run an unsteady flow computation and want to get the time average flow field. I have seen the SU2 can define functions like AreaAvg or FlowAvg, so can SU2 output the time average result directly? Or is there any way that I can get it quickly?
Thanks in advance.
Amber0922 is offline   Reply With Quote

Old   May 6, 2023, 20:14
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
You can get the time-average value of an output or output group by adding TAVG_"output or group" to the screen or history output. For example, LIFT -> TAVG_LIFT, AERO_COEFF -> TAVG_AERO_COEFF
To get more information you can also use the dry run mode to list the available outputs, SU2_CFD -d config.cfg
pcg is offline   Reply With Quote

Old   May 8, 2023, 03:51
Default
  #3
Member
 
Zhang
Join Date: Mar 2023
Posts: 72
Rep Power: 3
Amber0922 is on a distinguished road
Quote:
Originally Posted by pcg View Post
You can get the time-average value of an output or output group by adding TAVG_"output or group" to the screen or history output. For example, LIFT -> TAVG_LIFT, AERO_COEFF -> TAVG_AERO_COEFF
To get more information you can also use the dry run mode to list the available outputs, SU2_CFD -d config.cfg
Thank you for your reply, I will try it again. I'm much obliged to you.
Amber0922 is offline   Reply With Quote

Old   May 8, 2023, 22:24
Default
  #4
Member
 
Zhang
Join Date: Mar 2023
Posts: 72
Rep Power: 3
Amber0922 is on a distinguished road
Quote:
Originally Posted by pcg View Post
You can get the time-average value of an output or output group by adding TAVG_"output or group" to the screen or history output. For example, LIFT -> TAVG_LIFT, AERO_COEFF -> TAVG_AERO_COEFF
To get more information you can also use the dry run mode to list the available outputs, SU2_CFD -d config.cfg
Sorry to bother you. I was wondering if it's possible to obtain the time-averaged information, such as pressure, after completing the entire calculation. Or do I need to list all the necessary information in the configuration file and then run it?
Amber0922 is offline   Reply With Quote

Old   May 9, 2023, 15:31
Default
  #5
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
You need to choose outputs before running
pcg is offline   Reply With Quote

Old   May 9, 2023, 22:31
Default
  #6
Member
 
Zhang
Join Date: Mar 2023
Posts: 72
Rep Power: 3
Amber0922 is on a distinguished road
Quote:
Originally Posted by pcg View Post
You need to choose outputs before running
Thank you so much for your incredibly generous help.
Amber0922 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
[swak4Foam] outputTime in Swak function immortality OpenFOAM Community Contributions 20 October 6, 2022 12:08
How to get Pressure Gradient and Density Gradient as Output Variables? badboyz31 CFX 2 June 26, 2015 03:09
How to control output time of pressureTools functions? Fluido OpenFOAM Post-Processing 1 May 19, 2014 08:49
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
RNG diverged during the analysis the flow over a multi element airfoil, why? s.m OpenFOAM Running, Solving & CFD 0 August 5, 2013 08:39


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