mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user