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

Sample utility

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 4, 2010, 02:25
Default Sample utility
  #1
Senior Member
 
Join Date: Nov 2009
Posts: 111
Rep Power: 16
Gearb0x is on a distinguished road
Dear Foamers,

I'm trying to use the sample utility but this doesn't work... I'm using openfoam 1.6, simpleFoam.

here is my sampleDict :
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  1.0                                   |
|   \\  /    A nd           | Web:      http://www.openfoam.org               |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

FoamFile
{
    version         2.0;
    format          ascii;

    root        ".";
    case         "";
    instance        "system";
    local           "";

    class           dictionary;
    object          sampleDict;
}

interpolationScheme cellPoint;

setFormat raw;

sets
(
    leftPatch
    {    
        type uniform;
        axis xyz;
        start (-0.095 0.4 0); //0.0875856727361679
        end   (-0.02  0.4 0);
        nPoints 50;
    }
);

surfaces    ();

fields        (U);

// ************************************************************************* //
command : sample
here is the output :
Code:
iter:55420 at startPoint:(-0.02 0.4 0)
    node:112 octant:6 bb:(-0.02375 0.374062 -0.00109482) (-0.011875 0.4275 0)
    iter:55420 hit face:front at:(-0.02 0.4 0)
    node:112 octant:6 bb:(-0.02375 0.374062 -0.00109482) (-0.011875 0.4275 0)
    walking to neighbour containing:(-0.02 0.4 1.09482e-17)
    walked for point:(-0.02 0.4 0)
    to neighbour node:246 octant:2 face:back of octantBb:(-0.02375 0.374062 0) (-0.011875 0.4275 0.00109482)

iter:55421 at startPoint:(-0.02 0.4 0)
    node:246 octant:2 bb:(-0.02375 0.374062 0) (-0.011875 0.4275 0.00109482)
    iter:55421 hit face:back at:(-0.02 0.4 0)
    node:246 octant:2 bb:(-0.02375 0.374062 0) (-0.011875 0.4275 0.00109482)
    walking to neighbour containing:(-0.02 0.4 -1.09482e-17)
    walked for point:(-0.02 0.4 0)
    to neighbour node:112 octant:6 face:front of octantBb:(-0.02375 0.374062 -0.00109482) (-0.011875 0.4275 0)

iter:55422 at startPoint:(-0.02 0.4 0)
    node:112 octant:6 bb:(-0.02375 0.374062 -0.00109482) (-0.011875 0.4275 0)
    iter:55422 hit face:front at:(-0.02 0.4 0)
    node:112 octant:6 bb:(-0.02375 0.374062 -0.00109482) (-0.011875 0.4275 0)
    walking to neighbour containing:(-0.02 0.4 1.09482e-17)
    walked for point:(-0.02 0.4 0)
    to neighbour node:246 octant:2 face:back of octantBb:(-0.02375 0.374062 0) (-0.011875 0.4275 0.00109482)
and this never stopps. I tried to change the z coordinate for 0.0875856727361679 (because that is what parafoam was using when he ploted the data)
but this didn't work well either : it created a sets directory with 556 for the time, a field leftpatch_U.xy but with only four numbers...

Please does anyone know how to solve this problem?

Thanks for your help

Last edited by Gearb0x; May 4, 2010 at 02:42.
Gearb0x is offline   Reply With Quote

 


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
Sample Utility not working in OpenFoam 1.6 titio OpenFOAM Post-Processing 6 November 15, 2014 18:04
ParaView or Sample Utility ternik OpenFOAM 0 April 5, 2010 15:15
Understanding the coordinates of sample utility vishwa OpenFOAM Post-Processing 4 March 25, 2010 12:51
Sample Utility not working in OpenFoam 1.6 titio OpenFOAM Post-Processing 0 February 5, 2010 12:12
Sample utility not working in OpenFoam1.5 dev titio OpenFOAM Post-Processing 1 December 10, 2009 02:38


All times are GMT -4. The time now is 09:13.