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

Error near boundary layer as 1st grid decrease

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 3, 2007, 00:32
Default Error near boundary layer as 1st grid decrease
  #1
CF
Guest
 
Posts: n/a
Hello,

I'm simulating a flow past cylinder using an O grid, in FVM. I normally intialize solution everywhere to u=1. and do the simulation. As time step increases, the velocity near the boundary will decrease since u=v=0 on its surface. It works ok when 1st grid size is at 5.e-3.

When I refine my grid further to 1.e-3, 2 strange things happen to the grids near the boundary. The velocity decreases as it gets nearer the boundary but for the grid cells just next to the boundary, velocity suddenly gets larger and points in the opposite direction. Hence the resulting drag is negative.

Interestingly the solution did not explode and other parts of the flow looks fine (separation etc). At 5.e-3, there's no such problem. I also tried to initialize the solution such that near the boundary, the velocity is tangential to it and it gets smaller as it get nearer but the problem is still there.

Moreover, I've used the code on a C grid simulating flow past an airfoil and there's no such problem even as grid refines. Hope someone can suggest some ways to solve this problem.

Thank you.
  Reply With Quote

Old   October 3, 2007, 07:04
Default Re: Error near boundary layer as 1st grid decrease
  #2
Jake
Guest
 
Posts: n/a
What precision are you using? Although 1e-3 doesn't seem too small, it might be worthwhile to try double precision to see the effect.
  Reply With Quote

Old   October 3, 2007, 09:37
Default Re: Error near boundary layer as 1st grid decrease
  #3
CF
Guest
 
Posts: n/a
I'm using double precision already. Btw, I wonder if it is because for initial velocity field is not solenoid. I'm not very sure how to do it. Can someone enlighten me? Thanks.
  Reply With Quote

Old   October 3, 2007, 10:21
Default Re: Error near boundary layer as 1st grid decrease
  #4
Jake
Guest
 
Posts: n/a
Why not just use a uniform flow field as the initial condition? This is divergence free.
  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
Turbulent Boundary Layer on a Flat Plate Hoshang Garda FLUENT 1 November 27, 2013 11:24
LES- first grid point in boundary layer, y+ sina Main CFD Forum 0 February 3, 2011 10:26
Boundary layer generation problems ivan_cozza OpenFOAM Native Meshers: snappyHexMesh and Others 0 October 6, 2010 13:47
Boundary Layer Question scottneh STAR-CCM+ 3 September 30, 2010 14:21
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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