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

groovybc / swak4foam question

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 18, 2013, 04:24
Default groovybc / swak4foam question
  #1
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,097
Rep Power: 16
RodriguezFatz will become famous soon enough
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.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 22, 2013, 06:46
Default
  #2
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,097
Rep Power: 16
RodriguezFatz will become famous soon enough
I'm trying

Code:
type groovyBC;
        valueExpression "10*(6*nu)/(0.075*sqr(mag(delta())))";
        value uniform 1e9;
now. Can someone confirm that?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 22, 2013, 14:13
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by RodriguezFatz View Post
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
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   November 25, 2013, 06:26
Default
  #4
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,097
Rep Power: 16
RodriguezFatz will become famous soon enough
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.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 25, 2013, 10:15
Default
  #5
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by RodriguezFatz View Post
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:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
groovyBC issue - k and epsilon sagnikmazumdar OpenFOAM Running, Solving & CFD 24 March 1, 2015 08:16
whats wrong with this groovyBC expression in parenthesis? immortality OpenFOAM Running, Solving & CFD 11 June 5, 2013 07:54
Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 22 January 21, 2013 12:51
swak4Foam for faceZones andrea.pasquali OpenFOAM 3 August 30, 2011 11:24
Wall heat transfer using groovyBC (XiFoam solver) usergk OpenFOAM 7 February 4, 2011 14:36


All times are GMT -4. The time now is 08:09.