|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Jan 2011
Posts: 22
Rep Power: 15 ![]() |
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.
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
Hi,
You can add markers to MARKER_ANALYZE: Code:
MARKER_ANALYZE= ( inlet, outlet ) Code:
SCREEN_OUTPUT= (INNER_ITER, SURFACE_MASSFLOW) 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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Jan 2011
Posts: 22
Rep Power: 15 ![]() |
Thanks.
how did you figure out this? Do I need to read the code or are there documentation features somewhere? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Join Date: Jan 2011
Posts: 22
Rep Power: 15 ![]() |
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.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
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 |