functionObjects: Renamed dictionary entry 'functionObjectLibs' -> 'libs'

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.
This commit is contained in:
Henry Weller
2016-05-16 22:09:01 +01:00
parent 4ba3463052
commit 18725ed3ac
128 changed files with 191 additions and 166 deletions

View File

@ -48,7 +48,7 @@ Description
\verbatim
difference
{
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
type coded;
// Name of on-the-fly generated functionObject

View File

@ -58,7 +58,7 @@ functions
type partialWrite;
// Where to load it from
functionObjectLibs ("libIOFunctionObjects.so");
libs ("libIOFunctionObjects.so");
// Optional mesh region to operate on. Only one partialWrite per
// region allowed.
@ -91,7 +91,7 @@ functions
type writeRegisteredObject;
// Where to load it from
functionObjectLibs ("libIOFunctionObjects.so");
libs ("libIOFunctionObjects.so");
// When to write:
// timeStep (with optional writeInterval)

View File

@ -37,7 +37,7 @@ Description
partialWrite1
{
type partialWrite;
functionObjectLibs ("libIOFunctionObjects.so");
libs ("libIOFunctionObjects.so");
...
objectNames (p U T);
writeInterval 100;

View File

@ -35,7 +35,7 @@ Description
removeRegisteredObject1
{
type removeRegisteredObject;
functionObjectLibs ("libIOFunctionObjects.so");
libs ("libIOFunctionObjects.so");
...
objectNames (obj1 obj2);
}

View File

@ -49,7 +49,7 @@ functions
systemCall1
{
type systemCall;
functionObjectLibs ("libsystemCall.so");
libs ("libsystemCall.so");
enabled true;
writeControl writeTime;

View File

@ -40,7 +40,7 @@ Description
systemCall1
{
type systemCall;
functionObjectLibs ("libsystemCall.so");
libs ("libsystemCall.so");
...
executeCalls
(

View File

@ -49,7 +49,7 @@ functions
fileUpdate1
{
type timeActivatedFileUpdate;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
writeControl timeStep;
writeInterval 1;
fileToUpdate "$FOAM_CASE/system/fvSolution";

View File

@ -37,7 +37,7 @@ Description
fileUpdate1
{
type timeActivatedFileUpdate;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
writeControl timeStep;
writeInterval 1;
fileToUpdate "$FOAM_CASE/system/fvSolution";

View File

@ -19,7 +19,7 @@ functions
turbulenceFields1
{
type turbulenceFields;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl timeStep;
writeInterval 1;

View File

@ -43,7 +43,7 @@ Description
turbulenceFields1
{
type turbulenceFields;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
...
fields
(

View File

@ -58,7 +58,7 @@ functions
type partialWrite;
// Where to load it from
functionObjectLibs ("libIOFunctionObjects.so");
libs ("libIOFunctionObjects.so");
// Optional mesh region to operate on. Only one partialWrite per
// region allowed.
@ -91,7 +91,7 @@ functions
type writeRegisteredObject;
// Where to load it from
functionObjectLibs ("libIOFunctionObjects.so");
libs ("libIOFunctionObjects.so");
// When to write:
// timeStep (with optional writeInterval)

View File

@ -44,7 +44,7 @@ Description
writeRegisteredObject1
{
type writeRegisteredObject;
functionObjectLibs ("libIOFunctionObjects.so");
libs ("libIOFunctionObjects.so");
exclusiveWriting true;
...
objectNames (obj1 obj2);