|
[Sponsors] |
September 14, 2015, 15:27 |
Nondimensional output from SU2
|
#1 |
Member
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 13 |
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. 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 |
|
September 15, 2015, 17:22 |
|
#2 |
New Member
Andrw Wendorff
Join Date: Apr 2014
Posts: 28
Rep Power: 12 |
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.
|
|
September 16, 2015, 12:24 |
|
#3 |
Member
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 13 |
Thanks, that helps!
|
|
Tags |
nondimensional output |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] outputTime in Swak function | immortality | OpenFOAM Community Contributions | 20 | October 6, 2022 13:08 |
wrong SU2 calculation for lift and drag coefficient for NAC4421 | mechy | SU2 | 7 | January 9, 2017 06:18 |
Question about SU2 optimization | YoniHe | SU2 Shape Design | 3 | January 15, 2016 01:31 |
best setting for SU2 | mechy | SU2 | 3 | April 20, 2014 20:13 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 07:16 |