CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

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

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

Code:
WALL_BK
{
        type            groovyBC;
        valueExpression "value";
        variables
        (
            "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:

Code:
WALL_BK
    {
        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 06:52.
Jury is offline   Reply With Quote

Reply

Tags
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 09:42
[swak4Foam] reactingMultiPhaseEulerFoam problems with groovyBC zanilu70 OpenFOAM Community Contributions 4 December 13, 2016 07:46
[swak4Foam] epsilon groovyBC problem Thom OpenFOAM Community Contributions 5 October 26, 2012 06:16
[swak4Foam] Problem with free surface in groovyBC Hisham OpenFOAM Community Contributions 2 August 4, 2011 09:23


All times are GMT -4. The time now is 06:14.