CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

plot trisurface sampling data in 3d

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 8, 2012, 16:42
Default plot trisurface sampling data in 3d
  #1
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16
mihaipruna is on a distinguished road
I want to display pressures over the surface of the STL file in 3d with something like OpenGL.
I was assuming I would get a sequence of points that form triangles but this is not the case. I don't get a number of points that is a multiple of 3.
This is my sampledict:

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      sampleDict;
}
setFormat csv;
surfaceFormat raw;
formatOptions
{
    ensight
    {
        format  ascii;
    }
}
interpolationScheme cellPoint;
fields
(
    p
    U
);
sets
(
);
surfaces
(
   
    triSurfaceSampling
    {
        type        sampledTriSurfaceMesh;
        surface     capri.stl;
        source      boundaryFaces;
        interpolate true;
        triangulate true;
    }
);
__________________
Mihai Pruna's Bio
mihaipruna is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plot Data from Probes owayz OpenFOAM Post-Processing 23 February 4, 2016 07:18
sampleDict - sampling data along a contour line in given height Taylorreihe OpenFOAM Post-Processing 3 October 27, 2013 19:17
"Data sampling for Time Statistics" Madhukar Rapaka FLUENT 2 June 20, 2011 11:28
recording data from the XY plot Karan Main CFD Forum 0 February 1, 2009 18:47
xy data from graph plot to excel Radhika Siemens 5 February 23, 2007 07:23


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