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

Sample utility - file name indexing problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2016, 07:58
Default Sample utility - file name indexing problem
  #1
New Member
 
Simo Sepponen
Join Date: Jun 2016
Posts: 8
Rep Power: 10
sepponen is on a distinguished road
Hello,

I have a problem using the sample utility. I want to sample data from a surface and write it to VTK-format and use ParaView for viewing the sampled data. The data is written to postProcessing directory. However the files of different time steps have the same name, but they are written to different time directories. Since there isnt't any index in the file names ParaView isn't able to put the files in the right order. Has anyone solved this kind of problem?

Here is the sampleDict file:
Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

interpolationScheme cellPoint;

setFormat       gnuplot // raw;

sets
(
    midLine
    {
        type    uniform;
        axis    y;
        start   (0 0 0);
        end     (0 1.88 0); // midline of the geometry
        nPoints 100;
    }
);


surfaceFormat vtk;

surfaces
(
        myPlane
         {
          type plane;
          basePoint (0 0.5 0); // a point from the midline
          normalVector (0 1 0); // normal vector that is pointing in the y-direction
          triangulate false;
        }
);

fields          (U.particles p alpha.particles);


// ************************************************************************* //
sepponen is offline   Reply With Quote

Reply


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
wmake compiling new solver mksca OpenFOAM Programming & Development 14 June 22, 2018 07:29
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 04:04
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57


All times are GMT -4. The time now is 07:00.