CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to find the Coefficient of Pressure (Cp) by adding function in controlDict file

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2019, 04:16
Post How to find the Coefficient of Pressure (Cp) by adding function in controlDict file
Gurpreet Singh
Join Date: Jan 2017
Posts: 36
Rep Power: 6
badwalgurpreet is on a distinguished road
Hi OpenFOAM Users,

I was trying to validate my NACA 0012 simulation case using OpenFOAM (Version 5.0x). I created Mesh on Pointwise and successfully run this simulation and compared results of (Coefficient of Lift and Drag ) with experimental results that I got from NAS Technical Report: NAS-2016-01.

The Inputs parameters were as follow:

(1): Free Stream Velocity = 45 m/s

(2): Mach Number = 0.13

(3): Free Stream Pressure ( (101325 pa) and Temperature (300 k )

(4): Density of air = 1.225

(5): Kinematic Viscosity = 1.4607*10^-5

(6): Reynolds Number = 3.0807 *10^6

(7): Turbulence model used: Spalart-Allmaras

I was trying to calculate the Coefficient of Pressure by adding a function in the controlDict file. I tried my best to figure it out that why I am not getting the postProcess Folder when I run this case. When I run simpleFoam in the terminal, it works fine but not producing postProcess Folder.

I am attaching the controlDict file here. Please suggest me where I am making mistake.


badwalgurpreet is offline   Reply With Quote

Old   February 12, 2019, 02:17
New Member
Join Date: Feb 2019
Posts: 14
Rep Power: 4
AlphaSierra is on a distinguished road
Hey Gurpreet,

Have a look at this thread once. It might help.

How to calculate the pressure coefficient around an airfoil!?

AlphaSierra is offline   Reply With Quote


coefficient of pressure, naca 0012, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 07:32
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51

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