# BC in k-eps solver

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

 April 6, 2010, 11:06 BC in k-eps solver #1 Senior Member   Nilesh Rane Join Date: Apr 2010 Posts: 122 Rep Power: 9 Sponsored Links Hi folks.. I am using a research code for my masters thesis. Its an k-eps(jones-launder high Re model) multiple species chemical reactive code code which was written for something else and i am trying to work in for my case. I want to apply viscous wall BC in the code. I know that the boundary conditions basically should be like this: @ boundary u,v,w,k,eps all equal to zero. now i can easily set this by making the values at ghost cells just negative of whatever the value at the cell next to wall ( this results in zero at wall by extrapolation) but what about the normal temp, vibrational temp, energy, density, pressure, vibrational energy,and the species concentrations variables??? how to specify the BC for them?? and what conditions should be specified on the flux values for these variables?? Can anyone help??? __________________ Imagination is more important than knowledge..

 April 7, 2010, 01:00 #2 Senior Member     p ding Join Date: Mar 2009 Posts: 317 Rep Power: 11 finite volume method or fdm. by the way, at the solid wall ,now all these quantitied equal to 0

April 7, 2010, 04:48
#3
Senior Member

Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 9
Quote:
 Originally Posted by ztdep finite volume method or fdm. by the way, at the solid wall ,now all these quantitied equal to 0
FVM..

Say the wall is j=2 plane. now there is one ghost cell j=1. So for u,v,w,k,eps things are easy.

u(k,1,i) = -u(k,3,i) so that resultant at (k,2,i) would be zero..and so on for v, w, k, eps.

Now temperature i can give isothermal conditions. But i have no idea about vibrational temperature. There must be some formula right?? and what about energy variables e and ev (vibrational energy)?? How to specify condition on that???

Also what about the fluxes du, dv etc?? can somebody tell me how to put conditions on this??
__________________
Imagination is more important than knowledge..

 April 8, 2010, 08:46 #4 Senior Member     p ding Join Date: Mar 2009 Posts: 317 Rep Power: 11 Dear friends: My experience is that I assemble the matrix only with the inner grid points. We have known the boudnary grid points value for the first kind boundary condition. for the second and third kind bc, i implemented it with the "additional source term method". all the flux was trasformed into the source term of the first inner control volume. Hope this help.

 Tags boundary conditions, k-epsilon model

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Luiz CFX 4 March 6, 2011 21:02 suitup OpenFOAM Running, Solving & CFD 0 January 20, 2010 08:45 bearcat CFX 6 April 28, 2008 14:08 youngan CFX 0 July 1, 2003 23:32 tokai CFX 10 July 17, 2001 16:25