|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
boling yang
Join Date: Jan 2011
Posts: 6
Rep Power: 16 ![]() |
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) |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 ![]() |
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:
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
boling yang
Join Date: Jan 2011
Posts: 6
Rep Power: 16 ![]() |
Thank you, and it works
![]() |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 ![]() |
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:
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
cfdjetman
Join Date: Mar 2019
Posts: 25
Rep Power: 8 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Super Moderator
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11 ![]() |
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:
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
cfdjetman
Join Date: Mar 2019
Posts: 25
Rep Power: 8 ![]() |
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) |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] outputTime in Swak function | immortality | OpenFOAM Community Contributions | 20 | October 6, 2022 12:08 |
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 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 09:34 |
lift and drag on ship superstructures | vaina74 | OpenFOAM Running, Solving & CFD | 3 | June 8, 2010 12:30 |