|
[Sponsors] |
February 11, 2016, 11:58 |
functionObject type = faceSource
|
#1 |
New Member
Gabriele
Join Date: Jan 2016
Location: Milan
Posts: 6
Rep Power: 10 |
Hello, I' m trying tu run my case with this functionObject that i copied here: /opt/openfoam240/src/postProcessing/functionObjects/field/fieldAverage
When i run interFoam, i get this output error: --> FOAM FATAL IO ERROR: keyword sourceName is undefined in dictionary "/home/gabriele/OpenFOAM/gabriele-2.4.0/run/prova/system/controlDict.functions.faceObj1" file: /home/gabriele/OpenFOAM/gabriele-2.4.0/run/prova/system/controlDict.functions.faceObj1 from line 55 to line 87. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 442. Below the script that i put in controlDict: functions { faceObj1 { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl outputTime; // Output to log&file (true) or to file only log true; // Output field values as well valueOutput true; // Type of source: patch/faceZone/sampledSurface source sampledSurface; // if sampledSurface: dictionary with a sampledSurface // Note: will not sample surface fields. sampledSurfaceDict { // Sampling on constantPlane sourceName piano1; type plane; // always triangulated basePoint (0.41 0 0); normalVector (-1 0 0); } // Operation: areaAverage/sum/weightedAverage ... operation areaAverage; fields ( p ); } } Someone has an idea from where is the problem? Thank you |
|
February 11, 2016, 12:02 |
|
#2 |
New Member
Gabriele
Join Date: Jan 2016
Location: Milan
Posts: 6
Rep Power: 10 |
Sorry, in the script there isn't the line:
sourceName piano1; anyway openFoam still gives me the same error both with and without this line |
|
November 8, 2018, 07:54 |
OpenFoam
|
#3 |
New Member
Manaf Muhammed
Join Date: Oct 2018
Posts: 20
Rep Power: 7 |
Dear friend can you find out the problem. I am also facing the same.please help.
manafaero@gmail.com |
|
May 30, 2019, 06:54 |
|
#4 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
Old thread (and this could be a version issue.)
But for anyone seeking answers to get patch data in OF6 I just added a comment here: The syntax has changed a bit, that's all. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 00:21 |
Simulation of Radial Fan with simpleFoam MRF | nash | OpenFOAM Running, Solving & CFD | 2 | November 5, 2015 10:12 |
interFoam/kOmegaSST tank filling with printStackError/Mules | simpomann | OpenFOAM Running, Solving & CFD | 3 | February 17, 2014 17:06 |
[swak4Foam] Air Conditioned room groovyBC | Sebaj | OpenFOAM Community Contributions | 7 | October 31, 2012 14:16 |
pipe flow with heat transfer | Fabian | OpenFOAM | 2 | December 12, 2009 04:53 |