CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to change data frequency in the "Probe function" (https://www.cfd-online.com/Forums/openfoam-solving/149174-how-change-data-frequency-probe-function.html)

d.lagattolla February 27, 2015 06:28

How to change data frequency in the "Probe function"
 
Hi!I have a problem with the probe function in OpenFoam..I am adding these lines in the controlDict file:

functions
{
probes
{
type probes;
functionObjectLibs ("libsampling.so");
enabled true;
outputControl timeStep;
outputInterval 1;

fields
(
p
U
alpha.vapour
);

probeLocations
(
(0.1667 0.0139772874 0)
(0.1667 0.0143772874 0)
(0.1667 0.0147772874 0)
(0.1667 0.0151772874 0)
);
}
}

The function works correctly but I'd like it to write data not for every time step but for the "write time" of my simulation, because I want less data to postprocess. What should I write in the fiels "outputControl" and "outputInterval" to do it?

Thanks in advance!

kmefun February 27, 2015 08:01

Quote:

Originally Posted by d.lagattolla (Post 533648)
Hi!I have a problem with the probe function in OpenFoam..I am adding these lines in the controlDict file:

functions
{
probes
{
type probes;
functionObjectLibs ("libsampling.so");
enabled true;
outputControl timeStep;
outputInterval 1;

fields
(
p
U
alpha.vapour
);

probeLocations
(
(0.1667 0.0139772874 0)
(0.1667 0.0143772874 0)
(0.1667 0.0147772874 0)
(0.1667 0.0151772874 0)
);
}
}

The function works correctly but I'd like it to write data not for every time step but for the "write time" of my simulation, because I want less data to postprocess. What should I write in the fiels "outputControl" and "outputInterval" to do it?

Thanks in advance!

outputControl OutputTime;


All times are GMT -4. The time now is 08:26.