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/)
-   -   sampleDict format for getting pressures on surfaces (https://www.cfd-online.com/Forums/openfoam-post-processing/100123-sampledict-format-getting-pressures-surfaces.html)

mihaipruna April 20, 2012 14:19

sampleDict format for getting pressures on surfaces
 
Is this right? I don't get any info in the surface folders after running the sample command. Maybe I have to se the surfaceFormat to something else? All I want is to get x,y,z and pressure.

FoamFile
{
version 2.0;
format ascii;
class dictionary;
object sampleDict;
}


setFormat csv;

surfaceFormat null;

formatOptions
{
ensight
{
format ascii;
}
}

interpolationScheme cellPoint;

fields
(
p
);

sets
(

);


surfaces
(


triSurfaceSampling
{

type sampledTriSurfaceMesh;
surface stl_file_in_trisurface_folder.stl;
source boundaryFaces;
interpolate true;
}
);


All times are GMT -4. The time now is 05:58.