CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

RuntimeControl with surfaceFieldValue (v2012)

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By tomf
  • 1 Post By simrego

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 21, 2021, 03:45
Default RuntimeControl with surfaceFieldValue (v2012)
  #1
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
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;
            }
        }
    }
 }
I have tried many combinations for the field name in the condition0 entry without any success.
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!
simrego is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 21:17.