How to output the pitching moments ?
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) |
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! |
Thank you, and it works :)
Quote:
|
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)
|
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 |
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. |
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) |
All times are GMT -4. The time now is 02:41. |