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

Error near boundary layer as 1st grid decrease

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 3, 2007, 01: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, 08: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, 10: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, 11: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


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
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
[snappyHexMesh] Boundary layer generation problems ivan_cozza OpenFOAM Meshing & Mesh Conversion 0 October 6, 2010 14:47
Boundary Layer Question scottneh STAR-CCM+ 3 September 30, 2010 15:21
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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