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

SU2 config file solver settings (Dimensional vs freestream_press_eq_one)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fpalacios

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2016, 02:53
Default SU2 config file solver settings (Dimensional vs freestream_press_eq_one)
  #1
New Member
 
shikhar
Join Date: Apr 2010
Posts: 22
Rep Power: 16
jaiswal is on a distinguished road
Hi all,

In SU2 config file solver settings, I am confused regarding flow non-dimensionalization. When should i use dimesional or when should i use freestream_press_eq_one? what is the difference? Will the results be different for both of them?

These are the lines from the SU2 config file:
% Flow non-dimensionalization (DIMENSIONAL, FREESTREAM_PRESS_EQ_ONE,
% FREESTREAM_VEL_EQ_MACH, FREESTREAM_VEL_EQ_ONE)
REF_DIMENSIONALIZATION= FREESTREAM_PRESS_EQ_ONE

Thanks in advance
jaiswal is offline   Reply With Quote

Old   January 27, 2016, 13:35
Default
  #2
Member
 
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 13
kmandar is on a distinguished road
Hi,

You may want to look at
CEulerSolver::SetNondimensionalization in solver_direct_mean.cpp

which has the equations for nondimensionalization.

Here is related thread.

Hope this helps,
Mandar
kmandar is offline   Reply With Quote

Old   February 13, 2016, 11:12
Default
  #3
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Remember that some numerical algorithms have been designed to work with nondimensionalized values. Our recommendation is to use FREESTREAM_PRESS_EQ_ONE.

When you run the code you can see the effect of the non dimensionalization in the console output.

For example:

Free-stream static pressure: 101325 Pa.
Free-stream total pressure: 154454 Pa.
Free-stream temperature: 273.15 K.
Free-stream density: 1.29225 kg/m^3.
Free-stream velocity: (264.994, 5.78219) m/s. Magnitude: 265.057 m/s.
Free-stream total energy per unit mass: 231152 m^2/s^2.
-- Reference values:
Reference specific gas constant: 287.058 N.m/kg.K.
Reference pressure: 101325 Pa.
Reference temperature: 273.15 K.
Reference density: 1.29225 kg/m^3.
Reference velocity: 280.018 m/s.
Reference energy per unit mass: 78409.9 m^2/s^2.
-- Resulting non-dimensional state:
Mach number (non-dim): 0.8
Specific gas constant (non-dim): 1
Free-stream temperature (non-dim): 1
Free-stream pressure (non-dim): 1
Free-stream density (non-dim): 1
Free-stream velocity (non-dim): (0.946348, 0.0206494). Magnitude: 0.946573
Free-stream total energy per unit mass (non-dim): 2.948

Maybe you can play with the different kinds of non-dimensionalization, and look at the console output.

Best,
Francisco
ari003 likes this.
fpalacios 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
[OpenFOAM.org] Patches to compile OpenFOAM 2.2 on Mac OS X gschaider OpenFOAM Installation 136 October 10, 2017 18:25
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 11:03
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18


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