|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Lars Hansen
Join Date: Nov 2024
Posts: 3
Rep Power: 2 ![]() |
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! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,255
Rep Power: 29 ![]() ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Lars Hansen
Join Date: Nov 2024
Posts: 3
Rep Power: 2 ![]() |
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! |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |