CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] GroovyBC lookuptabels parser problem

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2022, 07:07
Default GroovyBC lookuptabels parser problem
New Member
Join Date: Nov 2021
Posts: 12
Rep Power: 4
Jury is on a distinguished road
Hey everyone,

I'm running OF 8 and swak4Foam. This is how I implemented a BC:

        type            groovyBC;
        valueExpression "value";
            "value=tbl(pos().x*1e3, 0);" //Conversion from m in mm

        lookuptables2D (
            outOfBounds clamp;
            format foam;
            name tbl;
            file "$FOAM_CASE/constant/Twall.dat";
        value           uniform 400;
When I try to rerun the case or try to run it on mulitple cores I get the Error message "keyword outOfBounds is undefined in dictionary", because the entry gets lost. This is the BC definition afterwards:

        type            groovyBC;
        refValue        uniform 400;
        refGradient     uniform 0;
        valueFraction   uniform 1;
        value           uniform 400;
        valueExpression "value";
        gradientExpression "0";
        fractionExpression "1";
        evaluateDuringConstruction 0;
        cyclicSlave     0;
        variables       "value=tbl(pos().x*1e3, 0);";
        timelines       (
        lookuptables    (
        lookuptables2D  (
        name            tbl;
Does anyone how to fix this problem?

Thanks in Advance!

Last edited by Jury; February 11, 2022 at 05:52.
Jury is offline   Reply With Quote


groovybc, lost, parser, swak4foam, variables

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] swak4foam 0.4.2, groovyBC parallel diverging, openfoam extend 4.0 Kombinator OpenFOAM Community Contributions 4 November 24, 2020 08:42
[swak4Foam] reactingMultiPhaseEulerFoam problems with groovyBC zanilu70 OpenFOAM Community Contributions 4 December 13, 2016 06:46
[swak4Foam] epsilon groovyBC problem Thom OpenFOAM Community Contributions 5 October 26, 2012 05:16
[swak4Foam] Problem with free surface in groovyBC Hisham OpenFOAM Community Contributions 2 August 4, 2011 08:23

All times are GMT -4. The time now is 05:57.