CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Probe function not recording data

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2014, 19:49
Default Probe function not recording data
  #1
CTR
New Member
 
Charles
Join Date: Apr 2014
Posts: 9
Rep Power: 12
CTR is on a distinguished road
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.
CTR is offline   Reply With Quote

Old   July 3, 2014, 02:35
Default
  #2
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
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
matejfor is offline   Reply With Quote

Old   July 7, 2014, 19:55
Default
  #3
CTR
New Member
 
Charles
Join Date: Apr 2014
Posts: 9
Rep Power: 12
CTR is on a distinguished road
Thanks for your explanation

charles
CTR is offline   Reply With Quote

Reply

Tags
probe function


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
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 121 June 11, 2021 10:05
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 10:52
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 04:06
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
save data output at specific point using probe foam_noob OpenFOAM 0 March 11, 2010 02:13


All times are GMT -4. The time now is 22:09.