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

Reflective wall and non slip condition?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2018, 20:52
Question Reflective wall and non slip condition?
  #1
New Member
 
Join Date: Jun 2017
Posts: 24
Rep Power: 9
Jaydi_21 is on a distinguished road
I'm working with a finite volume scheme to solve the shallow water equations on a 2d flow. However, I'm having issues understanding the boundary conditions.

So far, I think I understand that the condition at the wall can be either non slip, or slip. I don't know however when the slip condition can be applied. At the same time I know that a boundary can be reflective or transmissive? (I know there are many more possibilities, but for now I'm focused on these cases).

My question is, for a 2d case if I want to put a reflective boundary, then I should fix the normal velocity of the next cell (beyond the domain) equal to the one of the last cell within the domain, right? If that is the case, then what should I fix for the tangential velocity? Because I'm using an explicit scheme, I need a value for the tangential velocity also. Does this value depend either on a non slip or a slip condition? Then the boundary is reflective and non slip? Or just the reflective boundary condition involves fixing also the tnagential velocity to some value?
Jaydi_21 is offline   Reply With Quote

Old   February 19, 2018, 23:48
Default
  #2
Super Moderator
 
Praveen. C
Join Date: Mar 2009
Location: Bangalore
Posts: 343
Blog Entries: 6
Rep Power: 18
praveen is on a distinguished road
If you have a first order problem like inviscid flow, you can only say that normal velocity must be zero because the fluid cannot penetrate into a solid wall, so there can be tangential or slip velocity.

For second order (parabolic) problem like navier-stokes, the full velocity must be zero at a stationary wall, which is called no-slip condition.

Reflective boundary is used as a synonym for slip boundary.

For slip boundary: assuming you are using a cell-centered formulation, i.e., your first grid point is above the wall, you can set the velocity in the ghost cell by reflecting the normal component and the tangential component is unchanged. So if v is velocity vector at first cell, then you set

v_{ghost} = v - 2(v \cdot n) n

where n is the normal vector to the boundary.
praveen is offline   Reply With Quote

Old   February 20, 2018, 13:00
Default So reflective is the same than slip!
  #3
New Member
 
Join Date: Jun 2017
Posts: 24
Rep Power: 9
Jaydi_21 is on a distinguished road
Quote:
Originally Posted by praveen View Post
If you have a first order problem like inviscid flow, you can only say that normal velocity must be zero because the fluid cannot penetrate into a solid wall, so there can be tangential or slip velocity.

For second order (parabolic) problem like navier-stokes, the full velocity must be zero at a stationary wall, which is called no-slip condition.

Reflective boundary is used as a synonym for slip boundary.

For slip boundary: assuming you are using a cell-centered formulation, i.e., your first grid point is above the wall, you can set the velocity in the ghost cell by reflecting the normal component and the tangential component is unchanged. So if v is velocity vector at first cell, then you set

v_{ghost} = v - 2(v \cdot n) n

where n is the normal vector to the boundary.
Should that expression give me that the normal component is just the opposite direction and the tangential one, remains the same?. Let's say u (normal) and w (tangential) are the components of the velocity vector v, then I was setting for the ghost cell (yes, I have a cell-centered formulation):

u_{ghost} = -u
w_{ghost} = w

But I have a cartesian grid and with that expression, I'd only have one value of velocity, is that just for the normal component? And then the tangential, I just simply say it remains unchanged?
Jaydi_21 is offline   Reply With Quote

Old   February 20, 2018, 13:57
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Jaydi_21 View Post
Should that expression give me that the normal component is just the opposite direction and the tangential one, remains the same?. Let's say u (normal) and w (tangential) are the components of the velocity vector v, then I was setting for the ghost cell (yes, I have a cell-centered formulation):

u_{ghost} = -u
w_{ghost} = w

But I have a cartesian grid and with that expression, I'd only have one value of velocity, is that just for the normal component? And then the tangential, I just simply say it remains unchanged?

In your original question I see a mix of doubts about physical and numerical BC.s to se at a wall.

1) Physical BC.s: use the no-slip condition for real fluid where viscosity is taken into acccount. The slip condition is used for the simplified inviscid flow model (Euler equations).

2) Numerical B.C.s: if you are looking for a way to set a value in a ghost point, say at a location yh (1d example), having the value at the wall (yw) and in a set of interior nodes (y1, y2, y3,..), you have to prescribe a value that is congruent with the accuracy order of your scheme. If you have a low order scheme, no more than second order, you can use the values at yw and y1 in order to evaluate a linear law and extrapolate the value at yh. If the scheme has higher order of accuracy you need to extrapolate the value at yh using more infos, for example the value at y2 (or, when possible, the condition of the normal derivative at the wall).
FMDenaro is offline   Reply With Quote

Old   February 20, 2018, 15:01
Question Yes, I'm looking a way to set values for ghost cells
  #5
New Member
 
Join Date: Jun 2017
Posts: 24
Rep Power: 9
Jaydi_21 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
In your original question I see a mix of doubts about physical and numerical BC.s to se at a wall.

1) Physical BC.s: use the no-slip condition for real fluid where viscosity is taken into acccount. The slip condition is used for the simplified inviscid flow model (Euler equations).

2) Numerical B.C.s: if you are looking for a way to set a value in a ghost point, say at a location yh (1d example), having the value at the wall (yw) and in a set of interior nodes (y1, y2, y3,..), you have to prescribe a value that is congruent with the accuracy order of your scheme. If you have a low order scheme, no more than second order, you can use the values at yw and y1 in order to evaluate a linear law and extrapolate the value at yh. If the scheme has higher order of accuracy you need to extrapolate the value at yh using more infos, for example the value at y2 (or, when possible, the condition of the normal derivative at the wall).
Let's say that I use the non slip condition as you suggest. Does that imply that the wave will not reflect? I mean, I want the boundary to reflect the incoming waves...I have a first order scheme, so I'm just using linear interpolation.

Because the non slip condition actually set the normal velocity to 0, right? and the tangential one also is 0? But if I want the waves to be reflected, then I need to null normal velocity!
Jaydi_21 is offline   Reply With Quote

Old   February 20, 2018, 15:17
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Jaydi_21 View Post
Let's say that I use the non slip condition as you suggest. Does that imply that the wave will not reflect? I mean, I want the boundary to reflect the incoming waves...I have a first order scheme, so I'm just using linear interpolation.

Because the non slip condition actually set the normal velocity to 0, right? and the tangential one also is 0? But if I want the waves to be reflected, then I need to null normal velocity!

Reflection of a wave on a wall is a quite different issue and depends on the type of wave (acoustic, convective, ..). Generally, this aspect is relevant for the Euler equations (inviscid flow model) or for compressible Navier-Stokes equations at very high Reynolds number.
There are many papers about the types of BC.s for such flow problem. One of the relevant paper is from Poinsot and Lele on JCP.
juliom likes this.
FMDenaro is offline   Reply With Quote

Old   February 20, 2018, 15:43
Default
  #7
New Member
 
Join Date: Jun 2017
Posts: 24
Rep Power: 9
Jaydi_21 is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Reflection of a wave on a wall is a quite different issue and depends on the type of wave (acoustic, convective, ..). Generally, this aspect is relevant for the Euler equations (inviscid flow model) or for compressible Navier-Stokes equations at very high Reynolds number.
There are many papers about the types of BC.s for such flow problem. One of the relevant paper is from Poinsot and Lele on JCP.
Ok, I'll read about it because actually, at this moment I'm not interested in seeing reflection. I just wanted to set a condition that says that the water should reflect at that boundary but if it's so complicated, I think I'll use the non slip condition. For the non slip condition, both components (normal and tangential) of the velocity at the ghost cell, are null, right? Or do I look for a value that gives me null velocity at the boundary? If the normal velocity at the first cell is u, then at the ghost cell, I should have a -u velocity, is that correct? And the same for the tangential component, -w? That way, I have non null velocities at the ghost cell, but null velocity at the boundary, for both components.

And the last question, for the water depth, is it correct to simply use the same water depth than the first cell within the domain (not interpolating)?
Jaydi_21 is offline   Reply With Quote

Reply

Tags
boundary cells, boundary condition., finite volume method, shallow water equations, slip bc


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



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