CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Time series of data at a point (https://www.cfd-online.com/Forums/openfoam-post-processing/61329-time-series-data-point.html)

Daniele111 June 29, 2010 07:18

1 Attachment(s)
Hi
How can i have a output probe file that I can use with matlab for post-processing? The probe output file isn't easily to read

Prash April 11, 2011 07:06

Dear People,

Now I am using OpenFOAM 1.7.1 and I am facing a similar problem. I want to use probe function in ControlDict file. I have added lines. I am using bubbleFOAM solver.

functions
(
probes1
{
type probes;

functionObjectLibs ("libsampling.so");

//dictionary probesDict;

region region0;

probeLocations
(
(0.02 0.002 0.003)
(0.02 0.15 0.003)
(0.02 0.08 0.003)
(0.01 0.002 0.003)
(0.01 0.15 0.003)
(0.01 0.08 0.003)
(0.002 0.002 0.003)
(0.002 0.15 0.003)
(0.002 0.08 0.003)
);

fields
(
p
Ub
Ua
);
}
);


// ************************************************** *********************** //



But when I implement my code, i get error message.

--> FOAM FATAL IO ERROR:
keyword outputControl is undefined in dictionary "::probes1"

file: ::probes1 from line 60 to line 86.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 395.

FOAM exiting



I am not sure where to change. Please Help !






Quote:

Originally Posted by hjasak (Post 188751)
Easy: go to the dictionary for the function object in system/controlDict and add:

region fluidRegion;



For example:


functions
(
probes1
{
// Type of functionObject
type probes;

region fluidRegion;

// Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so");

// Locations to be probed. runTime modifiable!
probeLocations
(
(0.0254 0.0253 0.0)
(0.0508 0.0253 0.0)
(0.0762 0.0253 0.0)
(0.1016 0.0253 0.0)
(0.1270 0.0253 0.0)
(0.1524 0.0253 0.0)
(0.1778 0.0253 0.0)
);

// Fields to be probed. runTime modifiable!
fields
(
p
);

);

}

Hrv



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