CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Pressure distribution around airfoil (http://www.cfd-online.com/Forums/openfoam-post-processing/115158-pressure-distribution-around-airfoil.html)

stater March 25, 2013 08:29

Pressure distribution around airfoil
 
Hi,

It's my first question in this forum and I hope a reply.
I'm trying to plot the pressure distribution around airfoil (just near the wall. Is there anyone who can help me to do that.
I'm using paraview and the results are obtained by OpenFOAM.
Thank your for your help

haakon March 25, 2013 12:06

This was discussed yesterday: http://www.cfd-online.com/Forums/ope...ing-chord.html I hope that you find your answer there.

msuaeronautics March 25, 2013 12:37

Stater,

An alternative method (compared to what's in that thread) is to just open the airfoil surface VTK file in Paraview and take a chordwise plane slice.

Once you've done this, open up the Spreadsheet View and select that slice in the small drop-down menu. Click File ---> Export Data (or something to that effect). This will export pressure at data points on that plane slice on the surface of the airfoil into a .csv file, which can be further manipulated.

Please let me know if you need any further help.

stater March 26, 2013 13:21

Hi haakon and msuaeronautics,

thank you for yours helps.
Finally I preferred the Fimiya method's mentioned in Haakon tread, it was easy to doing it. However I have problem with method using sampleDict.
I put sampleDict in system directory and I launched OP, but at the end I don't know where to go to plot the pressure using gnuplot

My sampleDict is as follow

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

setFormat gnuplot;

surfaceFormat raw;

fields
(
p
);

sets
(
TopAirfoil
{
type cloud;
axis x;
points ((0.0473 0.0168 0.000)(0.9452 0.2397 0.000));
}

bottomAirfoil
{
type cloud;
axis x;
points ((0.9452 0.2397 0.000)(0.0493 0.0090 0.000));
}
);

// ************************************************** ********************* //

Thinks again

s.m April 26, 2013 06:56

Quote:

Originally Posted by msuaeronautics (Post 416284)
Stater,

An alternative method (compared to what's in that thread) is to just open the airfoil surface VTK file in Paraview and take a chordwise plane slice.

Once you've done this, open up the Spreadsheet View and select that slice in the small drop-down menu. Click File ---> Export Data (or something to that effect). This will export pressure at data points on that plane slice on the surface of the airfoil into a .csv file, which can be further manipulated.

Please let me know if you need any further help.

hi stater, thanks for explaning us, i have a question:
how should we take a chordwise plane slice?
thank you very much:)


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