This change formalises the usage of the "log" keyword in function objects. By default, logging to stdout is activated when running "postProcess" or "<solver> -postProcess", and deactivated when a function is being executed as part of a run. This behaviour can now be overridden in the function object dictionary when operating in either mode.
18 lines
628 B
C++
18 lines
628 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type surfaceFieldValue;
|
|
libs ("libfieldFunctionObjects.so");
|
|
|
|
writeControl timeStep;
|
|
writeInterval 1;
|
|
|
|
writeFields false;
|
|
|
|
// ************************************************************************* //
|