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

Output data sets for each monitored surface

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 1 Post By danielcollins
  • 3 Post By hlk
  • 1 Post By bigfootedrockmidget

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2016, 17:00
Default Output data sets for each monitored surface
  #1
New Member
 
Join Date: Jun 2016
Posts: 3
Rep Power: 10
danielcollins is on a distinguished road
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!
imech_origin likes this.
danielcollins is offline   Reply With Quote

Old   June 18, 2016, 10:49
Default
  #2
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
Quote:
Originally Posted by danielcollins View Post
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!
Thanks for your question. Unfortunately this capability is not currently available.
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.
hlk is offline   Reply With Quote

Old   June 21, 2016, 13:44
Default
  #3
New Member
 
Join Date: Jun 2016
Posts: 3
Rep Power: 10
danielcollins is on a distinguished road
Thank you, hlk. That helps enormously.
danielcollins is offline   Reply With Quote

Old   November 12, 2020, 03:58
Default
  #4
Member
 
Giovanni Medici
Join Date: Mar 2014
Posts: 48
Rep Power: 12
giovanni.medici is on a distinguished road
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!
giovanni.medici is offline   Reply With Quote

Old   February 10, 2021, 16:57
Default
  #5
Member
 
Giovanni Medici
Join Date: Mar 2014
Posts: 48
Rep Power: 12
giovanni.medici is on a distinguished road
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!
giovanni.medici is offline   Reply With Quote

Old   March 29, 2022, 05:55
Default
  #6
New Member
 
Join Date: Aug 2021
Posts: 2
Rep Power: 0
imech_origin is on a distinguished road
Quote:
Originally Posted by danielcollins View Post
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!
Have you found a way to output data for each surface without rerunning your simulation?
imech_origin is offline   Reply With Quote

Old   March 29, 2022, 11:25
Default
  #7
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
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
Or use

Code:
HISTORY_OUTPUT= AERO_COEFF_SURF, FLOW_COEFF_SURF
for all fields in these groups

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
imech_origin likes this.
bigfootedrockmidget is offline   Reply With Quote

Reply

Tags
monitor


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
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


All times are GMT -4. The time now is 23:45.