|
[Sponsors] |
Error near boundary layer as 1st grid decrease |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 3, 2007, 01:32 |
Error near boundary layer as 1st grid decrease
|
#1 |
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. |
|
October 3, 2007, 08:04 |
Re: Error near boundary layer as 1st grid decrease
|
#2 |
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.
|
|
October 3, 2007, 10:37 |
Re: Error near boundary layer as 1st grid decrease
|
#3 |
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.
|
|
October 3, 2007, 11:21 |
Re: Error near boundary layer as 1st grid decrease
|
#4 |
Guest
Posts: n/a
|
Why not just use a uniform flow field as the initial condition? This is divergence free.
|
|
|
|
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 |