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

wall function

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 10, 2002, 03:55
Default wall function
  #1
Rams
Guest
 
Posts: n/a
Dear All,

I am using KE-EP turbulence model to simulate a turbulent jet.I would like to set wall conditions through ground due to complex geometry. So could anyone tell me the function/numerical value for co-efficinet(GRND2) and value (GRND2). Here is the example of earth generated wall function.

PATCH(BIW,LWALL,1,80,2,13,1,1,1,1) COVAL(BIW ,U1 , GRND2 , 0.000000E+00) COVAL(BIW ,V1 , GRND2 , 0.000000E+00) COVAL(BIW ,KE , GRND2 , GRND2 ) COVAL(BIW ,EP , GRND2 , GRND2 )

Thanking you Rams
  Reply With Quote

Old   December 16, 2002, 07:37
Default Re: wall function
  #2
Olof Liungman
Guest
 
Posts: n/a
Hello,

unless I've misunderstood something, I don't think you need the actual values of GRND2. Instead, you either replace GRND2 by for example GRND3 (or 4 or 1 or...) and enter your coding at the appropriate place in GROUND (for coefficient and/or value), or you leave the GRND2-setting and code in the appropriate section and chapter for coefficient=GRND2 and value=GRND2.

If your question is exactly what the built-in settings GRND2 result in, then you can find this in POLIS under the entry WALLS.

Hope this helps,

Olof
  Reply With Quote

Old   December 18, 2002, 03:43
Default Re: wall function
  #3
Rams
Guest
 
Posts: n/a
Dear Dr.Olof,

Thanks for your reply. I need to use inlets as well as wall in single patch. In this case, I could not use earth generated wall function. So I would like to make coding for value and coefficient in ground.

I could not find the numerical value or function for coefficient(GRND2) and value(GRND2) in polis.

If possible help me.

Thanking you Rams
  Reply With Quote

Old   December 18, 2002, 04:26
Default Re: wall function
  #4
Olof Liungman
Guest
 
Posts: n/a
Dear Rams,

what version of PHOENICS are you using? If you do not have the latest Polis you can always check out http://www.cham.co.uk/phoenics/d_pol...od/enc_tu8.htm. The GRND2-setting yields the equilibrium log-law functions.

If you need more help I could use some more information about the physical problem you are trying to model. Why do you want a wall and an inlet at the same place?

Regards,

Olof
  Reply With Quote

Old   December 18, 2002, 20:49
Default Re: wall function
  #5
Rams
Guest
 
Posts: n/a
Dear Olof,

Thanks for your reply.I am simulating converging jet in cylindrical polar coordinates. In this model, I used three inlets at the bottom with an interval of 120 degree in x direction. Cross section of the inlet is circular. I used my coding in ground to set inlets. However, the inlets are not exactly circular. Mesh size 80x40x50. If I use earth generated wall function, I need to use many patches. So I would like to set wall as folows.

At z=1 (lwall), I would like to set one patch from y=1 to 40 and x=1 to 80. If there is inlet, phoenics will use my set values in the ground. If there is no inlets, phoenics have to use wall functions. In this case I need to use coding for wall functions in ground as same as inlets. For that I need to know the exact function/value for GRND2 used for u1,v1,Ke and Ep.

Thanking you,

Rams

  Reply With Quote

Old   December 19, 2002, 04:38
Default Re: wall function
  #6
Olof Liungman
Guest
 
Posts: n/a
Hello Rams!

OK, now I think I see your problem. There may be easier ways of doing this that I don't know about, but the info about wall functions you want is available at http://www.cham.co.uk/phoenics/d_pol...d/enc_tu82.htm (the same adress as in my last post). However, I'm not sure GROUND-coding is the easiest way of solving this. It might be easier to create all the required patches in Q1 and do all your coding there (this way you can be sure of getting the correct built-in wall function settings). An interesting alternative is In-Form, which I haven't used but the following help article seems to address your problem: http://www.cham.co.uk/phoenics/d_pol...-form.htm#sour.

If you're still stuck I propose that you create a new thread in this forum with a good title to see if anyone else has a ready-made example. I'm sorry I do not have the time to try to provide you with any actual code, only these hints.

Good luck,

Olof
  Reply With Quote

Old   December 19, 2002, 20:27
Default Re: wall function
  #7
Rams
Guest
 
Posts: n/a
Dear Olof,

Thank you very much for your kind help.

Rams
  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
How can I add a new wall function imano OpenFOAM Running, Solving & CFD 13 January 17, 2011 06:19
Bug in wall function rolando OpenFOAM Bugs 7 June 8, 2007 04:51
wall function Alex CFX 9 May 19, 2005 10:05
Does RSM use wall function? Sam Main CFD Forum 4 March 3, 2005 00:58
Wall function Min-Hua Wang CFX 4 July 5, 2002 12:13


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