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

how to do a grid independent study

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

Like Tree5Likes
  • 2 Post By Jade M
  • 1 Post By zxin
  • 1 Post By armitatz
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Display Modes
Old   November 9, 2010, 11:05
Default how to do a grid independent study
  #1
Member
 
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 8
xyq102296 is on a distinguished road
Hello everyone

I want to do a grid independent study on my model, the model is only 5mm width, 2D
I add inflation layer on the wall and set the element size in the middle.
what kind of critiria is for the grid independent? After a coarse mesh, decrease the inflation layer and element size by the same ratio?
And for my pc , it can't stand the cell size smaller than 0.08mm. Can I finish the grid independent study on this model?
xyq102296 is offline   Reply With Quote

Old   November 9, 2010, 11:07
Default
  #2
Member
 
newansysuser
Join Date: Oct 2010
Posts: 33
Rep Power: 8
xyq102296 is on a distinguished road
I have read all the threads about grid independent in this forums, and I also asked my instructors, he has no idea, so please tell me if you know , thank you in advanced.
xyq102296 is offline   Reply With Quote

Old   November 15, 2010, 12:28
Default
  #3
Senior Member
 
Join Date: Feb 2010
Posts: 145
Rep Power: 10
Jade M is on a distinguished road
Systematically decrease the element size by half and quantify the error, such as the maximum value of the streamfunction. For example, suppose there are two regions in the flow, namely, the bulk of the flow and the boundary layer. Start with the default mesh. In the bulk of the flow, decrease the element size and quantify the error. Repeat until the error is within tolerance. In the boundary layer, repeat the same procedure. That is, keep decreasing the mesh until the solution is independent of the grid.

Good luck!
rgd and engineer.iman like this.
Jade M is offline   Reply With Quote

Old   February 6, 2011, 18:27
Default
  #4
Member
 
John
Join Date: Jan 2011
Posts: 64
Rep Power: 8
John222 is on a distinguished road
Quote:
Originally Posted by Jade M View Post
Systematically decrease the element size by half and quantify the error, such as the maximum value of the streamfunction. For example, suppose there are two regions in the flow, namely, the bulk of the flow and the boundary layer. Start with the default mesh. In the bulk of the flow, decrease the element size and quantify the error. Repeat until the error is within tolerance. In the boundary layer, repeat the same procedure. That is, keep decreasing the mesh until the solution is independent of the grid.

Good luck!
how to know that the solution is independent of the grid?
John222 is offline   Reply With Quote

Old   February 8, 2011, 07:19
Default
  #5
New Member
 
zhao xin
Join Date: Feb 2010
Location: Goteborg
Posts: 28
Rep Power: 9
zxin is on a distinguished road
Untill your result comes to the value within an acceptable error compared to the last one.
engineer.iman likes this.
zxin is offline   Reply With Quote

Old   December 24, 2013, 07:47
Default
  #6
Member
 
Join Date: Dec 2013
Posts: 53
Rep Power: 5
myaccount is on a distinguished road
Hi
I have simulated flow over solids.I have applied periodic boundary conditions in GAMBIT.I have run the case in FLUENT and the case got converged.After I change the grid size to finest and most coarser, the values far away from the converged case ,I see the same results .Why is this happening?
myaccount is offline   Reply With Quote

Old   January 22, 2014, 01:13
Default
  #7
New Member
 
Join Date: May 2013
Posts: 4
Rep Power: 6
KhXeR is on a distinguished road
What tolerance are you setting for your convergance criteria.
Increase it a little bit, say 10e-5 and then see your results.
KhXeR is offline   Reply With Quote

Old   July 13, 2016, 12:53
Default Grid Independence Study
  #8
New Member
 
KARNATAKA
Join Date: Jul 2016
Posts: 1
Rep Power: 0
Akshay_EEE is on a distinguished road
In ANSYS CFX i am performing thermal analysis of motor. I have done meshing for the motor in HYPERMESH tool and exported file to ANSYS CFX. I have selected the element length size of 5 mm and i got around 3.5 million elements.After initializing domain interfaces, boundary conditions i have run the simulation and got the results. In order to verify the results, again in HYPERMESH for the same meshed model i just increased the number of elements by re-meshing the model. Again in CFX after simulation i am getting the same results. The result won't vary what i got from the previous meshed model. Does this mean i have reached mesh independence study and got the expected results?
Please give me your feedback, I am new to CFD. Since i am from the electrical background i don't have much idea about the mesh independence study.
Akshay_EEE is offline   Reply With Quote

Old   April 20, 2017, 01:59
Default
  #9
New Member
 
shafkat
Join Date: Oct 2016
Posts: 11
Rep Power: 2
SHAFKAT91 is on a distinguished road
Hello,

I am new to fluent. I have the following mesh file. What command do I use to do a mesh independent study? Can anyone please tell me?
Attached Images
File Type: jpg Mesh-PS2-Vertical.jpg (31.6 KB, 19 views)
SHAFKAT91 is offline   Reply With Quote

Old   April 26, 2017, 06:49
Default
  #10
New Member
 
Sabomb
Join Date: Feb 2016
Posts: 13
Rep Power: 3
Sabomb is on a distinguished road
Quote:
Originally Posted by SHAFKAT91 View Post
Hello,

I am new to fluent. I have the following mesh file. What command do I use to do a mesh independent study? Can anyone please tell me?
There is no command that you can use. You will have to manually refine the grid and see if the parameter you intend to measure varies.
Sabomb is offline   Reply With Quote

Old   April 27, 2017, 12:44
Default
  #11
New Member
 
andrew
Join Date: Oct 2015
Posts: 7
Rep Power: 3
armitatz is on a distinguished road
this is a very good article about a methodology using Richardson extrapolation
https://www.grc.nasa.gov/www/wind/va.../spatconv.html
also you can read the book from p roache 'verification and validation in computational science...'
Sabomb likes this.
armitatz is offline   Reply With Quote

Old   April 27, 2017, 23:20
Default
  #12
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 1,854
Rep Power: 26
LuckyTran will become famous soon enoughLuckyTran will become famous soon enough
Quote:
Originally Posted by SHAFKAT91 View Post
Hello,

I am new to fluent. I have the following mesh file. What command do I use to do a mesh independent study? Can anyone please tell me?
I recommend to go back to the mesher and generate a new grid. But if that is not possible then use the adapt feature. Mark whatever region (or all regions) to adapt. The default level of refinement is 2.
Sabomb likes this.
LuckyTran is offline   Reply With Quote

Old   April 29, 2017, 07:29
Default Grid Independence Study
  #13
New Member
 
Noel
Join Date: Feb 2017
Posts: 5
Rep Power: 2
noelanish is on a distinguished road
Send a message via Skype™ to noelanish
So what's the deal for 3D meshes with polyhedral elements? J.D Anderson in his book mentions simple parameter comparisons.

For example,

Mesh with 31 elements, a=0.534
Mesh with 62 elements, a=0.533
Exact analytical solution, a=0.528

But in my case I don't have the luxury of an analytical solution. Except for the knowing the exact mass-flow-rate.

Thanks guys
noelanish is offline   Reply With Quote

Old   April 29, 2017, 10:16
Default
  #14
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 1,854
Rep Power: 26
LuckyTran will become famous soon enoughLuckyTran will become famous soon enough
Quote:
Originally Posted by noelanish View Post
But in my case I don't have the luxury of an analytical solution. Except for the knowing the exact mass-flow-rate.
For real problems you can assume that there never is any analytical solution in CFD. That is because if you had the analytical solution, then you wouldn't be doing CFD to figure out what he solution is.

But that is why you do something like a richardson extrapolation to estimate what the solution is. It doesn't have to be a richardson extrapolation, it could be something better.
LuckyTran is offline   Reply With Quote

Old   April 29, 2017, 15:11
Default
  #15
New Member
 
andrew
Join Date: Oct 2015
Posts: 7
Rep Power: 3
armitatz is on a distinguished road
[QUOTE= It doesn't have to be a richardson extrapolation, it could be something better.[/QUOTE]

when you say something better what do you mean? Do you know of a better procedure?
armitatz is offline   Reply With Quote

Old   April 29, 2017, 21:44
Default
  #16
Senior Member
 
Lucky Tran
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 1,854
Rep Power: 26
LuckyTran will become famous soon enoughLuckyTran will become famous soon enough
Quote:
Originally Posted by armitatz View Post
when you say something better what do you mean? Do you know of a better procedure?
Any type of sequence accelerator is appropriate. Richardson extrapolation is just one simple method that gives you O(n+1) from an O(n) method. It is attractive because often it is easier to do the O(n) method more times than to do the O(n+1). But Richardson extrapolation is only a linear sequence transformation and it uses only information from say the n and n-1 terms to predict the n+1 term.

The Aitken's delta-squared method for example is a non-linear sequence transformation, again using only O(n) information but can give you much more information because it uses information from the n, n-1, and n-2 terms in the sequence. Thus is has more long range order.

The idea is not that you must use Richardson extrapolation always, it is simply a good place to start. There are entire family of methods that are available. We are just scratching the surface with Richardson & Aitken's methods.

The obvious analogy is you don't always use 1st order upwind or 1st order Euler discretization. Eventually you move on to higher order and more accurate methods when it becomes appropriate to do so.
LuckyTran is offline   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
What is meant by Grid Independence Study? Khan FLUENT 10 July 2, 2015 22:40
Grid independent solution Suresh FLUENT 0 April 17, 2003 17:46
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59
Grid Independent Solution Hesham M. Aly FLUENT 2 October 5, 2000 08:24
grid dependent or independent Allan Zhao Main CFD Forum 2 September 15, 1999 14:56


All times are GMT -4. The time now is 03:28.