|
[Sponsors] |
July 28, 2016, 07:58 |
Sample utility - file name indexing problem
|
#1 |
New Member
Simo Sepponen
Join Date: Jun 2016
Posts: 8
Rep Power: 10 |
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); // ************************************************************************* // |
|
|
|
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 |