CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   sampledict triangulate option (http://www.cfd-online.com/Forums/openfoam-post-processing/101457-sampledict-triangulate-option.html)

mihaipruna May 4, 2012 09:04

sampledict triangulate option
 
I was expecting that with it is enabled, I would get triangles with reference to point coordinates but I am still getting points and values. Are the points ordered such that they form triangles, first three points one triangle, next three etc?
I will paste my sampledict file and the output for one of the patches:

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
(
    Loft1face1
    {
    type patch;
    patches (Loft1face1);
    interpolate true;
    triangulate true;
    }
    SDuctOutlet
    {
    type patch;
    patches (SDuctOutlet);
    interpolate true;
    triangulate true;
    }
    SDuctInlet
    {
    type patch;
    patches (SDuctInlet);
    interpolate true;
    triangulate true;
    }
    Loft1face4
    {
    type patch;
    patches (Loft1face4);
    interpolate true;
    triangulate true;
    }
);


Code:

# U  POINT_DATA 7097
#  x  y  z  U_x  U_y  U_z 
2 0.0781477 0.11495 85.6798 10.1005 -3.96718
2 0.0762097 0.110852 52.6009 6.25409 -2.42439
2 0.0786556 0.110967 47.1805 5.5515 -2.11188
2 0.330683 0.245773 38.5391 2.0631 -1.51814
2 0.334404 0.247328 69.3867 3.95445 -2.94091
2 0.330466 0.247912 38.3531 2.03251 -1.60508
2 0.0853561 0.115187 47.0342 5.66036 -2.25186
2 0.0851797 0.11928 88.2419 10.8025 -4.09426
2 0.0806852 0.119793 87.2843 10.5797 -4.14337
2 0.0816786 0.115169 47.0342 5.66036 -2.25186
2 0.0854702 0.123085 47.0342 5.66036 -2.25186
2 0.0827084 0.123169 86.0701 10.2774 -4.17926
2 0.0994542 0.139085 87.7788 10.5489 -4.10024
2 0.0958764 0.139016 87.9445 10.7043 -4.08097
2 0.0959818 0.135046 86.149 10.2277 -4.14657
2 0.0996657 0.134979 87.7788 10.5489 -4.10024
2 0.316592 0.245796 35.154 1.77078 -2.021



All times are GMT -4. The time now is 21:26.