CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

sample nPoints not correctly generated

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2022, 06:53
Default sample nPoints not correctly generated
  #1
New Member
 
Join Date: Aug 2022
Posts: 19
Rep Power: 3
shizuka is on a distinguished road
Hi everyone,

in `sample` file I specified that I want 1000 points in y-direction:

Code:
type            sets;
libs            (sampling);
interpolationScheme cellPointFace;
setFormat       raw;

fields          ( T );

sets
(
    data
    {
        type        uniform;
        axis        y; // distance;
        start       (7.5 0 0.05);
        end         (7.5 2.5 0.05);
        nPoints     1000;
    }
);
by running `sample`, there is indeed dataset in the postProcessing folder, however, it only has 40 rows, the range of the first column looks like (0, 0.1), while it's expected to be (0, 2.5) and 1000 rows.


Code:
0     275.062
0.0025025     275.037
0.00500501     275.012
0.00750751     275
0.01001     275
0.0125125     275
0.015015     275
0.0175175     275
0.02002     275
0.0225225     275
0.025025     275
0.0275275     275
0.03003     275
0.0325325     275
0.035035     275
0.0375375     275
0.04004     356.619
0.0425425     275
0.045045     275
0.0475475     275
0.0500501     275
0.0525526     275
0.0550551     275
0.0575576     275
0.0600601     275
0.0625626     275
0.0650651     275
0.0675676     275
0.0700701     275
0.0725726     275
0.0750751     275
0.0775776     275
0.0800801     275
0.0825826     275
0.0850851     275
0.0875876     275
0.0900901     275
0.0925926     275
0.0950951     275
0.0975976     275

I tried to set `axis` as `y` or `distance`, the outputs are actually the same.



What's the problem here? How can I fix it? Thank you!
shizuka is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conducting crack progration on sample with a hole in the middle of the crack path mazayiz Structural Mechanics 0 January 29, 2021 04:23
heat conducting in a solid domain Rogerio Fernandes Brito FLUENT 0 March 18, 2008 18:25
heat conducting in a solid domain Rogerio Fernandes Brito CFX 0 March 18, 2008 18:20
about my old post Rogerio Fernandes Brito CFX 1 February 8, 2008 20:19
CAE program for heat conducting Rogerio Fernandes Brito FLUENT 0 February 3, 2008 12:22


All times are GMT -4. The time now is 02:32.