CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Cannot get this to work...function object for plotting pressure (https://www.cfd-online.com/Forums/openfoam-post-processing/167668-cannot-get-work-function-object-plotting-pressure.html)

sture March 6, 2016 15:27

Cannot get this to work...function object for plotting pressure
 
My patch is wing01 and the function object is airPlaneSurface.



/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*--------------------------------------------------------------------------

airPlaneSurface //directory
{
type surfaces;

functionObjectLibs ( "libsampling.so" );

outputControl outputTime;
surfaceFormat vtk;
fields ( p U );
interpolationScheme cellPoint;

surfaces
(
wing01
{
type patch;
patches
(
// nose01
// body01
// tail01
// sting01
wing01
);
triangulate true;
}
);

filename airPlanePatch
}


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


All times are GMT -4. The time now is 21:13.