|
[Sponsors] |
SU2 config file solver settings (Dimensional vs freestream_press_eq_one) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 27, 2016, 02:53 |
SU2 config file solver settings (Dimensional vs freestream_press_eq_one)
|
#1 |
New Member
shikhar
Join Date: Apr 2010
Posts: 22
Rep Power: 16 |
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 |
|
January 27, 2016, 13:35 |
|
#2 |
Member
Mandar Kulkarni
Join Date: Nov 2013
Location: Virginia Tech, Blacksburg, VA
Posts: 52
Rep Power: 13 |
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 |
|
February 13, 2016, 11:12 |
|
#3 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
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 |
|
|
|
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 |