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

Pressure parameter in paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2014, 03:51
Default Pressure parameter in paraview
  #1
New Member
 
Sachchit Vekaria
Join Date: Dec 2013
Posts: 18
Rep Power: 13
Sachchit is on a distinguished road
In SU2 v3.0.0 in the paraview output file how the parameter 'pressure' has been calculated? When I calculate pressure from pressure coefficient it is coming out different than the parameter 'pressure'. Is it p/(rho*U^2) or something else?
Sachchit is offline   Reply With Quote

Old   April 18, 2014, 10:28
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Quote:
Originally Posted by Sachchit View Post
In SU2 v3.0.0 in the paraview output file how the parameter 'pressure' has been calculated? When I calculate pressure from pressure coefficient it is coming out different than the parameter 'pressure'. Is it p/(rho*U^2) or something else?
Please check

http://www.cfd-online.com/Forums/su2..._flow-csv.html

for more details,

Best,
Francisco
fpalacios is offline   Reply With Quote

Old   April 19, 2014, 15:25
Default Still some problem
  #3
New Member
 
Sachchit Vekaria
Join Date: Dec 2013
Posts: 18
Rep Power: 13
Sachchit is on a distinguished road
Hi,

I have gone through the file but the formula seems to be the normal formula of Cp but the problem can be seen in the Images. Pressure is varying from 0.155 to 0.536 and Cp is varying from -1.23 to 1.29. Reference pressure is 101325 Pa. So ideally Cp should be -ve by that formula. By the way Cp is coming out accurate, verified by other other software suites. But I can't understand the value of pressure.
The formula of Pressure in that file is
Pressure = Gamma_Minus_One*Density*(node[iPoint]->GetSolution(nDim+1)/Density-0.5*Velocity2);
Can you please explain this formula?

Thanks in Advance.
Attached Images
File Type: jpg cp.jpg (17.2 KB, 27 views)
File Type: jpg pressure.jpg (16.9 KB, 22 views)
Sachchit is offline   Reply With Quote

Old   April 20, 2014, 09:42
Default
  #4
Zef
New Member
 
Join Date: Mar 2009
Posts: 13
Rep Power: 17
Zef is on a distinguished road
Sachchit, i don't understand your problem. The formula in your post is simply equation of state for perfect gas:
Pressure = (Gamma - 1)*Denstity*Internal_Energy.
node[iPoint]->GetSolution(nDim+1) is the last conservative variable, which equals to Density*Total_Energy, Total_Energy = Internal_Energy - 0.5*Velocity*Velocity, where Velocity is velocity magnitude (in your formula Velocity2 is squared velocity magnitude). So, node[iPoint]->GetSolution(nDim+1)/Density is total energy in specified point and (node[iPoint]->GetSolution(nDim+1)/Density-0.5*Velocity2) is the internal energy.
Zef is offline   Reply With Quote

Old   April 20, 2014, 10:04
Default
  #5
New Member
 
Sachchit Vekaria
Join Date: Dec 2013
Posts: 18
Rep Power: 13
Sachchit is on a distinguished road
Hi Zef,

Thanks for explaining formula. I am confused with Velocity2 being y-component of velocity. I have found out later that Velocity2 is square of velocity. But can you please explain the images that I have attached earlier? I am not able to understand the numbers which are coming up in Pressure. The Coefficient of Pressure is coming accurate and pressure calculated from that coefficient is also giving good results. But the problem lies in the Pressure shown by default from the SU2. I just want to know what it is?

Thanks Zef.
Sachchit is offline   Reply With Quote

Old   April 20, 2014, 20:08
Default
  #6
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Quote:
Originally Posted by Sachchit View Post
Hi Zef,

Thanks for explaining formula. I am confused with Velocity2 being y-component of velocity. I have found out later that Velocity2 is square of velocity. But can you please explain the images that I have attached earlier? I am not able to understand the numbers which are coming up in Pressure. The Coefficient of Pressure is coming accurate and pressure calculated from that coefficient is also giving good results. But the problem lies in the Pressure shown by default from the SU2. I just want to know what it is?

Thanks Zef.
I'm not sure if this is related (I need to check the config file) but, remember that SU2 can run dimensional or non-dimensional
for example if
REF_PRESSURE= 1.0
REF_TEMPERATURE= 1.0
REF_DENSITY= 1.0
then the code is running dimensional. You will find a description of the non-dimensionalization in http://su2.stanford.edu/documents/SU2_AIAA_ASM2013.pdf

Apart from that, the non-dimensionalization is implemented in
void CConfig::SetNondimensionalization(unsigned short val_nDim, unsigned short val_iZone)

in config_structure.cpp.

Best Regards,
Francisco
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
Pressure Outlet Guage pressure Mohsin FLUENT 36 April 29, 2016 18:16
static vs. total pressure auf dem feld FLUENT 17 February 26, 2016 14:04
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Pulsatile pressure inlet with pressure outlet a.lynchy FLUENT 3 March 23, 2012 14:45
lid-driven cavity in matlab using BiCGStab Don456 Main CFD Forum 1 January 19, 2012 16:00


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