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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
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

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

Reply


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 03:18.