|
[Sponsors] |
June 15, 2016, 17:00 |
Output data sets for each monitored surface
|
#1 |
New Member
Join Date: Jun 2016
Posts: 3
Rep Power: 10 |
Hi all,
I am struggling to discover how to have SU2 output separate data sets for multiple surfaces. For example, I have a cylinder in cross flow. Attached to that cylinder is a flat plate that is aligned so as to be roughly tangent to the surface of the cylinder. In the end, I would like to have 3 data sets: (1) the pressure distribution over the whole system, including cylinder and flap, (2) the pressure distribution on both sides of the flat plate, and (3) the pressure distribution over the cylinder. Another way of looking at it is: I want to find the contributions to lift from the cylinder and plate separately. I am currently specifying the cylinder surface and the plate surface in the "marker_monitoring" parameter in the configuration file. That gives me total lift, which is only part of what I'm looking for. Thanks for the help! |
|
June 18, 2016, 10:49 |
|
#2 | |
Senior Member
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14 |
Quote:
What you can do is to repeatedly run SU2_SOL, which will post-process the solution data and produce the surface plots without re-running the simulation. You would just need to change the value in MARKER_PLOTTING each time, and you make sure that you have the right restart file under the right name (usually restart_flow.dat - if SU2_SOL cannot find the file it is expecting, it will print an error saying what the file name ought to be). This will overwrite suface_flow.dat each time, unless you change SURFACE_FLOW_FILENAME in the config file. |
||
June 21, 2016, 13:44 |
|
#3 |
New Member
Join Date: Jun 2016
Posts: 3
Rep Power: 10 |
Thank you, hlk. That helps enormously.
|
|
November 12, 2020, 03:58 |
|
#4 |
Member
Giovanni Medici
Join Date: Mar 2014
Posts: 48
Rep Power: 12 |
I know this is an old post, but I'd like to know whether this feature (monitoring of the contribution in force and moments of each surface), has been added in the recent releases of SU2.
I wonder whether there is a snippet or python script available to perform what hlk kindly suggested, programmatically. Thanks! |
|
February 10, 2021, 16:57 |
|
#5 |
Member
Giovanni Medici
Join Date: Mar 2014
Posts: 48
Rep Power: 12 |
I answer to my own question as maybe also other users missed this native function in SU2 (tested in 7.1.0).
In order to have a report of the Forces (total, pressure and friction) and moment coefficients, of the zones (so to have a breakdown of the forces for each surface). It is as easy as adding to your cfg file the lines below: Code:
% Output file with the forces breakdown BREAKDOWN_FILENAME= forces_breakdown.dat WRT_FORCES_BREAKDOWN= YES Thanks to this post for providing me the right clue! |
|
March 29, 2022, 05:55 |
|
#6 | |
New Member
Join Date: Aug 2021
Posts: 2
Rep Power: 0 |
Quote:
|
||
March 29, 2022, 11:25 |
|
#7 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 654
Rep Power: 19 |
If what you are interested in is the lift and drag on individual surfaces, then you can add the marker names of the surfaces to MARKER_MONITORING and in the HISTORY_OUTPUT you say that you want to have LIFT_ON_SURFACE. This option below will give you the lift and drag of the individual surfaces as well as the total lift and drag:
Code:
MARKER_MONITORING= CYLINDER, FLAP HISTORY_OUTPUT= LIFT, DRAG, LIFT_ON_SURFACE, DRAG_ON_SURFACE Code:
HISTORY_OUTPUT= AERO_COEFF_SURF, FLOW_COEFF_SURF The lift and drag found in history.csv should be the same as what you can find with in forces_breakdown with the option Code:
WRT_FORCES_BREAKDOWN= YES |
|
Tags |
monitor |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Improved solver data output / tracking / visualization | chriss85 | OpenFOAM Running, Solving & CFD | 1 | May 13, 2015 08:55 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 11:52 |
saving Transient/Unsteady data of multiple surface integrals in single file | ankur gupta | FLUENT | 0 | February 22, 2012 14:59 |
Trying to Output Data from *Specific Zone* (e.g. axis of symmetry) Within 2D Domain | ksiegs2 | FLUENT | 1 | February 27, 2011 15:54 |
where is output data file[PHOENICS] | DSF | Main CFD Forum | 1 | June 8, 2000 10:15 |