for consistency with the time controls in controlDict and to avoid unnecessary confusion. All code and tutorials have been updated. The old names 'outputControl' and 'outputInterval' are but supported for backward compatibility but deprecated.
29 lines
1 KiB
C++
29 lines
1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object forces.cfg;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type forces;
|
|
functionObjectLibs ( "libforces.so" );
|
|
|
|
enabled true;
|
|
writeControl timeStep;
|
|
writeInterval 1;
|
|
|
|
pName p;
|
|
UName U;
|
|
rhoName rhoInf; // Incompressible solver
|
|
log off;
|
|
|
|
// ************************************************************************* //
|