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

flow around cylinder in Re=40

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2018, 00:36
Default flow around cylinder in Re=40
  #1
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Hi all
I want to solve the flow around the cylinder in viscoelastic fluid. At first I did it for Newtonian fluid in Re= 10 , 40 , 100 and for viscoelastic fluid in Re= 10 , 100 and obtained exact results. But when I change the Re to 40 for viscoelastic fluid, it became diverged!
I changed many parameters of solution:
urf = from 0.1 to 0.9 --> diverged!
corunt Nu. = from 0.1 to 0.9 --> diverged!
changing the kind and size of mesh --> diverged!
changing the kind and size of mesh --> diverged!
increasing the number of solving pressure correction Eqn from 2 to 20 --> diverged!
decreasing the min residuals to 1e-8 --> diverged!
changing discretization schemes of div terms: Gauss linear (central), Gauss upwind(1st), Gauss upwind(2nd), limitedLinear , QUICK --> diverged!

But I have done some ways to solve that:
1- I saw in this page that sb proposed to the other that decrease the residuals to 1e-19 !! I did it and my solution became converged! I can't analyze that! Is it possible?
2- In the other way I increased the number of solving pressure correction Eqn to 20, decreasing the min residuals to 1e-8
3- setting the time step to 0.001 instead of setting Cr=0.3

Now I don't know that my results are reliable or not!
Could you please tell me what happend that these solutions are appropriate for solve it?

Thanks
alimea is offline   Reply With Quote

Old   January 9, 2018, 03:31
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Using double precision you can set the residual to 10^-12, however I suggest to you a small dt, the numerical stability properties depends strongly on the viscous part.
FMDenaro is offline   Reply With Quote

Old   January 9, 2018, 06:19
Default
  #3
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
Using double precision you can set the residual to 10^-12, however I suggest to you a small dt, the numerical stability properties depends strongly on the viscous part.
Thank you
Could you please explain more?
Do you want to say that my 3rd way(decreasing dt to 0.001) is the best?
So why the other ways give me good results?
Why could I solve the problem of divergence with decreasing residuals?

I didn't get this sentence and its relation with my problem:
"the numerical stability properties depends strongly on the viscous part."
alimea is offline   Reply With Quote

Old   January 9, 2018, 10:04
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
There is more than a single answer to your problem and that should require a deeper debug.
I can suppose that the you are solving a non-Newtonian fluid where the viscosity depends on the stress. An eccessive error in the tolerance could affect the evaluation of the viscosity and if your dt is close to the boundary of the stability region you could see the onset of instability and then a divergence in the solution
alimea likes this.
FMDenaro is offline   Reply With Quote

Old   January 9, 2018, 10:09
Default
  #5
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 305
Rep Power: 12
alimea is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
There is more than a single answer to your problem and that should require a deeper debug.
I can suppose that the you are solving a non-Newtonian fluid where the viscosity depends on the stress. An eccessive error in the tolerance could affect the evaluation of the viscosity and if your dt is close to the boundary of the stability region you could see the onset of instability and then a divergence in the solution
OK. So I have to decrease my dt to 1e-4 (for example)

Thanks
alimea is offline   Reply With Quote

Reply

Tags
openfoam, viscoelasticfluidfoam


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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Drag force coefficient too low for a flow past cylinder at Re= 1e05 Scabbard STAR-CCM+ 2 June 5, 2020 14:44
Drag force coefficient too high for a flow past a cylinder using komega sst Scabbard OpenFOAM Running, Solving & CFD 37 March 21, 2016 16:16
benchmark: flow over a circular cylinder goodegg Main CFD Forum 12 January 22, 2013 11:47
Flow over a cylinder Anna Main CFD Forum 9 March 24, 2006 14:32


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