|
[Sponsors] |
RuntimeControl with surfaceFieldValue (v2012) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 21, 2021, 03:45 |
RuntimeControl with surfaceFieldValue (v2012)
|
#1 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Dear All!
How can I combine the runtimeControl function object with the surfaceFieldValue function object? In the following dummy example I get the following warning: Code:
runTimeControl runTimeControl1 output: average: condition0 averages: --> FOAM Warning : From virtual bool Foam::functionObjects::runTimeControls::averageCondition::apply() in file runTimeControl/runTimeCondition/averageCondition/averageCondition.C at line 151 From function object: inletPres Unprocessed fields: p Code:
functions { inletPres { type surfaceFieldValue; libs ("libfieldFunctionObjects.so"); writeControl timeStep; log yes; writeFields no; regionType patch; name inlet; operation areaAverage; fields ( p ); } runTimeControl1 { type runTimeControl; libs ("libutilityFunctionObjects.so"); conditions { condition0 { type average; functionObject inletPres; fields (p); tolerance 5; windowType approximate; window 5; // groupID 1; } } } } It seems like the surfaceFieldValue is using some weird name for the results field which I wasn't able to figure out or they are just not compatible (it would be surprising)? Thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Compilation of OF v2012 | sihaqqi | OpenFOAM Installation | 1 | January 8, 2021 14:14 |
surfaceFieldValue from faceZone issue | ginop | OpenFOAM Post-Processing | 2 | December 1, 2020 09:35 |
[swak4Foam] Problem to calculate grad(U) using swak4Foam | Hugoles | OpenFOAM Community Contributions | 12 | November 24, 2020 10:28 |
surfaceFieldValue, sampledSurface, areaAverage at no slip wall, velocity not zero | Tom Lauriks | Main CFD Forum | 3 | September 16, 2020 03:05 |