This changes simplifies the specification of functionObjects in controlDict and is consistent with the 'libs' option in controlDict to load special solver libraries. Support for the old 'functionObjectLibs' name is supported for backward compatibility.
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;
|
|
libs ( "libforces.so" );
|
|
|
|
enabled true;
|
|
writeControl timeStep;
|
|
writeInterval 1;
|
|
|
|
pName p;
|
|
UName U;
|
|
rhoName rhoInf; // Incompressible solver
|
|
log off;
|
|
|
|
// ************************************************************************* //
|