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

how to find Cp value. any methods

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 14, 2016, 07:51
Default how to find Cp value. any methods
  #1
New Member
 
Anuranga
Join Date: Aug 2015
Posts: 1
Rep Power: 0
Anuranga999 is on a distinguished road
how to find pressure co-efficient in openfoam ?
hope your kind consideration for this. im validation openfoam by using onera m6 wing
Anuranga999 is offline   Reply With Quote

Old   May 15, 2016, 01:47
Default
  #2
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15
Bazinga is on a distinguished road
You can get the pressure using probes (time history at specific points) or the sample utility (values at one time step). If you have the pressure, calculating the pressure coefficient can be done by yourself. For mean pressures you need to add information about the averaging in the controlDict file. Search the forum/web for information. Let me know if you have more questions.
Bazinga is offline   Reply With Quote

Old   May 15, 2016, 07:28
Default we dont know what are the pressure values and how to calculate Cp from it
  #3
New Member
 
kalpa lakmal
Join Date: Apr 2016
Location: srilanka
Posts: 3
Rep Power: 10
kalpa is on a distinguished road
Quote:
Originally Posted by Bazinga View Post
You can get the pressure using probes (time history at specific points) or the sample utility (values at one time step). If you have the pressure, calculating the pressure coefficient can be done by yourself. For mean pressures you need to add information about the averaging in the controlDict file. Search the forum/web for information. Let me know if you have more questions.
thank you sir for your consideration we are validating openfoam using OneraM6 wing. we used simplefoam and we modeled it in solid works and adding snappyhexmesh and done. we have postprocessing file and time variables afer done the simulation. but we dont know what are the pressure values and how to calculate Cp from it. we used K omega , SparateAlmaras models. plz be kind consider on that and give comments on that
kalpa is offline   Reply With Quote

Old   May 15, 2016, 07:33
Default
  #4
Senior Member
 
Join Date: Jun 2012
Location: Germany, Bochum
Posts: 230
Rep Power: 15
Bazinga is on a distinguished road
The pressure values for each time are stored in the time directories in the files named "p". look in any textbook to find the formulation of the pressure coefficient: is (total pressure-reference pressure) /dynamic pressure. The denominator is the value that you find in the "p" files.
Bazinga is offline   Reply With Quote

Old   May 15, 2016, 07:54
Default
  #5
New Member
 
kalpa lakmal
Join Date: Apr 2016
Location: srilanka
Posts: 3
Rep Power: 10
kalpa is on a distinguished road
Quote:
Originally Posted by Bazinga View Post
The pressure values for each time are stored in the time directories in the files named "p". look in any textbook to find the formualtion of the pressure coeffiecient:it is total (pressure-reference pressure) /dynamic pressure. Am on phone atm check the exact formula by yourself.
SIR each time there is a P foder, but it cant open, and also there is a Cuttingplane folder in postprocessing folder, in that folder P_yNormal.vtk and U_ynormal.vtk are there. In P_yNormal.Vtk file there are many values. is that pressure values or ?
kalpa is offline   Reply With Quote

Old   May 15, 2016, 10:36
Default
  #6
New Member
 
eu sou cfd
Join Date: Jun 2012
Location: Brazil
Posts: 18
Rep Power: 13
vikramaditya91 is on a distinguished road
Hello Kalpa. A quick search showed me this:

Quote:
Originally Posted by naveen View Post
hi all,

If you want to calculate the Cp from paraview, do the following procedure

1) convert the simulated results into vtk format
2) install the binary pack of paraview (later versions like 3.4, 3.6 or 3.8)
3) open the converted vtk format of the patches you want to calculate Cp (like wing, airfoil) in paraview
4) In paraview, at the left hand side, there is a function called split vertical command, click on that and click on spreadsheet view
5) after opening spread sheet view select the cells option or point option in paraview on right side of the paraview window
6) in that you wil get the pressures on all the cells on your patch
7) in the paraview window there is an option called file--------->export (export this into cvs file format)
8) open this cvs format in excell sheet and perform the calculations by using the formula Cp=(p-p0)/0.5*rho*v*v for 1 cell and drag all the values there...you wil get cp values for your patch


Regards

Naveen.K.M
CFD Engineer
National Aerospace Laboratories
Bangalore
You can read upon this, at http://www.cfd-online.com/Forums/ope...-openfoam.html
vikramaditya91 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 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
About multigrid methods Lionel S. Main CFD Forum 10 April 20, 2007 09:22
comments on FDM, FEM, FVM, SM, SEM, DSEM, BEM kenn Main CFD Forum 2 July 18, 2004 18:28
Vortex Methods. luiz Main CFD Forum 2 October 27, 2003 10:47


All times are GMT -4. The time now is 17:34.