CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] groovybc / swak4foam question

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

Reply
 
LinkBack Thread Tools Search this Thread 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,297
Rep Power: 26
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,297
Rep Power: 26
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: 4,225
Rep Power: 51
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,297
Rep Power: 26
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: 4,225
Rep Power: 51
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 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] and twoPhaseEulerFoam mnikku OpenFOAM Community Contributions 1 February 19, 2016 06:21
[swak4Foam] Incorrect results of SWAK4FOAM function objects if Parallelisation involved wstapel OpenFOAM Community Contributions 0 December 17, 2015 10:57
[swak4Foam] Varying heat flux using groovyBC with chtMultiRegionSimpleFoam hcl734 OpenFOAM Community Contributions 5 December 15, 2015 09:55
[swak4Foam] groovyBC issue - k and epsilon sagnikmazumdar OpenFOAM Community Contributions 24 March 1, 2015 08:16
[swak4Foam] Wall heat transfer using groovyBC (XiFoam solver) usergk OpenFOAM Community Contributions 7 February 4, 2011 14:36


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