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:
@ -52,7 +52,7 @@ functions
|
||||
type fieldAverage;
|
||||
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
// Function object enabled flag
|
||||
enabled true;
|
||||
|
||||
@ -67,7 +67,7 @@ Description
|
||||
fieldAverage1
|
||||
{
|
||||
type fieldAverage;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
restartOnRestart false;
|
||||
restartOnOutput false;
|
||||
|
||||
@ -37,7 +37,7 @@ Description
|
||||
fieldCoordinateSystemTransform1
|
||||
{
|
||||
type fieldCoordinateSystemTransform;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
fields
|
||||
(
|
||||
|
||||
@ -22,7 +22,7 @@ functions
|
||||
type fieldCoordinateSystemTransform;
|
||||
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
// Function object enabled flag
|
||||
enabled true;
|
||||
|
||||
@ -52,7 +52,7 @@ functions
|
||||
type fieldMinMax;
|
||||
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
// Function object enabled flag
|
||||
enabled true;
|
||||
|
||||
@ -39,7 +39,7 @@ Description
|
||||
fieldMinMax1
|
||||
{
|
||||
type fieldMinMax;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
write yes;
|
||||
log yes;
|
||||
|
||||
@ -39,7 +39,7 @@ Description
|
||||
cellSource1
|
||||
{
|
||||
type cellSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
log true;
|
||||
valueOutput true;
|
||||
|
||||
@ -49,7 +49,7 @@ functions
|
||||
faceObj1
|
||||
{
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
@ -91,7 +91,7 @@ functions
|
||||
faceObj2
|
||||
{
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
log true;
|
||||
@ -109,7 +109,7 @@ functions
|
||||
cellObj1
|
||||
{
|
||||
type cellSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
log true;
|
||||
|
||||
@ -42,7 +42,7 @@ Description
|
||||
faceSource1
|
||||
{
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
log yes;
|
||||
valueOutput true;
|
||||
|
||||
@ -36,7 +36,7 @@ Description
|
||||
fieldValueDelta1
|
||||
{
|
||||
type fieldValueDelta;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
operation subtract;
|
||||
|
||||
fieldValue1
|
||||
|
||||
@ -36,7 +36,7 @@ Description
|
||||
{
|
||||
type histogram;
|
||||
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
field p;
|
||||
nBins 100;
|
||||
|
||||
@ -49,7 +49,7 @@ functions
|
||||
near
|
||||
{
|
||||
// Where to load it from
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
type nearWallFields;
|
||||
|
||||
|
||||
@ -43,7 +43,7 @@ Description
|
||||
nearWallFields1
|
||||
{
|
||||
type nearWallFields;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
fields ((p pNear)(U UNear));
|
||||
patches (movingWall);
|
||||
|
||||
@ -22,7 +22,7 @@ functions
|
||||
type processorField;
|
||||
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
// Function object enabled flag
|
||||
enabled true;
|
||||
|
||||
@ -36,7 +36,7 @@ Description
|
||||
processorField1
|
||||
{
|
||||
type processorField;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
}
|
||||
\endverbatim
|
||||
|
||||
@ -19,7 +19,7 @@ functions
|
||||
readFields1
|
||||
{
|
||||
type readFields;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
@ -33,7 +33,7 @@ functions
|
||||
faceObj2
|
||||
{
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
@ -36,7 +36,7 @@ Description
|
||||
readFields1
|
||||
{
|
||||
type readFields;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
fields
|
||||
(
|
||||
|
||||
@ -59,7 +59,7 @@ Description
|
||||
regionSizeDistribution1
|
||||
{
|
||||
type regionSizeDistribution;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
field alpha;
|
||||
patches (inlet);
|
||||
|
||||
@ -51,7 +51,7 @@ functions
|
||||
type streamLine;
|
||||
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
// Output every
|
||||
writeControl writeTime;
|
||||
|
||||
@ -37,7 +37,7 @@ Description
|
||||
streamLine1
|
||||
{
|
||||
type streamLine;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
setFormat vtk;
|
||||
UName U;
|
||||
|
||||
@ -43,7 +43,7 @@ Description
|
||||
surfaceInterpolateFields1
|
||||
{
|
||||
type surfaceInterpolateFields;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
fields ((p pNear)(U UNear));
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ functions
|
||||
readFields
|
||||
{
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
type readFields;
|
||||
fields (p U k);
|
||||
@ -58,7 +58,7 @@ functions
|
||||
near
|
||||
{
|
||||
// Where to load it from
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
type nearWallFields;
|
||||
|
||||
@ -82,7 +82,7 @@ functions
|
||||
streamLines
|
||||
{
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
type wallBoundedStreamLine;
|
||||
|
||||
// Output every
|
||||
|
||||
@ -37,7 +37,7 @@ Description
|
||||
wallBoundedStreamLine1
|
||||
{
|
||||
type wallBoundedStreamLine;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
...
|
||||
setFormat vtk;
|
||||
UName UNear;
|
||||
|
||||
@ -37,7 +37,7 @@ Description
|
||||
forceCoeffs1
|
||||
{
|
||||
type forceCoeffs;
|
||||
functionObjectLibs ("libforces.so");
|
||||
libs ("libforces.so");
|
||||
...
|
||||
log yes;
|
||||
patches (walls);
|
||||
|
||||
@ -40,7 +40,7 @@ Description
|
||||
forces1
|
||||
{
|
||||
type forces;
|
||||
functionObjectLibs ("libforces.so");
|
||||
libs ("libforces.so");
|
||||
...
|
||||
log yes;
|
||||
patches (walls);
|
||||
|
||||
@ -81,7 +81,7 @@ Description
|
||||
pressureTools1
|
||||
{
|
||||
type pressureTools;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
...
|
||||
calcTotal no;
|
||||
calcCoeff yes;
|
||||
|
||||
@ -51,7 +51,7 @@ Description
|
||||
wallShearStress1
|
||||
{
|
||||
type wallShearStress;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
...
|
||||
patches (".*Wall");
|
||||
}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
cloudInfo/cloudInfo.C
|
||||
icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.C
|
||||
|
||||
LIB = $(FOAM_LIBBIN)/liblagrangianFunctionObjects
|
||||
|
||||
@ -1,9 +1,19 @@
|
||||
EXE_INC = \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||
-I$(LIB_SRC)/transportModels \
|
||||
-I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
|
||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||
-I$(LIB_SRC)/lagrangian/basic/lnInclude \
|
||||
-I$(LIB_SRC)/lagrangian/intermediate/lnInclude
|
||||
-I$(LIB_SRC)/lagrangian/intermediate/lnInclude \
|
||||
-I$(LIB_SRC)/regionModels/regionModel/lnInclude \
|
||||
-I$(LIB_SRC)/regionModels/surfaceFilmModels/lnInclude
|
||||
|
||||
LIB_LIBS = \
|
||||
-lfiniteVolume \
|
||||
-lincompressibleTransportModels \
|
||||
-lmeshTools \
|
||||
-llagrangian \
|
||||
-llagrangianIntermediate
|
||||
-llagrangianIntermediate \
|
||||
-llagrangianTurbulence \
|
||||
-lregionModels \
|
||||
-lsurfaceFilmModels
|
||||
|
||||
@ -38,7 +38,7 @@ Description
|
||||
cloudInfo1
|
||||
{
|
||||
type cloudInfo;
|
||||
functionObjectLibs ("libcloudFunctionObjects.so");
|
||||
libs ("libcloudFunctionObjects.so");
|
||||
...
|
||||
clouds
|
||||
(
|
||||
|
||||
@ -19,7 +19,7 @@ functions
|
||||
cloudInfo1
|
||||
{
|
||||
type cloudInfo;
|
||||
functionObjectLibs ("libcloudFunctionObjects.so");
|
||||
libs ("libcloudFunctionObjects.so");
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
@ -48,7 +48,7 @@ Description
|
||||
\verbatim
|
||||
difference
|
||||
{
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
type coded;
|
||||
// Name of on-the-fly generated functionObject
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -37,7 +37,7 @@ Description
|
||||
partialWrite1
|
||||
{
|
||||
type partialWrite;
|
||||
functionObjectLibs ("libIOFunctionObjects.so");
|
||||
libs ("libIOFunctionObjects.so");
|
||||
...
|
||||
objectNames (p U T);
|
||||
writeInterval 100;
|
||||
|
||||
@ -35,7 +35,7 @@ Description
|
||||
removeRegisteredObject1
|
||||
{
|
||||
type removeRegisteredObject;
|
||||
functionObjectLibs ("libIOFunctionObjects.so");
|
||||
libs ("libIOFunctionObjects.so");
|
||||
...
|
||||
objectNames (obj1 obj2);
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ functions
|
||||
systemCall1
|
||||
{
|
||||
type systemCall;
|
||||
functionObjectLibs ("libsystemCall.so");
|
||||
libs ("libsystemCall.so");
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ Description
|
||||
systemCall1
|
||||
{
|
||||
type systemCall;
|
||||
functionObjectLibs ("libsystemCall.so");
|
||||
libs ("libsystemCall.so");
|
||||
...
|
||||
executeCalls
|
||||
(
|
||||
|
||||
@ -49,7 +49,7 @@ functions
|
||||
fileUpdate1
|
||||
{
|
||||
type timeActivatedFileUpdate;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
fileToUpdate "$FOAM_CASE/system/fvSolution";
|
||||
|
||||
@ -37,7 +37,7 @@ Description
|
||||
fileUpdate1
|
||||
{
|
||||
type timeActivatedFileUpdate;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
fileToUpdate "$FOAM_CASE/system/fvSolution";
|
||||
|
||||
@ -19,7 +19,7 @@ functions
|
||||
turbulenceFields1
|
||||
{
|
||||
type turbulenceFields;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
@ -43,7 +43,7 @@ Description
|
||||
turbulenceFields1
|
||||
{
|
||||
type turbulenceFields;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
...
|
||||
fields
|
||||
(
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -44,7 +44,7 @@ Description
|
||||
writeRegisteredObject1
|
||||
{
|
||||
type writeRegisteredObject;
|
||||
functionObjectLibs ("libIOFunctionObjects.so");
|
||||
libs ("libIOFunctionObjects.so");
|
||||
exclusiveWriting true;
|
||||
...
|
||||
objectNames (obj1 obj2);
|
||||
|
||||
Reference in New Issue
Block a user