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

How to output the pitching moments ?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 4, 2020, 19:43
Default How to output the pitching moments ?
  #1
New Member
 
boling yang
Join Date: Jan 2011
Posts: 6
Rep Power: 11
boling2002 is on a distinguished road
I tried to output the pitching moment for the M6 wing, but it is always ignored by the solver. How can I turned it on ?

Thanks


% Screen output fields
SCREEN_OUTPUT = (INNER_ITER, RMS_DENSITY, RMS_NU_TILDE, LIFT, MOMENT-Y, DRAG)
boling2002 is offline   Reply With Quote

Old   February 5, 2020, 03:56
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 186
Rep Power: 6
talbring is on a distinguished road
Hi,

there seems to be a typo in the documentation and/or the code. The fields for the moments are called MOMENT_X, MOMENT_Y, MOMENT_Z

It is a little bit inconsistent with the rest of the fields and we might change that soon.

Thanks for the question!
__________________
Developer Director @ SU2 Foundation

Get involved:
talbring is offline   Reply With Quote

Old   February 5, 2020, 10:49
Default
  #3
New Member
 
boling yang
Join Date: Jan 2011
Posts: 6
Rep Power: 11
boling2002 is on a distinguished road
Thank you, and it works

Quote:
Originally Posted by talbring View Post
Hi,

there seems to be a typo in the documentation and/or the code. The fields for the moments are called MOMENT_X, MOMENT_Y, MOMENT_Z

It is a little bit inconsistent with the rest of the fields and we might change that soon.

Thanks for the question!
boling2002 is offline   Reply With Quote

Old   February 5, 2020, 11:55
Default
  #4
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 186
Rep Power: 6
talbring is on a distinguished road
Glad that it works. You can also use SU2_CFD -d <your_configfile> to get a list of all possible output fields (at least with v7.0.0, in v7.0.1 there is a small bug, which will be fixed in the next maintenance release)
__________________
Developer Director @ SU2 Foundation

Get involved:
talbring is offline   Reply With Quote

Old   February 5, 2020, 16:51
Default
  #5
New Member
 
cfdjetman
Join Date: Mar 2019
Posts: 19
Rep Power: 2
cfdjetman is on a distinguished road
How do I print out the adjoint results such as sensitivity etc. in both the history and surface files in SU2 v7? I managed to get the flow results. However, when I use the command SU2_CFD -d config.cfg file, I do not see how to print out the adjoint related results.


Thanks
cfdjetman is offline   Reply With Quote

Old   February 6, 2020, 10:50
Default
  #6
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 186
Rep Power: 6
talbring is on a distinguished road
Hi cfdjetman,

you have to set MATH_PROBLEM to DISCRETE_ADJOINT or CONTINUOUS_ADJOINT in order to see the fields available for the adjoint solvers.
__________________
Developer Director @ SU2 Foundation

Get involved:
talbring is offline   Reply With Quote

Old   February 11, 2020, 17:56
Default
  #7
New Member
 
cfdjetman
Join Date: Mar 2019
Posts: 19
Rep Power: 2
cfdjetman is on a distinguished road
Thanks, I was able to find the required options.


However, I ran into few problems.
1. When I use the parallel_computation.py script to run the cfd simulation over an airfoil, the surface_flow.csv only contains data from the leading edge to approx. 0.3*chord length. The rest of the data is missing.


2. When I use the discrete_adjoint.py script to run both the cfd and the adjoint simulations, the surface_adjoint.csv and surface_sens.csv only contains data from around 0.7*chord length to the trailing edge. The surface_flow.csv in this case has the exact same data as the surface_adjoint.csv file.


These are the settings I used to print out this data


% Screen output
SCREEN_OUTPUT=(INNER_ITER, RMS_DENSITY, RMS_NU_TILDE, LIFT, DRAG, SENS_GEO, SENS_AOA, RMS_ADJ_DENSITY, RMS_ADJ_NU_TILDE)
%
% History output groups (use 'SU2_CFD -d <config_file>' to view list of available fields)
HISTORY_OUTPUT= (ITER, RMS_RES, AERO_COEFF, AOA, WALL_TIME, MAX_RES, BGS_RES, SENSITIVITY)
%
% Volume output fields/groups (use 'SU2_CFD -d <config_file>' to view list of available fields)
VOLUME_OUTPUT= (COORDINATES, SOLUTION, PRIMITIVE, SENSITIVITY)
cfdjetman 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
[swak4Foam] outputTime in Swak function immortality OpenFOAM Community Contributions 19 November 25, 2018 06:40
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 07:16
RNG diverged during the analysis the flow over a multi element airfoil, why? s.m OpenFOAM Running, Solving & CFD 0 August 5, 2013 09:39
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34
lift and drag on ship superstructures vaina74 OpenFOAM Running, Solving & CFD 3 June 8, 2010 13:30


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