CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Post-Processing

plot trisurface sampling data in 3d

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 8, 2012, 16:42
Default plot trisurface sampling data in 3d
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 190
Blog Entries: 1
Rep Power: 7
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:

    version     2.0;
    format      ascii;
    class       dictionary;
    object      sampleDict;
setFormat csv;
surfaceFormat raw;
        format  ascii;
interpolationScheme cellPoint;
        type        sampledTriSurfaceMesh;
        surface     capri.stl;
        source      boundaryFaces;
        interpolate true;
        triangulate true;
Mihai Pruna's Bio
mihaipruna is offline   Reply With Quote

Old   May 1, 2013, 15:38
Senior Member
JR22's Avatar
Jose Rey
Join Date: Oct 2012
Posts: 127
Rep Power: 8
JR22 will become famous soon enough
Mihai, Did you get this to work correctly?
JR22 is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plot Data from Probes owayz OpenFOAM Post-Processing 22 March 22, 2014 06:12
sampleDict - sampling data along a contour line in given height Taylorreihe OpenFOAM Post-Processing 3 October 27, 2013 20: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 19:47
xy data from graph plot to excel Radhika CD-adapco 5 February 23, 2007 08:23

All times are GMT -4. The time now is 03:46.