mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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:
@ -55,7 +55,7 @@ functions
|
|||||||
type writeVTK;
|
type writeVTK;
|
||||||
|
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libfoamToVTK.so");
|
libs ("libfoamToVTK.so");
|
||||||
|
|
||||||
// When to write:
|
// When to write:
|
||||||
// timeStep (with optional writeInterval)
|
// timeStep (with optional writeInterval)
|
||||||
|
|||||||
@ -40,7 +40,7 @@ Description
|
|||||||
writeVTK1
|
writeVTK1
|
||||||
{
|
{
|
||||||
type writeVTK;
|
type writeVTK;
|
||||||
functionObjectLibs ("libIOFunctionObjects.so");
|
libs ("libIOFunctionObjects.so");
|
||||||
...
|
...
|
||||||
objectNames (obj1 obj2);
|
objectNames (obj1 obj2);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type faceSource;
|
type faceSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type Lambda2;
|
type Lambda2;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type Q;
|
type Q;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type forces;
|
type forces;
|
||||||
functionObjectLibs ( "libforces.so" );
|
libs ( "libforces.so" );
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type sets;
|
type sets;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type cellSource;
|
type cellSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type faceSource;
|
type faceSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type fieldMinMax;
|
type fieldMinMax;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type residuals;
|
type residuals;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type fieldValueDelta;
|
type fieldValueDelta;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
operation subtract;
|
operation subtract;
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type pressureTools;
|
type pressureTools;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type sets;
|
type sets;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type probes;
|
type probes;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type scalarTransport;
|
type scalarTransport;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type streamLine;
|
type streamLine;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
|
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type surfaces;
|
type surfaces;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -34,7 +34,7 @@ Description
|
|||||||
FUNCTIONOBJECT1
|
FUNCTIONOBJECT1
|
||||||
{
|
{
|
||||||
type FUNCTIONOBJECT;
|
type FUNCTIONOBJECT;
|
||||||
functionObjectLibs ("libFUNCTIONOBJECTFunctionObject.so");
|
libs ("libFUNCTIONOBJECTFunctionObject.so");
|
||||||
...
|
...
|
||||||
wordData someWord;
|
wordData someWord;
|
||||||
scalarData 1.0;
|
scalarData 1.0;
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
graph
|
graph
|
||||||
{
|
{
|
||||||
type sets;
|
type sets;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
interpolationScheme cellPointFace;
|
interpolationScheme cellPointFace;
|
||||||
|
|||||||
@ -61,12 +61,24 @@ Foam::autoPtr<Foam::functionObject> Foam::functionObject::New
|
|||||||
Info<< "Selecting function " << functionType << endl;
|
Info<< "Selecting function " << functionType << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
const_cast<Time&>(t).libs().open
|
if (dict.found("functionObjectLibs"))
|
||||||
(
|
{
|
||||||
dict,
|
const_cast<Time&>(t).libs().open
|
||||||
"functionObjectLibs",
|
(
|
||||||
dictionaryConstructorTablePtr_
|
dict,
|
||||||
);
|
"functionObjectLibs",
|
||||||
|
dictionaryConstructorTablePtr_
|
||||||
|
);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
const_cast<Time&>(t).libs().open
|
||||||
|
(
|
||||||
|
dict,
|
||||||
|
"libs",
|
||||||
|
dictionaryConstructorTablePtr_
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
if (!dictionaryConstructorTablePtr_)
|
if (!dictionaryConstructorTablePtr_)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -46,7 +46,7 @@ Description
|
|||||||
myFunctionObject // Name of functionObject entry
|
myFunctionObject // Name of functionObject entry
|
||||||
{
|
{
|
||||||
type functionObjectType;
|
type functionObjectType;
|
||||||
functionObjectLibs ("libMyFunctionObjectlib.so");
|
libs ("libMyFunctionObjectlib.so");
|
||||||
region defaultRegion;
|
region defaultRegion;
|
||||||
enabled yes;
|
enabled yes;
|
||||||
timeStart 0;
|
timeStart 0;
|
||||||
@ -62,7 +62,7 @@ Description
|
|||||||
\table
|
\table
|
||||||
Property | Description | Required | Default value
|
Property | Description | Required | Default value
|
||||||
type | Type of function object | yes |
|
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 |
|
region | Name of region for multi-region cases | no |
|
||||||
enabled | On/off switch | no | yes
|
enabled | On/off switch | no | yes
|
||||||
timeStart| Start time | no |
|
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)
|
void Foam::functionObjects::writeFiles::resetNames(const wordList& names)
|
||||||
{
|
{
|
||||||
names_.clear();
|
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
|
//- Create the output file
|
||||||
virtual void createFiles();
|
virtual void createFiles();
|
||||||
|
|
||||||
//- Write function
|
|
||||||
virtual void write();
|
|
||||||
|
|
||||||
//- Reset the list of names from a wordList
|
//- Reset the list of names from a wordList
|
||||||
virtual void resetNames(const wordList& names);
|
virtual void resetNames(const wordList& names);
|
||||||
|
|
||||||
@ -130,6 +127,9 @@ public:
|
|||||||
|
|
||||||
//- Return file 'i'
|
//- Return file 'i'
|
||||||
OFstream& file(const label i);
|
OFstream& file(const label i);
|
||||||
|
|
||||||
|
//- Write function
|
||||||
|
virtual bool write(const bool postProcess = false);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -52,7 +52,7 @@ functions
|
|||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
// Function object enabled flag
|
// Function object enabled flag
|
||||||
enabled true;
|
enabled true;
|
||||||
|
|||||||
@ -67,7 +67,7 @@ Description
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
restartOnRestart false;
|
restartOnRestart false;
|
||||||
restartOnOutput false;
|
restartOnOutput false;
|
||||||
|
|||||||
@ -37,7 +37,7 @@ Description
|
|||||||
fieldCoordinateSystemTransform1
|
fieldCoordinateSystemTransform1
|
||||||
{
|
{
|
||||||
type fieldCoordinateSystemTransform;
|
type fieldCoordinateSystemTransform;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -22,7 +22,7 @@ functions
|
|||||||
type fieldCoordinateSystemTransform;
|
type fieldCoordinateSystemTransform;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
// Function object enabled flag
|
// Function object enabled flag
|
||||||
enabled true;
|
enabled true;
|
||||||
|
|||||||
@ -52,7 +52,7 @@ functions
|
|||||||
type fieldMinMax;
|
type fieldMinMax;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
// Function object enabled flag
|
// Function object enabled flag
|
||||||
enabled true;
|
enabled true;
|
||||||
|
|||||||
@ -39,7 +39,7 @@ Description
|
|||||||
fieldMinMax1
|
fieldMinMax1
|
||||||
{
|
{
|
||||||
type fieldMinMax;
|
type fieldMinMax;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
write yes;
|
write yes;
|
||||||
log yes;
|
log yes;
|
||||||
|
|||||||
@ -39,7 +39,7 @@ Description
|
|||||||
cellSource1
|
cellSource1
|
||||||
{
|
{
|
||||||
type cellSource;
|
type cellSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
log true;
|
log true;
|
||||||
valueOutput true;
|
valueOutput true;
|
||||||
|
|||||||
@ -49,7 +49,7 @@ functions
|
|||||||
faceObj1
|
faceObj1
|
||||||
{
|
{
|
||||||
type faceSource;
|
type faceSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
@ -91,7 +91,7 @@ functions
|
|||||||
faceObj2
|
faceObj2
|
||||||
{
|
{
|
||||||
type faceSource;
|
type faceSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
log true;
|
log true;
|
||||||
@ -109,7 +109,7 @@ functions
|
|||||||
cellObj1
|
cellObj1
|
||||||
{
|
{
|
||||||
type cellSource;
|
type cellSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
log true;
|
log true;
|
||||||
|
|||||||
@ -42,7 +42,7 @@ Description
|
|||||||
faceSource1
|
faceSource1
|
||||||
{
|
{
|
||||||
type faceSource;
|
type faceSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
log yes;
|
log yes;
|
||||||
valueOutput true;
|
valueOutput true;
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Description
|
|||||||
fieldValueDelta1
|
fieldValueDelta1
|
||||||
{
|
{
|
||||||
type fieldValueDelta;
|
type fieldValueDelta;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
operation subtract;
|
operation subtract;
|
||||||
|
|
||||||
fieldValue1
|
fieldValue1
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Description
|
|||||||
{
|
{
|
||||||
type histogram;
|
type histogram;
|
||||||
|
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
field p;
|
field p;
|
||||||
nBins 100;
|
nBins 100;
|
||||||
|
|||||||
@ -49,7 +49,7 @@ functions
|
|||||||
near
|
near
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
type nearWallFields;
|
type nearWallFields;
|
||||||
|
|
||||||
|
|||||||
@ -43,7 +43,7 @@ Description
|
|||||||
nearWallFields1
|
nearWallFields1
|
||||||
{
|
{
|
||||||
type nearWallFields;
|
type nearWallFields;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
fields ((p pNear)(U UNear));
|
fields ((p pNear)(U UNear));
|
||||||
patches (movingWall);
|
patches (movingWall);
|
||||||
|
|||||||
@ -22,7 +22,7 @@ functions
|
|||||||
type processorField;
|
type processorField;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
// Function object enabled flag
|
// Function object enabled flag
|
||||||
enabled true;
|
enabled true;
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Description
|
|||||||
processorField1
|
processorField1
|
||||||
{
|
{
|
||||||
type processorField;
|
type processorField;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|||||||
@ -19,7 +19,7 @@ functions
|
|||||||
readFields1
|
readFields1
|
||||||
{
|
{
|
||||||
type readFields;
|
type readFields;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
@ -33,7 +33,7 @@ functions
|
|||||||
faceObj2
|
faceObj2
|
||||||
{
|
{
|
||||||
type faceSource;
|
type faceSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Description
|
|||||||
readFields1
|
readFields1
|
||||||
{
|
{
|
||||||
type readFields;
|
type readFields;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -59,7 +59,7 @@ Description
|
|||||||
regionSizeDistribution1
|
regionSizeDistribution1
|
||||||
{
|
{
|
||||||
type regionSizeDistribution;
|
type regionSizeDistribution;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
field alpha;
|
field alpha;
|
||||||
patches (inlet);
|
patches (inlet);
|
||||||
|
|||||||
@ -51,7 +51,7 @@ functions
|
|||||||
type streamLine;
|
type streamLine;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
// Output every
|
// Output every
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -37,7 +37,7 @@ Description
|
|||||||
streamLine1
|
streamLine1
|
||||||
{
|
{
|
||||||
type streamLine;
|
type streamLine;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
setFormat vtk;
|
setFormat vtk;
|
||||||
UName U;
|
UName U;
|
||||||
|
|||||||
@ -43,7 +43,7 @@ Description
|
|||||||
surfaceInterpolateFields1
|
surfaceInterpolateFields1
|
||||||
{
|
{
|
||||||
type surfaceInterpolateFields;
|
type surfaceInterpolateFields;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
fields ((p pNear)(U UNear));
|
fields ((p pNear)(U UNear));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -49,7 +49,7 @@ functions
|
|||||||
readFields
|
readFields
|
||||||
{
|
{
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
type readFields;
|
type readFields;
|
||||||
fields (p U k);
|
fields (p U k);
|
||||||
@ -58,7 +58,7 @@ functions
|
|||||||
near
|
near
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
type nearWallFields;
|
type nearWallFields;
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ functions
|
|||||||
streamLines
|
streamLines
|
||||||
{
|
{
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
type wallBoundedStreamLine;
|
type wallBoundedStreamLine;
|
||||||
|
|
||||||
// Output every
|
// Output every
|
||||||
|
|||||||
@ -37,7 +37,7 @@ Description
|
|||||||
wallBoundedStreamLine1
|
wallBoundedStreamLine1
|
||||||
{
|
{
|
||||||
type wallBoundedStreamLine;
|
type wallBoundedStreamLine;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
...
|
...
|
||||||
setFormat vtk;
|
setFormat vtk;
|
||||||
UName UNear;
|
UName UNear;
|
||||||
|
|||||||
@ -37,7 +37,7 @@ Description
|
|||||||
forceCoeffs1
|
forceCoeffs1
|
||||||
{
|
{
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
functionObjectLibs ("libforces.so");
|
libs ("libforces.so");
|
||||||
...
|
...
|
||||||
log yes;
|
log yes;
|
||||||
patches (walls);
|
patches (walls);
|
||||||
|
|||||||
@ -40,7 +40,7 @@ Description
|
|||||||
forces1
|
forces1
|
||||||
{
|
{
|
||||||
type forces;
|
type forces;
|
||||||
functionObjectLibs ("libforces.so");
|
libs ("libforces.so");
|
||||||
...
|
...
|
||||||
log yes;
|
log yes;
|
||||||
patches (walls);
|
patches (walls);
|
||||||
|
|||||||
@ -81,7 +81,7 @@ Description
|
|||||||
pressureTools1
|
pressureTools1
|
||||||
{
|
{
|
||||||
type pressureTools;
|
type pressureTools;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
...
|
...
|
||||||
calcTotal no;
|
calcTotal no;
|
||||||
calcCoeff yes;
|
calcCoeff yes;
|
||||||
|
|||||||
@ -51,7 +51,7 @@ Description
|
|||||||
wallShearStress1
|
wallShearStress1
|
||||||
{
|
{
|
||||||
type wallShearStress;
|
type wallShearStress;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
...
|
...
|
||||||
patches (".*Wall");
|
patches (".*Wall");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
cloudInfo/cloudInfo.C
|
cloudInfo/cloudInfo.C
|
||||||
|
icoUncoupledKinematicCloud/icoUncoupledKinematicCloud.C
|
||||||
|
|
||||||
LIB = $(FOAM_LIBBIN)/liblagrangianFunctionObjects
|
LIB = $(FOAM_LIBBIN)/liblagrangianFunctionObjects
|
||||||
|
|||||||
@ -1,9 +1,19 @@
|
|||||||
EXE_INC = \
|
EXE_INC = \
|
||||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
-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/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 = \
|
LIB_LIBS = \
|
||||||
-lfiniteVolume \
|
-lfiniteVolume \
|
||||||
|
-lincompressibleTransportModels \
|
||||||
|
-lmeshTools \
|
||||||
-llagrangian \
|
-llagrangian \
|
||||||
-llagrangianIntermediate
|
-llagrangianIntermediate \
|
||||||
|
-llagrangianTurbulence \
|
||||||
|
-lregionModels \
|
||||||
|
-lsurfaceFilmModels
|
||||||
|
|||||||
@ -38,7 +38,7 @@ Description
|
|||||||
cloudInfo1
|
cloudInfo1
|
||||||
{
|
{
|
||||||
type cloudInfo;
|
type cloudInfo;
|
||||||
functionObjectLibs ("libcloudFunctionObjects.so");
|
libs ("libcloudFunctionObjects.so");
|
||||||
...
|
...
|
||||||
clouds
|
clouds
|
||||||
(
|
(
|
||||||
|
|||||||
@ -19,7 +19,7 @@ functions
|
|||||||
cloudInfo1
|
cloudInfo1
|
||||||
{
|
{
|
||||||
type cloudInfo;
|
type cloudInfo;
|
||||||
functionObjectLibs ("libcloudFunctionObjects.so");
|
libs ("libcloudFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|||||||
@ -48,7 +48,7 @@ Description
|
|||||||
\verbatim
|
\verbatim
|
||||||
difference
|
difference
|
||||||
{
|
{
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
|
||||||
type coded;
|
type coded;
|
||||||
// Name of on-the-fly generated functionObject
|
// Name of on-the-fly generated functionObject
|
||||||
|
|||||||
@ -58,7 +58,7 @@ functions
|
|||||||
type partialWrite;
|
type partialWrite;
|
||||||
|
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libIOFunctionObjects.so");
|
libs ("libIOFunctionObjects.so");
|
||||||
|
|
||||||
// Optional mesh region to operate on. Only one partialWrite per
|
// Optional mesh region to operate on. Only one partialWrite per
|
||||||
// region allowed.
|
// region allowed.
|
||||||
@ -91,7 +91,7 @@ functions
|
|||||||
type writeRegisteredObject;
|
type writeRegisteredObject;
|
||||||
|
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libIOFunctionObjects.so");
|
libs ("libIOFunctionObjects.so");
|
||||||
|
|
||||||
// When to write:
|
// When to write:
|
||||||
// timeStep (with optional writeInterval)
|
// timeStep (with optional writeInterval)
|
||||||
|
|||||||
@ -37,7 +37,7 @@ Description
|
|||||||
partialWrite1
|
partialWrite1
|
||||||
{
|
{
|
||||||
type partialWrite;
|
type partialWrite;
|
||||||
functionObjectLibs ("libIOFunctionObjects.so");
|
libs ("libIOFunctionObjects.so");
|
||||||
...
|
...
|
||||||
objectNames (p U T);
|
objectNames (p U T);
|
||||||
writeInterval 100;
|
writeInterval 100;
|
||||||
|
|||||||
@ -35,7 +35,7 @@ Description
|
|||||||
removeRegisteredObject1
|
removeRegisteredObject1
|
||||||
{
|
{
|
||||||
type removeRegisteredObject;
|
type removeRegisteredObject;
|
||||||
functionObjectLibs ("libIOFunctionObjects.so");
|
libs ("libIOFunctionObjects.so");
|
||||||
...
|
...
|
||||||
objectNames (obj1 obj2);
|
objectNames (obj1 obj2);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -49,7 +49,7 @@ functions
|
|||||||
systemCall1
|
systemCall1
|
||||||
{
|
{
|
||||||
type systemCall;
|
type systemCall;
|
||||||
functionObjectLibs ("libsystemCall.so");
|
libs ("libsystemCall.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -40,7 +40,7 @@ Description
|
|||||||
systemCall1
|
systemCall1
|
||||||
{
|
{
|
||||||
type systemCall;
|
type systemCall;
|
||||||
functionObjectLibs ("libsystemCall.so");
|
libs ("libsystemCall.so");
|
||||||
...
|
...
|
||||||
executeCalls
|
executeCalls
|
||||||
(
|
(
|
||||||
|
|||||||
@ -49,7 +49,7 @@ functions
|
|||||||
fileUpdate1
|
fileUpdate1
|
||||||
{
|
{
|
||||||
type timeActivatedFileUpdate;
|
type timeActivatedFileUpdate;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
fileToUpdate "$FOAM_CASE/system/fvSolution";
|
fileToUpdate "$FOAM_CASE/system/fvSolution";
|
||||||
|
|||||||
@ -37,7 +37,7 @@ Description
|
|||||||
fileUpdate1
|
fileUpdate1
|
||||||
{
|
{
|
||||||
type timeActivatedFileUpdate;
|
type timeActivatedFileUpdate;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
fileToUpdate "$FOAM_CASE/system/fvSolution";
|
fileToUpdate "$FOAM_CASE/system/fvSolution";
|
||||||
|
|||||||
@ -19,7 +19,7 @@ functions
|
|||||||
turbulenceFields1
|
turbulenceFields1
|
||||||
{
|
{
|
||||||
type turbulenceFields;
|
type turbulenceFields;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|||||||
@ -43,7 +43,7 @@ Description
|
|||||||
turbulenceFields1
|
turbulenceFields1
|
||||||
{
|
{
|
||||||
type turbulenceFields;
|
type turbulenceFields;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
...
|
...
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -58,7 +58,7 @@ functions
|
|||||||
type partialWrite;
|
type partialWrite;
|
||||||
|
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libIOFunctionObjects.so");
|
libs ("libIOFunctionObjects.so");
|
||||||
|
|
||||||
// Optional mesh region to operate on. Only one partialWrite per
|
// Optional mesh region to operate on. Only one partialWrite per
|
||||||
// region allowed.
|
// region allowed.
|
||||||
@ -91,7 +91,7 @@ functions
|
|||||||
type writeRegisteredObject;
|
type writeRegisteredObject;
|
||||||
|
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libIOFunctionObjects.so");
|
libs ("libIOFunctionObjects.so");
|
||||||
|
|
||||||
// When to write:
|
// When to write:
|
||||||
// timeStep (with optional writeInterval)
|
// timeStep (with optional writeInterval)
|
||||||
|
|||||||
@ -44,7 +44,7 @@ Description
|
|||||||
writeRegisteredObject1
|
writeRegisteredObject1
|
||||||
{
|
{
|
||||||
type writeRegisteredObject;
|
type writeRegisteredObject;
|
||||||
functionObjectLibs ("libIOFunctionObjects.so");
|
libs ("libIOFunctionObjects.so");
|
||||||
exclusiveWriting true;
|
exclusiveWriting true;
|
||||||
...
|
...
|
||||||
objectNames (obj1 obj2);
|
objectNames (obj1 obj2);
|
||||||
|
|||||||
@ -50,7 +50,7 @@ functions
|
|||||||
difference
|
difference
|
||||||
{
|
{
|
||||||
// Load the library containing the 'coded' functionObject
|
// Load the library containing the 'coded' functionObject
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
|
||||||
type coded;
|
type coded;
|
||||||
|
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
timeStep
|
timeStep
|
||||||
{
|
{
|
||||||
type coded;
|
type coded;
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
redirectType setDeltaT;
|
redirectType setDeltaT;
|
||||||
|
|
||||||
code
|
code
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -53,7 +53,7 @@ functions
|
|||||||
{
|
{
|
||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
functionObjectLibs ( "libsampling.so" );
|
libs ( "libsampling.so" );
|
||||||
type probes;
|
type probes;
|
||||||
name probes;
|
name probes;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|||||||
@ -54,7 +54,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,7 @@ functions
|
|||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
functionObjectLibs ( "libforces.so" );
|
libs ( "libforces.so" );
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
|
|||||||
@ -52,7 +52,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
fields
|
fields
|
||||||
@ -116,7 +116,7 @@ functions
|
|||||||
dsmcFields1
|
dsmcFields1
|
||||||
{
|
{
|
||||||
type dsmcFields;
|
type dsmcFields;
|
||||||
functionObjectLibs ( "libutilityFunctionObjects.so" );
|
libs ( "libutilityFunctionObjects.so" );
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -52,7 +52,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
restartOnOutput off;
|
restartOnOutput off;
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ functions
|
|||||||
dsmcFields1
|
dsmcFields1
|
||||||
{
|
{
|
||||||
type dsmcFields;
|
type dsmcFields;
|
||||||
functionObjectLibs ( "libutilityFunctionObjects.so" );
|
libs ( "libutilityFunctionObjects.so" );
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -52,7 +52,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
fields
|
fields
|
||||||
@ -116,7 +116,7 @@ functions
|
|||||||
dsmcFields1
|
dsmcFields1
|
||||||
{
|
{
|
||||||
type dsmcFields;
|
type dsmcFields;
|
||||||
functionObjectLibs ( "libutilityFunctionObjects.so" );
|
libs ( "libutilityFunctionObjects.so" );
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -52,7 +52,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
fields
|
fields
|
||||||
@ -117,7 +117,7 @@ functions
|
|||||||
dsmcFields1
|
dsmcFields1
|
||||||
{
|
{
|
||||||
type dsmcFields;
|
type dsmcFields;
|
||||||
functionObjectLibs ( "libutilityFunctionObjects.so" );
|
libs ( "libutilityFunctionObjects.so" );
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
}
|
}
|
||||||
@ -126,7 +126,7 @@ functions
|
|||||||
{
|
{
|
||||||
type forces;
|
type forces;
|
||||||
enabled true;
|
enabled true;
|
||||||
functionObjectLibs ( "libforces.so" );
|
libs ( "libforces.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
patches ( obstacle );
|
patches ( obstacle );
|
||||||
directForceDensity true;
|
directForceDensity true;
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
Q
|
Q
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
|
||||||
type Q;
|
type Q;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ forces
|
|||||||
{
|
{
|
||||||
type forces;
|
type forces;
|
||||||
|
|
||||||
functionObjectLibs ( "libforces.so" );
|
libs ( "libforces.so" );
|
||||||
|
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
timeInterval 1;
|
timeInterval 1;
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
surfaces
|
surfaces
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
surfaceFormat vtk;
|
surfaceFormat vtk;
|
||||||
|
|||||||
@ -50,7 +50,7 @@ functions
|
|||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forces;
|
type forces;
|
||||||
functionObjectLibs ( "libforces.so" );
|
libs ( "libforces.so" );
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 10;
|
writeInterval 10;
|
||||||
patches (wing);
|
patches (wing);
|
||||||
|
|||||||
@ -54,7 +54,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ( "libsampling.so" );
|
libs ( "libsampling.so" );
|
||||||
|
|
||||||
type probes;
|
type probes;
|
||||||
|
|
||||||
|
|||||||
@ -54,7 +54,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ( "libsampling.so" );
|
libs ( "libsampling.so" );
|
||||||
|
|
||||||
type probes;
|
type probes;
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -73,7 +73,7 @@ functions
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
functionObjectLibs ( "libsampling.so" );
|
libs ( "libsampling.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
surfaceFormat vtk;
|
surfaceFormat vtk;
|
||||||
fields ( p U );
|
fields ( p U );
|
||||||
@ -96,7 +96,7 @@ functions
|
|||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
functionObjectLibs ( "libforces.so" );
|
libs ( "libforces.so" );
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
patches ( "motorBike.*" );
|
patches ( "motorBike.*" );
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
surfaceFormat vtk;
|
surfaceFormat vtk;
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
functionObjectLibs ( "libforces.so" );
|
libs ( "libforces.so" );
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
type probes;
|
type probes;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
@ -76,7 +76,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ functions
|
|||||||
type surfaces;
|
type surfaces;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
type probes;
|
type probes;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
@ -76,7 +76,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ functions
|
|||||||
type surfaces;
|
type surfaces;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
enabled true;
|
enabled true;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
functionObjectLibs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
surfaceFormat vtk;
|
surfaceFormat vtk;
|
||||||
|
|||||||
@ -10,7 +10,7 @@ forceCoeffs1
|
|||||||
{
|
{
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
|
|
||||||
functionObjectLibs ( "libforces.so" );
|
libs ( "libforces.so" );
|
||||||
|
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
timeInterval 1;
|
timeInterval 1;
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
streamLines
|
streamLines
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
type streamLine;
|
type streamLine;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
near
|
near
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
type nearWallFields;
|
type nearWallFields;
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ near
|
|||||||
wallBoundedStreamLines
|
wallBoundedStreamLines
|
||||||
{
|
{
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
type wallBoundedStreamLine;
|
type wallBoundedStreamLine;
|
||||||
|
|
||||||
// Output every
|
// Output every
|
||||||
|
|||||||
@ -52,7 +52,7 @@ functions
|
|||||||
type streamLine;
|
type streamLine;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
// Output every
|
// Output every
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -52,7 +52,7 @@ functions
|
|||||||
type streamLine;
|
type streamLine;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
// Output every
|
// Output every
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
faceSource1
|
faceSource1
|
||||||
{
|
{
|
||||||
type faceSource;
|
type faceSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled yes;
|
enabled yes;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
log yes;
|
log yes;
|
||||||
|
|||||||
@ -51,7 +51,7 @@ functions
|
|||||||
faceSource1
|
faceSource1
|
||||||
{
|
{
|
||||||
type faceSource;
|
type faceSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled yes;
|
enabled yes;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
log yes;
|
log yes;
|
||||||
|
|||||||
@ -51,7 +51,7 @@ functions
|
|||||||
faceSource1
|
faceSource1
|
||||||
{
|
{
|
||||||
type faceSource;
|
type faceSource;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled yes;
|
enabled yes;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
log yes;
|
log yes;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user