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/)
-   -   a custom surface for sampling. (https://www.cfd-online.com/Forums/openfoam-post-processing/127738-custom-surface-sampling.html)

fedvasu December 18, 2013 15:22

a custom surface for sampling.
 
So, I am running this openfoam simulation and I need areaAverage velocity and pressure on a surface,currently the entire plane is being read, I wan't to specify my own in sampleSurfaceDict,

new_plane
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
enabled true;
outputControl timeStep;
log true;
valueOutput true;
source sampledSurface;
//setFormat raw;
surfaceFormat vtk;


sampledSurfaceDict
{
type plane; // always triangulated
basePoint (0 -1.5 0);
normalVector (0 -1 0);
}
operation areaAverage;
fields
(
p
U
);
}


is there a type circle? or a way to specify radius? in sampledSurfaceDict

sampledSurfaceDict
{
type plane; // always triangulated
basePoint (0 -1.5 0);
normalVector (0 -1 0);
}

I don't have any access to software which can produce stl for 2D/3D surfaces. triSurfaceMesh needs that.


All times are GMT -4. The time now is 12:11.