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

static pressure coefficient

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2024, 13:33
Default static pressure coefficient
  #1
New Member
 
Lars Hansen
Join Date: Nov 2024
Posts: 3
Rep Power: 2
Babaji01 is on a distinguished road
Hello,


In order to validate the flow around an airfoil I need to calculate the static pressure coefficient at several locations.
How can I do this within Openfoam, using pressure functions. I don't understand how to set it up correctly.


Thanks!
Babaji01 is offline   Reply With Quote

Old   November 23, 2024, 06:45
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,255
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hello Lars,

You can use the pressure function object to compute the static pressure coefficient. This will compute a new variable. The exact setup may vary depending on which OpenFOAM branch/version you are using:

Then you can use the probes function object to retrieve the values on the desired locations. Or use the sampling functions to extract it along a line, etc...

Regards,
Yann
Yann is offline   Reply With Quote

Old   November 25, 2024, 16:41
Default Normal Surface component of velocity
  #3
New Member
 
Lars Hansen
Join Date: Nov 2024
Posts: 3
Rep Power: 2
Babaji01 is on a distinguished road
Hello Yann,


Thanks for your help, that worked perfect!


I also need to plot the normal surface component of the velocity regarding the wing. I can only get the component in x and Y direction. Do you know if there is any way in Openfoam to calculate that normal surface component (component in direction of the boundary layer)? Or do in have to calculate that outside of Openfoam?


Thanks!
Babaji01 is offline   Reply With Quote

Reply

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
What is difference between static pressure and gauge pressure? aja1345 FLUENT 1 July 20, 2018 21:05
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
Simple piston movement in cylinder- fluid models arun1994 CFX 4 July 8, 2016 03:54
lid-driven cavity in matlab using BiCGStab Don456 Main CFD Forum 1 January 19, 2012 16:00
Maintaining Static Pressure at Fluid Flow Inlet cdevalve FLUENT 3 January 14, 2012 01:11


All times are GMT -4. The time now is 08:27.