CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   double output of sample utility (https://www.cfd-online.com/Forums/openfoam-post-processing/114501-double-output-sample-utility.html)

letzel March 12, 2013 06:10

double output of sample utility
 
Dear All,

apparently the sample routine outputs each line twice for my case. Contents of sampleDict:
Code:

setFormat csv;
surfaceFormat null;
interpolationScheme cellPoint;
fields
(
    s1
    s1av
);
sets
(
    lineX00H
    {
        type        uniform;
        axis        y;
        start      (36  0 28);
        end        (36 14 28);
        nPoints    20;
    }

    lineX05H
    {
        type        uniform;
        axis        y;
        start      (56  0 28);
        end        (56 14 28);
        nPoints    20;
    }

    lineX10H
    {
        type        uniform;
        axis        y;
        start      (76  0 28);
        end        (76 14 28);
        nPoints    20;
    }
);

Contents of sampled data, e.g. sets/200/lineX00H_s1_s1av.csv:
Code:

y,s1,s1av
0,0.000958515,0.00084235
0,0.000958515,0.00084235
0.736842,0.000478345,0.000272817
0.736842,0.000478345,0.000272817
1.47368,9.83722e-05,1.52814e-05
1.47368,9.83722e-05,1.52814e-05
2.21053,3.08025e-05,4.66974e-06
2.21053,3.08025e-05,4.66974e-06
2.94737,1.19787e-05,3.76905e-06
2.94737,1.19787e-05,3.76905e-06
3.68421,4.34634e-06,3.68068e-06
3.68421,4.34634e-06,3.68068e-06
4.42105,3.74201e-06,3.72633e-06
4.42105,3.74201e-06,3.72633e-06
5.15789,4.26161e-06,3.62729e-06
5.15789,4.26161e-06,3.62729e-06
5.89474,4.52711e-06,3.65199e-06
5.89474,4.52711e-06,3.65199e-06
6.63158,4.56686e-06,3.77515e-06
6.63158,4.56686e-06,3.77515e-06
7.36842,4.61806e-06,3.49155e-06
7.36842,4.61806e-06,3.49155e-06
8.10526,4.49185e-06,2.59839e-06
8.10526,4.49185e-06,2.59839e-06
8.84211,4.63256e-06,1.47202e-06
8.84211,4.63256e-06,1.47202e-06
9.57895,3.06314e-06,5.36525e-07
9.57895,3.06314e-06,5.36525e-07
10.3158,8.54054e-07,1.22053e-07
10.3158,8.54054e-07,1.22053e-07
11.0526,6.3404e-08,1.18302e-08
11.0526,6.3404e-08,1.18302e-08
11.7895,4.07578e-09,8.19401e-10
11.7895,4.07578e-09,8.19401e-10
12.5263,5.49794e-11,8.57334e-12
12.5263,5.49794e-11,8.57334e-12
13.2632,1.83113e-12,2.27867e-13
13.2632,1.83113e-12,2.27867e-13
14,1.92316e-14,7.53872e-15

This behaviour is independent of the value specified for nPoints. Any idea how I can get rid of the double lines?

Best regards,
Marcus


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