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

Nondimensional output from SU2

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By awendorff

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2015, 14:27
Default Nondimensional output from SU2
  #1
Member
 
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 12
kmandar is on a distinguished road
Hi,

I wanted to make sure that I am interpreting the output from SU2 correctly.

The flow.dat file has nondimensional values, calculated based on the reference values provided in the configuration files, right?

For example, for naca0012 quick start example, I have:
Code:
-- Reference values:
Reference specific gas constant: 287.058 N.m/kg.K.
Reference pressure: 101325 Pa.
Reference temperature: 288.15 K.
Reference density: 1.22498 kg/m^3.
Reference velocity: 287.603 m/s.
Reference energy per unit mass: 82715.8 m^2/s^2.
Since the example is for steady state 2D Euler computation, the (nondimensional) output variables are: Cons_1 (rho), Cons_2 (rhou), Cons_3 (rhov), Cons_4 (rhoet), p, T, Cp, M

So, I should get the dimensional output from these nondimensional values as:
p_dimensional = p*101325;
T_dimensional = T*288.15;

rho_dimensional = Cons_1*1.22498; (Because Cons_1 = rho)
rhou_dimensional = Cons_2*1.22498*287.603; (Because Cons_2 = rhou)
rhov_dimensional = Cons_3*1.22498*287.603; (Because Cons_3 = rhov)
rhoet_dimensional = Cons_4*82715.8; (Because Cons_4 = rhoet)

And finally I can get
u_dimensional = rhou_dimensional/rho_dimensional;
.. and so on

Is the above method correct way of obtaining dimensional values?




I realized that the following do not match:
rho_dimensional = 1.225476862346285 (as calculated above)
and
p_dimensional/(T_dimensional * 287.058) = 1.225474987792910

The two numbers should be equal, but they match only up to 5 decimals.

Am I doing the correct things here?

Thanks,
Mandar
kmandar is offline   Reply With Quote

Old   September 15, 2015, 16:22
Default
  #2
New Member
 
Andrw Wendorff
Join Date: Apr 2014
Posts: 28
Rep Power: 12
awendorff is on a distinguished road
This is done in solve_direct_mean.cpp. Look at lines 1958-2662. Primarily look at the places where variable_Ref where variable could be energy, length, density, etc. is set.
kmandar likes this.
awendorff is offline   Reply With Quote

Old   September 16, 2015, 11:24
Default
  #3
Member
 
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 12
kmandar is on a distinguished road
Thanks, that helps!
kmandar is offline   Reply With Quote

Reply

Tags
nondimensional output


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
[swak4Foam] outputTime in Swak function immortality OpenFOAM Community Contributions 20 October 6, 2022 12:08
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 05:18
Question about SU2 optimization YoniHe SU2 Shape Design 3 January 15, 2016 00:31
best setting for SU2 mechy SU2 3 April 20, 2014 19:13
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16


All times are GMT -4. The time now is 14:27.