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/)
-   -   [swak4Foam] groovybc / swak4foam question (https://www.cfd-online.com/Forums/openfoam-community-contributions/126447-groovybc-swak4foam-question.html)

RodriguezFatz November 18, 2013 03:24

groovybc / swak4foam question
 
Hi all,

I just implemented a groovybc and I am not sure if I did it right. Can someone confirm that this does what it should? I want the standard "Menter" wall boundary condition for omega:

Code:

PIPE_WALL
{
  type groovyBC;
  valueExpression "10*(6*nu)/(0.075*sqr(y))";
  value uniform 1e9;
}

How do I know the names of "y" and "nu" for the omega file? Also: Is "y" the denormalized "y+"?

Thanks for any help,
Philipp.

RodriguezFatz November 22, 2013 05:46

I'm trying

Code:

type groovyBC;
        valueExpression "10*(6*nu)/(0.075*sqr(mag(delta())))";
        value uniform 1e9;

now. Can someone confirm that?

gschaider November 22, 2013 13:13

Quote:

Originally Posted by RodriguezFatz (Post 463065)
I'm trying

Code:

type groovyBC;
        valueExpression "10*(6*nu)/(0.075*sqr(mag(delta())))";
        value uniform 1e9;

now. Can someone confirm that?

No idea. Depends on how this Menter-condition is defined

RodriguezFatz November 25, 2013 05:26

Boundary condition at the wall (not the first cell point) should be
10 * 6 * viscosity / (0.075 * dy*dy)
with dy = the distance from the wall to the first point.

gschaider November 25, 2013 09:15

Quote:

Originally Posted by RodriguezFatz (Post 463373)
Boundary condition at the wall (not the first cell point) should be
10 * 6 * viscosity / (0.075 * dy*dy)
with dy = the distance from the wall to the first point.

If with "first point" you mean "cell center" you should be OK: http://openfoamwiki.net/index.php/Co...g_to_need_are:


All times are GMT -4. The time now is 01:35.