|
[Sponsors] |
postProcess -func sampleDict does not create output folder |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Trent
Join Date: Jun 2017
Location: Fresno, California USA
Posts: 4
Rep Power: 5 ![]() |
Hello,
As stated in the title, the function postProcess -func sampleDict is not returning any data. This has only happened once I repurposed my sampleDict to sample values on an arbitrary plane; when I ran the same function for a sampleDict sampling along an arbitrary line, a postProcessing directory was returned containing all the data. My sampleDict file is below: Code:
FoamFile { version 2.0; format ascii; class dictionary; object sampleDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // surfaceFormat raw; interpolationScheme cell; sets(); surfaces ( constantPlane { type plane; // always triangulated basePoint (0.05 0.05 0.3); normalVector (0 0 1); } ); fields ( Uz ); |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Trent
Join Date: Jun 2017
Location: Fresno, California USA
Posts: 4
Rep Power: 5 ![]() |
I found the solution to my own problem:
Sampling is not a function that has been 'superceded' (OF error's words) by calling sampleDict using postProcess, which was why I used the command Code:
postProcess -func sampleDict Code:
type sets; libs ("libsampling.so"); SOLUTION: change Code:
type sets; Code:
type surfaces; |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Sep 2018
Posts: 4
Rep Power: 4 ![]() |
Hello.
I have a similar problem running "postProcess -func sampleDict". No folder named "postProcessing" is created. It seems like it is reading the my velocity field "U.air". See my sampleDict below. Any help, is much appreciated. ____________________________ Time = 1 Reading fields: volVectorFields: U.air Executing functionObjects End __________________________ My sampleDict: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // setFormat raw; surfaceFormat vtk; { ensight { format ascii; } } interpolationScheme cellPoint; // Fields to sample. fields ( U.air ); type sets; libs ("libsampling.so"); sets ( BFS_xH_2 { type midPointAndFace;// lineCellFace;// axis distance; start (0.0534 0.0000 0.0000); end (0.0534 0.0667 0.0000); } BFS_xH_5 { type lineCellFace;//midPointAndFace; axis distance; start (0.1335 0.0000 0.0000); end (0.1335 0.0667 0.0000); } BFS_xH_7 { type lineCellFace;//midPointAndFace; axis distance; start (0.1869 0.0000 0.0000); end (0.1869 0.0667 0.0000); } BFS_xH_9 { type lineCellFace;//midPointAndFace; axis distance; start (0.2403 0.0000 0.0000); end (0.2403 0.0667 0.0000); } BFS_xH_12 { type lineCellFace;//midPointAndFace; axis distance; start (0.3204 0.0000 0.0000); end (0.3204 0.0667 0.0000); } BFS_xH_14 { type lineCellFace;//midPointAndFace; axis distance; start (0.3738 0.0000 0.0000); end (0.3738 0.0667 0.0000); } ); surfaces ( ); // ************************************************** ********************* // |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Trent
Join Date: Jun 2017
Location: Fresno, California USA
Posts: 4
Rep Power: 5 ![]() |
Hello Scrubber,
Does OF give you any errors when you try and run sampleDict? |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Join Date: Sep 2018
Posts: 4
Rep Power: 4 ![]() |
Hello Tmr2044.
If I try to just run the command simpleDict, OF give this error jens@jens-VirtualBox:~/OpenFOAM/jens-6/run/test_case/BFS/DPMFoam_2WC$ simpleDict simpleDict: command not found I get no error from OF when running "postProcess -func sampleDict", but no postProcessing folder is created. |
|
![]() |
![]() |
![]() |
Tags |
openfoam, postprocessing, sampling |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Meshing a Sphere | Ajay | FLUENT | 10 | September 3, 2016 15:18 |
create an output file only at the endTime | Cyp | OpenFOAM Programming & Development | 3 | March 4, 2011 05:15 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 08:06 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 02:07 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |