|
[Sponsors] |
February 28, 2018, 05:41 |
Postprocess utility : I am lost
|
#1 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
I am trying to use the postProcess utility to get data at probe locations.
Here is my probe function file located in the system of my case. The sensors file contains a huge list of probes locations Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Web: www.OpenFOAM.org \\/ M anipulation | ------------------------------------------------------------------------------- Description Writes out values of fields from cells nearest to specified locations. \*---------------------------------------------------------------------------*/ #includeEtc "caseDicts/postProcessing/probes/probes.cfg" fields (p U alpha); probeLocations ( #include "sensors" ); Code:
Postprocess -func probes Now, if I execute Code:
postProcess -func probes -latestTime So how can I get the same data but for all time steps present in my case folder ? |
|
February 28, 2018, 07:15 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
I dont know why
Code:
Postprocess -func probes Code:
Postprocess -func probes -time <numberOfTheTimeFolder>
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
February 28, 2018, 08:42 |
|
#3 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
Indeed this is a workaround.
Amazing thing is that Code:
Postprocess -func probes -time 0.2999 Code:
Postprocess -func probes -time 0:1 |
|
February 28, 2018, 09:07 |
|
#4 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
I feel this is somehow related to the following warning message
Code:
--> FOAM Warning : From function void Foam::Time::setControls() in file db/Time/Time.C at line 214 Increasing the timePrecision from 6 to 18 to support the formatting of the current time directory 29.2000222392333768 EDIT Another thing I don't get is that I have two identical data lines for each time step i.e. in postProcessing/probes/timeXX I have : Code:
#time probe1 probe2 ... probeN XX A B ... C XX A B ... C Last edited by Gearb0x; March 1, 2018 at 02:30. |
|
July 7, 2019, 15:27 |
|
#5 | |
Member
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 9 |
Quote:
Code:
Postprocess -func probes -time '1, 2, 3, 4, 5' will gave data from 1, 2, 3, 4 , 5th sec or iterations(depending on transient or st-st) data. If anyone knows how to set interval like "1:5" (matlab habits doesnt work, sadly) I'll also be happy. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
postProcess Utility: icoFoam -noFunctionObjects Why?How? | TeresaT | OpenFOAM Post-Processing | 8 | July 26, 2023 03:41 |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 03:36 |
postProcess functionality in openFOAM 4 | bullmut | OpenFOAM Post-Processing | 23 | July 21, 2017 10:11 |
wallHeatFlux Calculation wrt utility version | ahmet | OpenFOAM Post-Processing | 1 | December 18, 2016 20:45 |
Something doens't work with wallHeatFlux utility or externalWallHeatFluxTemperat BC!! | zfaraday | OpenFOAM Post-Processing | 0 | February 5, 2015 17:47 |