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

How to change data frequency in the "Probe function"

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By kmefun

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2015, 06:28
Default How to change data frequency in the "Probe function"
  #1
New Member
 
Join Date: Feb 2015
Posts: 7
Rep Power: 11
d.lagattolla is on a distinguished road
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!
d.lagattolla is offline   Reply With Quote

Old   February 27, 2015, 08:01
Default
  #2
Member
 
Kaufman
Join Date: Jul 2013
Posts: 55
Rep Power: 12
kmefun is on a distinguished road
Quote:
Originally Posted by d.lagattolla View Post
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;
Raphael_Santos likes this.
kmefun is offline   Reply With Quote

Reply


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
Error when reading data file. WJXu FLUENT 7 September 1, 2015 19:34
Problem running in parralel Val OpenFOAM Running, Solving & CFD 1 June 12, 2014 02:47
[OpenFOAM] saving data in paraview aylalisa ParaView 3 May 31, 2014 11:38
[General] Warping Cells by Vectors? ronwelty ParaView 10 April 29, 2014 05:52
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 01:56.