|
[Sponsors] |
July 1, 2014, 20:49 |
Probe function not recording data
|
#1 |
New Member
Charles
Join Date: Apr 2014
Posts: 9
Rep Power: 12 |
Hello
I am trying to use the probe function in controlDict to record the solution from my solver at different points in a duct. However, when I run the solver, only the first time step is found in the post processing folder which is no good because I want to look at the flow behaviour over time. I have used probesDict as a post processing tool but I found that my data are massive and I don't really need the solutions to all other locations. Can anyone please help point me in the right direction? Here is my controlDict file: application mhdsolver; startFrom latestTime; startTime 0; stopAt endTime; endTime 3.5; deltaT 0.0001; writeControl timeStep; writeInterval 6; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; graphFormat raw; runTimeModifiable yes; adjustTimeStep yes; functions ( probes { type probes; functionObjectLibs ( "libsampling.so" ); outputControl timeStep; outputInterval 1; fields ( U T p PotE ); probeLocations ( (8 0.0 0.0) ); } ) libs ("libfiniteVolume.so" "libOpenFOAM.so"); // ************************************************** *********************** // Thanks you for your time. |
|
July 3, 2014, 03:35 |
|
#2 |
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17 |
well - the probe writes the data to a file which is called after the time it starts writing, therefore in that file you have values for each time in a line. In the first line you have names of variables in columns.
In your case it will look like: time Ux Uy Uz T p PotE for more points the set of columns would repeat to the right. good luck matej |
|
July 7, 2014, 20:55 |
|
#3 |
New Member
Charles
Join Date: Apr 2014
Posts: 9
Rep Power: 12 |
Thanks for your explanation
charles |
|
Tags |
probe function |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
foamToTecplot360 | thomasduerr | OpenFOAM Post-Processing | 121 | June 11, 2021 11:05 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 11:52 |
using METIS functions in fortran | dokeun | Main CFD Forum | 7 | January 29, 2013 05:06 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
save data output at specific point using probe | foam_noob | OpenFOAM | 0 | March 11, 2010 03:13 |