Skip to content
Snippets Groups Projects
Commit 06f1b49d authored by andy's avatar andy Committed by Andrew Heather
Browse files

BUG: turbulenceFields function object - removed execute from read

ENH: turbulenceFields function object - Updated usage documentation
parent 5b215dce
Branches
Tags
No related merge requests found
......@@ -19,7 +19,7 @@ functions
turbulenceFields1
{
type turbulenceFields;
functionObjectLibs ("libfieldFunctionObjects.so");
functionObjectLibs ("libutilityFunctionObjects.so");
enabled true;
outputControl timeStep;
outputInterval 1;
......
......@@ -143,7 +143,7 @@ void Foam::turbulenceFields::read(const dictionary& dict)
Info<< "storing fields:" << nl;
forAllConstIter(wordHashSet, fieldSet_, iter)
{
Info<< " " << modelName << '.' << iter.key() << nl;
Info<< " " << modelName << ':' << iter.key() << nl;
}
Info<< endl;
}
......@@ -151,8 +151,6 @@ void Foam::turbulenceFields::read(const dictionary& dict)
{
Info<< "no fields requested to be stored" << nl << endl;
}
execute();
}
}
......
......@@ -32,16 +32,16 @@ Description
further manipulation.
Fields are stored as copies of the original, with the prefix
"tubulenceModel::", e.g.
"tubulenceModel:", e.g.
turbulenceModel::R
turbulenceModel:R
Example of function object specification:
\verbatim
turbulenceFields1
{
type turbulenceFields;
functionObjectLibs ("libfieldFunctionObjects.so");
functionObjectLibs ("libutilityFunctionObjects.so");
...
fields
(
......
......@@ -36,7 +36,7 @@ void Foam::turbulenceFields::processField
{
typedef GeometricField<Type, fvPatchField, volMesh> FieldType;
const word scopedName = modelName + '.' + fieldName;
const word scopedName = modelName + ':' + fieldName;
if (obr_.foundObject<FieldType>(scopedName))
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment