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

Can SU2 calculate inlet flow or exit flow

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Speng

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2021, 16:25
Default Can SU2 calculate inlet flow or exit flow
  #1
New Member
 
Join Date: Jan 2011
Posts: 22
Rep Power: 15
Speng is on a distinguished road
Hello, I'm just getting started with SU2 and I'm running the inviscid bump case and I was wondering how to calculate the mass flow thru an inlet or outlet surface? Can SU2 be made to do integral calculations on a given marker surface or would this be something I have to do in a postprocessing step? I figure this would be useful for internal flows.
Speng is offline   Reply With Quote

Old   September 15, 2021, 10:34
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 585
Rep Power: 17
bigfootedrockmidget is on a distinguished road
Hi,

You can add markers to MARKER_ANALYZE:

Code:
MARKER_ANALYZE= ( inlet, outlet )
and output the mass flow rate to the screen output:

Code:
SCREEN_OUTPUT= (INNER_ITER, SURFACE_MASSFLOW)
You will then get the total mass flow rate and the individual mass flow rates.
The keyword is part of the keyword group FLOW_COEFF_SURF, and you can output this group in the history file using:
Code:
HISTORY_OUTPUT= (FLOW_COEFF_SURF)

The keywords you can use for the screen output, and the values stores in the history file are:

Code:
SURFACE_MASSFLOW
SURFACE_MACH
SURFACE_STATIC_TEMPERATURE
SURFACE_STATIC_PRESSURE
AVG_DENSITY
AVG_ENTHALPY
AVG_NORMALVEL
SURFACE_UNIFORMITY
SURFACE_SECONDARY
SURFACE_MOM_DISTORTION
SURFACE_SECOND_OVER_UNIFORM
SURFACE_TOTAL_TEMPERATURE
SURFACE_TOTAL_PRESSURE
bigfootedrockmidget is offline   Reply With Quote

Old   September 15, 2021, 12:38
Default
  #3
New Member
 
Join Date: Jan 2011
Posts: 22
Rep Power: 15
Speng is on a distinguished road
Thanks.
how did you figure out this? Do I need to read the code or are there documentation features somewhere?
Speng is offline   Reply With Quote

Old   September 15, 2021, 13:46
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 585
Rep Power: 17
bigfootedrockmidget is on a distinguished road
Hi,

In this case, I checked the existing testcases, the piece of code in SU2_CFD/src/output/CFlowOutput.cpp and I asked an SU2 sage.
A user should expect this information in the su2code docs, specifically here :

https://su2code.github.io/docs_v7/Custom-Output/


This specific detail is not there, so we should add it.
bigfootedrockmidget is offline   Reply With Quote

Old   September 15, 2021, 17:52
Default
  #5
New Member
 
Join Date: Jan 2011
Posts: 22
Rep Power: 15
Speng is on a distinguished road
I started digging around in the User Guide in the Docs area. Also useful to run SU2_CFD -d <config file> which shows I/O options among other things.
Speng is offline   Reply With Quote

Reply


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
Reversed flow using pressure inlet and outlet? here_for_help FLUENT 0 September 28, 2018 15:20
Mass flow inlet boundary cond. dissappears! Ema40 Fluent Multiphase 4 October 21, 2015 11:19
How to define a fixed velocity for a given mass flow rate on inlet mqasimali FLUENT 2 April 12, 2013 17:24
Mass Flow Inlet Pravir Kumar Rai FLUENT 0 February 19, 2003 14:03
Mass Flow Inlet Pravir Kumar Rai FLUENT 0 February 17, 2003 19:23


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