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:
parent
a44857b4f2
commit
83bae2efd3
@ -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)
|
||||
|
@ -40,7 +40,7 @@ Description
|
||||
writeVTK1
|
||||
{
|
||||
type writeVTK;
|
||||
functionObjectLibs ("libIOFunctionObjects.so");
|
||||
libs ("libIOFunctionObjects.so");
|
||||
...
|
||||
objectNames (obj1 obj2);
|
||||
}
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type Lambda2;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type Q;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type forces;
|
||||
functionObjectLibs ( "libforces.so" );
|
||||
libs ( "libforces.so" );
|
||||
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type sets;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type cellSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type fieldMinMax;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type residuals;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type fieldValueDelta;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
operation subtract;
|
||||
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type pressureTools;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type sets;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type probes;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type scalarTransport;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
enabled true;
|
||||
writeControl timeStep;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type streamLine;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
libs ( "libfieldFunctionObjects.so" );
|
||||
|
||||
writeControl writeTime;
|
||||
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
|
@ -34,7 +34,7 @@ Description
|
||||
FUNCTIONOBJECT1
|
||||
{
|
||||
type FUNCTIONOBJECT;
|
||||
functionObjectLibs ("libFUNCTIONOBJECTFunctionObject.so");
|
||||
libs ("libFUNCTIONOBJECTFunctionObject.so");
|
||||
...
|
||||
wordData someWord;
|
||||
scalarData 1.0;
|
||||
|
@ -17,7 +17,7 @@ FoamFile
|
||||
graph
|
||||
{
|
||||
type sets;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
writeControl writeTime;
|
||||
|
||||
interpolationScheme cellPointFace;
|
||||
|
@ -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_)
|
||||
{
|
||||
|
@ -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 |
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
@ -50,7 +50,7 @@ functions
|
||||
difference
|
||||
{
|
||||
// Load the library containing the 'coded' functionObject
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
type coded;
|
||||
|
||||
|
@ -56,7 +56,7 @@ functions
|
||||
timeStep
|
||||
{
|
||||
type coded;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
redirectType setDeltaT;
|
||||
|
||||
code
|
||||
|
@ -9,7 +9,7 @@
|
||||
cuttingPlane
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
|
||||
writeControl writeTime;
|
||||
|
||||
|
@ -53,7 +53,7 @@ functions
|
||||
{
|
||||
probes
|
||||
{
|
||||
functionObjectLibs ( "libsampling.so" );
|
||||
libs ( "libsampling.so" );
|
||||
type probes;
|
||||
name probes;
|
||||
writeControl timeStep;
|
||||
|
@ -54,7 +54,7 @@ functions
|
||||
fieldAverage1
|
||||
{
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
libs ( "libfieldFunctionObjects.so" );
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
cuttingPlane
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
|
||||
writeControl writeTime;
|
||||
|
||||
|
@ -50,7 +50,7 @@ functions
|
||||
forces
|
||||
{
|
||||
type forceCoeffs;
|
||||
functionObjectLibs ( "libforces.so" );
|
||||
libs ( "libforces.so" );
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -9,7 +9,7 @@
|
||||
cuttingPlane
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
|
||||
writeControl writeTime;
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
Q
|
||||
{
|
||||
// Where to load it from
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
type Q;
|
||||
|
||||
|
@ -10,7 +10,7 @@ forces
|
||||
{
|
||||
type forces;
|
||||
|
||||
functionObjectLibs ( "libforces.so" );
|
||||
libs ( "libforces.so" );
|
||||
|
||||
writeControl timeStep;
|
||||
timeInterval 1;
|
||||
|
@ -9,7 +9,7 @@
|
||||
surfaces
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
writeControl writeTime;
|
||||
|
||||
surfaceFormat vtk;
|
||||
|
@ -50,7 +50,7 @@ functions
|
||||
forces
|
||||
{
|
||||
type forces;
|
||||
functionObjectLibs ( "libforces.so" );
|
||||
libs ( "libforces.so" );
|
||||
writeControl timeStep;
|
||||
writeInterval 10;
|
||||
patches (wing);
|
||||
|
@ -54,7 +54,7 @@ functions
|
||||
probes
|
||||
{
|
||||
// Where to load it from
|
||||
functionObjectLibs ( "libsampling.so" );
|
||||
libs ( "libsampling.so" );
|
||||
|
||||
type probes;
|
||||
|
||||
|
@ -54,7 +54,7 @@ functions
|
||||
probes
|
||||
{
|
||||
// Where to load it from
|
||||
functionObjectLibs ( "libsampling.so" );
|
||||
libs ( "libsampling.so" );
|
||||
|
||||
type probes;
|
||||
|
||||
|
@ -50,7 +50,7 @@ functions
|
||||
fieldAverage1
|
||||
{
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
libs ( "libfieldFunctionObjects.so" );
|
||||
enabled true;
|
||||
writeControl writeTime;
|
||||
|
||||
|
@ -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.*" );
|
||||
|
@ -9,7 +9,7 @@
|
||||
cuttingPlane
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
writeControl writeTime;
|
||||
|
||||
surfaceFormat vtk;
|
||||
|
@ -9,7 +9,7 @@
|
||||
forces
|
||||
{
|
||||
type forceCoeffs;
|
||||
functionObjectLibs ( "libforces.so" );
|
||||
libs ( "libforces.so" );
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
cuttingPlane
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
libs ("libsampling.so");
|
||||
writeControl writeTime;
|
||||
|
||||
surfaceFormat vtk;
|
||||
|
@ -10,7 +10,7 @@ forceCoeffs1
|
||||
{
|
||||
type forceCoeffs;
|
||||
|
||||
functionObjectLibs ( "libforces.so" );
|
||||
libs ( "libforces.so" );
|
||||
|
||||
writeControl timeStep;
|
||||
timeInterval 1;
|
||||
|
@ -9,7 +9,7 @@
|
||||
streamLines
|
||||
{
|
||||
// Where to load it from
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
type streamLine;
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -56,7 +56,7 @@ functions
|
||||
faceSource1
|
||||
{
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
enabled yes;
|
||||
writeControl writeTime;
|
||||
log yes;
|
||||
|
@ -51,7 +51,7 @@ functions
|
||||
faceSource1
|
||||
{
|
||||
type faceSource;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
enabled yes;
|
||||
writeControl writeTime;
|
||||
log yes;
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user