|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 153
Rep Power: 5 ![]() |
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;
}
);
|
|
|
|
|
|
|
|
|
#2 |
|
Member
Jose Rey
Join Date: Oct 2012
Posts: 84
Rep Power: 6 ![]() |
Mihai, Did you get this to work correctly?
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sampleDict - sampling data along a contour line in given height | Taylorreihe | OpenFOAM Post-Processing | 2 | February 14, 2012 02:46 |
| Plot Data from Probes | owayz | OpenFOAM Post-Processing | 15 | January 17, 2012 13:06 |
| "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 | CD-adapco | 5 | February 23, 2007 07:23 |