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

What is the smallest mesh I can have?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2014, 18:14
Default What is the smallest mesh I can have?
  #1
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Dear all:
I have a very small tank (0.1mx0.510m). Mesh size is 50X200. Water depth is 0.021m. When I apply a sinusoidal displacement to it, I see wave breaking, but the graphics does not seem right. Can anyone tell me if this is because of the tiny mesh size? I am using paraview 4.1.0 and openfoam 2.2.1. I have attached the paraview image. The input waveform is also attached.

Thankyou,
Musa
musahossein is offline   Reply With Quote

Old   July 7, 2014, 04:42
Default
  #2
New Member
 
Siamak Gharahjeh
Join Date: Aug 2012
Posts: 27
Rep Power: 13
siamakghh2000 is on a distinguished road
I am strongly doubtful that a small mesh is posing a problem, the smaller the mesh the safer the solution. Even from a certain point on, solution should be independent of mesh size.
If you like to know the the smallest mesh you can have, it is found in a trial and error procedure. That is, your y+ should be at most 2 next to the wall for correct shear stress calculation (running the simulation and checking the y+, changing the mesh and running it again).
siamakghh2000 is offline   Reply With Quote

Old   July 7, 2014, 07:31
Default
  #3
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Quote:
Originally Posted by siamakghh2000 View Post
I am strongly doubtful that a small mesh is posing a problem, the smaller the mesh the safer the solution. Even from a certain point on, solution should be independent of mesh size.
If you like to know the the smallest mesh you can have, it is found in a trial and error procedure. That is, your y+ should be at most 2 next to the wall for correct shear stress calculation (running the simulation and checking the y+, changing the mesh and running it again).
Understood. Thankyou. However what do you mean by at most 2? Do you mean the number of cells in the vertical direction (wave elevation axis -- z in my case) should be 2 times more than the number of cells in the horizontal direction (direction of wave motion +- y in my case?). I look forward to your reply.
musahossein is offline   Reply With Quote

Old   July 7, 2014, 08:08
Default
  #4
New Member
 
Siamak Gharahjeh
Join Date: Aug 2012
Posts: 27
Rep Power: 13
siamakghh2000 is on a distinguished road
Anytime.
No, the point is to stay in the viscus sub-layer which happens at y+<5 (y+=yu*/viscosity), when I say y+ at most 2. This is because wall shear stress is calculated from laminar shear stress formula ,Wall shear stress= Mu*du/dy (Mu laminar viscosity).
However, 5 is too big for y+, therefore they say that 2 is better.
You will need to calculate y+ at the end of a solution convergence for a given mesh configuration. That is, u* which is an always constant value beside the wall and y value which points to the location of first grid point next to the wall to be able to calculate y+=yu*/viscosity
I should actually have asked whether you are developing a code by yourself. Because if you make use of commercial codes, I think they use wall functions. In that case you have nothing to worry about.
siamakghh2000 is offline   Reply With Quote

Old   July 7, 2014, 09:15
Default
  #5
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
I am using OpenFoam. Your discussion was most insightful -- I should have done some diligence before posing this question. So thankyou again.
musahossein is offline   Reply With Quote

Reply

Tags
shallow tank, solshingtank2d, tiny mesh size


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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 07:34
[snappyHexMesh] snappyHexMesh & Mesh around a missile sasanghomi OpenFOAM Meshing & Mesh Conversion 2 October 15, 2014 19:54
engrid -> save as .stl with boundarie codes Zymon enGrid 31 August 29, 2011 13:40
Smallest mesh size cfd_newbie FLUENT 2 December 5, 2008 05:29
basic of mesh refinement arya CFX 4 June 19, 2007 12:21


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