CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [Other] GroovyBC (https://www.cfd-online.com/Forums/openfoam-community-contributions/200467-groovybc.html)

saurabhshubham April 4, 2018 02:29

GroovyBC
 
Hello all,
I am trying to run Groovy BC, in which I am giving oscillatory boundary condition to the tip of the rectangular block.

saurabhshubham April 4, 2018 02:32

GroovyBC
 
Hello all,
I am trying to give oscillatory motion using groovyBC. but it's not working.

Quote:

Wall
{ type groovyBC;
variables "A=0.05;w=1.256;";
valueExpression "vector(0,A*w*cos(w*time()),0)";
value uniform (0 0 0);
fractionExpression "0"; }
The error that i am getting is :

Quote:

--> FOAM FATAL ERROR: A point-field was wanted but we got a face From function CommonValueExpressionDriver::getResult(bool qPoint) in file ../swak4FoamParsers/lnInclude/CommonValueExpressionDriverI.H at line 113.
FOAM exiting
please help me out

peyman.davvalo.khongar June 6, 2018 02:52

Quote:

Originally Posted by saurabhshubham (Post 687522)
Hello all,
I am trying to give oscillatory motion using groovyBC. but it's not working.

The error that i am getting is :

please help me out

Moi!

Do you mind I ask you why you dont use this instead of groovyBC:

https://openfoamwiki.net/index.php/M...tingFixedValue


Moikka

Peyman


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