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 a44857b4f2
commit 83bae2efd3
128 changed files with 191 additions and 166 deletions

View File

@ -55,7 +55,7 @@ functions
type writeVTK;
// Where to load it from
functionObjectLibs ("libfoamToVTK.so");
libs ("libfoamToVTK.so");
// When to write:
// timeStep (with optional writeInterval)

View File

@ -40,7 +40,7 @@ Description
writeVTK1
{
type writeVTK;
functionObjectLibs ("libIOFunctionObjects.so");
libs ("libIOFunctionObjects.so");
...
objectNames (obj1 obj2);
}

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl timeStep;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type Lambda2;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl writeTime;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type Q;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl writeTime;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type forces;
functionObjectLibs ( "libforces.so" );
libs ( "libforces.so" );
enabled true;
writeControl timeStep;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl writeTime;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type cellSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl timeStep;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl timeStep;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type fieldMinMax;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl timeStep;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type residuals;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl timeStep;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type fieldValueDelta;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
operation subtract;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type pressureTools;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl writeTime;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl writeTime;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type probes;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl timeStep;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type scalarTransport;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl timeStep;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type streamLine;
functionObjectLibs ( "libfieldFunctionObjects.so" );
libs ( "libfieldFunctionObjects.so" );
writeControl writeTime;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type surfaces;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl writeTime;

View File

@ -34,7 +34,7 @@ Description
FUNCTIONOBJECT1
{
type FUNCTIONOBJECT;
functionObjectLibs ("libFUNCTIONOBJECTFunctionObject.so");
libs ("libFUNCTIONOBJECTFunctionObject.so");
...
wordData someWord;
scalarData 1.0;

View File

@ -17,7 +17,7 @@ FoamFile
graph
{
type sets;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;
interpolationScheme cellPointFace;

View File

@ -61,12 +61,24 @@ Foam::autoPtr<Foam::functionObject> Foam::functionObject::New
Info<< "Selecting function " << functionType << endl;
}
const_cast<Time&>(t).libs().open
(
dict,
"functionObjectLibs",
dictionaryConstructorTablePtr_
);
if (dict.found("functionObjectLibs"))
{
const_cast<Time&>(t).libs().open
(
dict,
"functionObjectLibs",
dictionaryConstructorTablePtr_
);
}
else
{
const_cast<Time&>(t).libs().open
(
dict,
"libs",
dictionaryConstructorTablePtr_
);
}
if (!dictionaryConstructorTablePtr_)
{

View File

@ -46,7 +46,7 @@ Description
myFunctionObject // Name of functionObject entry
{
type functionObjectType;
functionObjectLibs ("libMyFunctionObjectlib.so");
libs ("libMyFunctionObjectlib.so");
region defaultRegion;
enabled yes;
timeStart 0;
@ -62,7 +62,7 @@ Description
\table
Property | Description | Required | Default value
type | Type of function object | yes |
functionObjectLibs | Libraries containing implementation | yes |
libs | Libraries containing implementation | yes |
region | Name of region for multi-region cases | no |
enabled | On/off switch | no | yes
timeStart| Start time | no |

View File

@ -64,12 +64,6 @@ void Foam::functionObjects::writeFiles::createFiles()
}
void Foam::functionObjects::writeFiles::write()
{
createFiles();
}
void Foam::functionObjects::writeFiles::resetNames(const wordList& names)
{
names_.clear();
@ -200,4 +194,12 @@ Foam::OFstream& Foam::functionObjects::writeFiles::file(const label i)
}
bool Foam::functionObjects::writeFiles::write(const bool postProcess)
{
createFiles();
return true;
}
// ************************************************************************* //

View File

@ -74,9 +74,6 @@ protected:
//- Create the output file
virtual void createFiles();
//- Write function
virtual void write();
//- Reset the list of names from a wordList
virtual void resetNames(const wordList& names);
@ -130,6 +127,9 @@ public:
//- Return file 'i'
OFstream& file(const label i);
//- Write function
virtual bool write(const bool postProcess = false);
};

View File

@ -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;

View File

@ -67,7 +67,7 @@ Description
fieldAverage1
{
type fieldAverage;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
restartOnRestart false;
restartOnOutput false;

View File

@ -37,7 +37,7 @@ Description
fieldCoordinateSystemTransform1
{
type fieldCoordinateSystemTransform;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
fields
(

View File

@ -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;

View File

@ -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;

View File

@ -39,7 +39,7 @@ Description
fieldMinMax1
{
type fieldMinMax;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
write yes;
log yes;

View File

@ -39,7 +39,7 @@ Description
cellSource1
{
type cellSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
log true;
valueOutput true;

View File

@ -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;

View File

@ -42,7 +42,7 @@ Description
faceSource1
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
log yes;
valueOutput true;

View File

@ -36,7 +36,7 @@ Description
fieldValueDelta1
{
type fieldValueDelta;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
operation subtract;
fieldValue1

View File

@ -36,7 +36,7 @@ Description
{
type histogram;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
field p;
nBins 100;

View File

@ -49,7 +49,7 @@ functions
near
{
// Where to load it from
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
type nearWallFields;

View File

@ -43,7 +43,7 @@ Description
nearWallFields1
{
type nearWallFields;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
fields ((p pNear)(U UNear));
patches (movingWall);

View File

@ -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;

View File

@ -36,7 +36,7 @@ Description
processorField1
{
type processorField;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
}
\endverbatim

View File

@ -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;

View File

@ -36,7 +36,7 @@ Description
readFields1
{
type readFields;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
fields
(

View File

@ -59,7 +59,7 @@ Description
regionSizeDistribution1
{
type regionSizeDistribution;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
field alpha;
patches (inlet);

View File

@ -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;

View File

@ -37,7 +37,7 @@ Description
streamLine1
{
type streamLine;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
setFormat vtk;
UName U;

View File

@ -43,7 +43,7 @@ Description
surfaceInterpolateFields1
{
type surfaceInterpolateFields;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
fields ((p pNear)(U UNear));
}

View File

@ -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

View File

@ -37,7 +37,7 @@ Description
wallBoundedStreamLine1
{
type wallBoundedStreamLine;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
...
setFormat vtk;
UName UNear;

View File

@ -37,7 +37,7 @@ Description
forceCoeffs1
{
type forceCoeffs;
functionObjectLibs ("libforces.so");
libs ("libforces.so");
...
log yes;
patches (walls);

View File

@ -40,7 +40,7 @@ Description
forces1
{
type forces;
functionObjectLibs ("libforces.so");
libs ("libforces.so");
...
log yes;
patches (walls);

View File

@ -81,7 +81,7 @@ Description
pressureTools1
{
type pressureTools;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
...
calcTotal no;
calcCoeff yes;

View File

@ -51,7 +51,7 @@ Description
wallShearStress1
{
type wallShearStress;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
...
patches (".*Wall");
}

View File

@ -1,3 +1,4 @@
cloudInfo/cloudInfo.C
icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.C
LIB = $(FOAM_LIBBIN)/liblagrangianFunctionObjects

View File

@ -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

View File

@ -38,7 +38,7 @@ Description
cloudInfo1
{
type cloudInfo;
functionObjectLibs ("libcloudFunctionObjects.so");
libs ("libcloudFunctionObjects.so");
...
clouds
(

View File

@ -19,7 +19,7 @@ functions
cloudInfo1
{
type cloudInfo;
functionObjectLibs ("libcloudFunctionObjects.so");
libs ("libcloudFunctionObjects.so");
enabled true;
writeControl timeStep;
writeInterval 1;

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);

View File

@ -50,7 +50,7 @@ functions
difference
{
// Load the library containing the 'coded' functionObject
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
type coded;

View File

@ -56,7 +56,7 @@ functions
timeStep
{
type coded;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
redirectType setDeltaT;
code

View File

@ -9,7 +9,7 @@
cuttingPlane
{
type surfaces;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;

View File

@ -53,7 +53,7 @@ functions
{
probes
{
functionObjectLibs ( "libsampling.so" );
libs ( "libsampling.so" );
type probes;
name probes;
writeControl timeStep;

View File

@ -54,7 +54,7 @@ functions
fieldAverage1
{
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
libs ( "libfieldFunctionObjects.so" );
enabled true;
writeControl writeTime;

View File

@ -9,7 +9,7 @@
cuttingPlane
{
type surfaces;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;

View File

@ -50,7 +50,7 @@ functions
forces
{
type forceCoeffs;
functionObjectLibs ( "libforces.so" );
libs ( "libforces.so" );
writeControl timeStep;
writeInterval 1;

View File

@ -52,7 +52,7 @@ functions
fieldAverage1
{
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
libs ( "libfieldFunctionObjects.so" );
writeControl writeTime;
fields
@ -116,7 +116,7 @@ functions
dsmcFields1
{
type dsmcFields;
functionObjectLibs ( "libutilityFunctionObjects.so" );
libs ( "libutilityFunctionObjects.so" );
enabled true;
writeControl writeTime;
}

View File

@ -52,7 +52,7 @@ functions
fieldAverage1
{
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
libs ( "libfieldFunctionObjects.so" );
writeControl writeTime;
restartOnOutput off;
@ -117,7 +117,7 @@ functions
dsmcFields1
{
type dsmcFields;
functionObjectLibs ( "libutilityFunctionObjects.so" );
libs ( "libutilityFunctionObjects.so" );
enabled true;
writeControl writeTime;
}

View File

@ -52,7 +52,7 @@ functions
fieldAverage1
{
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
libs ( "libfieldFunctionObjects.so" );
writeControl writeTime;
fields
@ -116,7 +116,7 @@ functions
dsmcFields1
{
type dsmcFields;
functionObjectLibs ( "libutilityFunctionObjects.so" );
libs ( "libutilityFunctionObjects.so" );
enabled true;
writeControl writeTime;
}

View File

@ -52,7 +52,7 @@ functions
fieldAverage1
{
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
libs ( "libfieldFunctionObjects.so" );
writeControl writeTime;
fields
@ -117,7 +117,7 @@ functions
dsmcFields1
{
type dsmcFields;
functionObjectLibs ( "libutilityFunctionObjects.so" );
libs ( "libutilityFunctionObjects.so" );
enabled true;
writeControl writeTime;
}
@ -126,7 +126,7 @@ functions
{
type forces;
enabled true;
functionObjectLibs ( "libforces.so" );
libs ( "libforces.so" );
writeControl writeTime;
patches ( obstacle );
directForceDensity true;

View File

@ -9,7 +9,7 @@
cuttingPlane
{
type surfaces;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;

View File

@ -10,7 +10,7 @@
Q
{
// Where to load it from
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
type Q;

View File

@ -10,7 +10,7 @@ forces
{
type forces;
functionObjectLibs ( "libforces.so" );
libs ( "libforces.so" );
writeControl timeStep;
timeInterval 1;

View File

@ -9,7 +9,7 @@
surfaces
{
type surfaces;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;
surfaceFormat vtk;

View File

@ -50,7 +50,7 @@ functions
forces
{
type forces;
functionObjectLibs ( "libforces.so" );
libs ( "libforces.so" );
writeControl timeStep;
writeInterval 10;
patches (wing);

View File

@ -54,7 +54,7 @@ functions
probes
{
// Where to load it from
functionObjectLibs ( "libsampling.so" );
libs ( "libsampling.so" );
type probes;

View File

@ -54,7 +54,7 @@ functions
probes
{
// Where to load it from
functionObjectLibs ( "libsampling.so" );
libs ( "libsampling.so" );
type probes;

View File

@ -50,7 +50,7 @@ functions
fieldAverage1
{
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
libs ( "libfieldFunctionObjects.so" );
enabled true;
writeControl writeTime;

View File

@ -73,7 +73,7 @@ functions
cuttingPlane
{
type surfaces;
functionObjectLibs ( "libsampling.so" );
libs ( "libsampling.so" );
writeControl writeTime;
surfaceFormat vtk;
fields ( p U );
@ -96,7 +96,7 @@ functions
forces
{
type forceCoeffs;
functionObjectLibs ( "libforces.so" );
libs ( "libforces.so" );
writeControl timeStep;
writeInterval 1;
patches ( "motorBike.*" );

View File

@ -9,7 +9,7 @@
cuttingPlane
{
type surfaces;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;
surfaceFormat vtk;

View File

@ -9,7 +9,7 @@
forces
{
type forceCoeffs;
functionObjectLibs ( "libforces.so" );
libs ( "libforces.so" );
writeControl timeStep;
writeInterval 1;

View File

@ -50,7 +50,7 @@ functions
probes
{
type probes;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl timeStep;
writeInterval 1;
@ -76,7 +76,7 @@ functions
fieldAverage1
{
type fieldAverage;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl writeTime;
@ -105,7 +105,7 @@ functions
type surfaces;
// Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl writeTime;

View File

@ -50,7 +50,7 @@ functions
probes
{
type probes;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl timeStep;
writeInterval 1;
@ -76,7 +76,7 @@ functions
fieldAverage1
{
type fieldAverage;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl writeTime;
@ -105,7 +105,7 @@ functions
type surfaces;
// Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl writeTime;

View File

@ -9,7 +9,7 @@
cuttingPlane
{
type surfaces;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;
surfaceFormat vtk;

View File

@ -10,7 +10,7 @@ forceCoeffs1
{
type forceCoeffs;
functionObjectLibs ( "libforces.so" );
libs ( "libforces.so" );
writeControl timeStep;
timeInterval 1;

View File

@ -9,7 +9,7 @@
streamLines
{
// Where to load it from
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
type streamLine;

View File

@ -10,7 +10,7 @@
near
{
// Where to load it from
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
type nearWallFields;
@ -39,7 +39,7 @@ near
wallBoundedStreamLines
{
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
type wallBoundedStreamLine;
// Output every

View File

@ -52,7 +52,7 @@ functions
type streamLine;
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
// Output every
writeControl writeTime;

View File

@ -52,7 +52,7 @@ functions
type streamLine;
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
// Output every
writeControl writeTime;

View File

@ -56,7 +56,7 @@ functions
faceSource1
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled yes;
writeControl writeTime;
log yes;

View File

@ -51,7 +51,7 @@ functions
faceSource1
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled yes;
writeControl writeTime;
log yes;

View File

@ -51,7 +51,7 @@ functions
faceSource1
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled yes;
writeControl writeTime;
log yes;

Some files were not shown because too many files have changed in this diff Show More