CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Would you consider this as a converged solution?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By fedenr
  • 1 Post By DevilX

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2021, 03:06
Default Would you consider this as a converged solution?
  #1
New Member
 
F
Join Date: Oct 2021
Posts: 10
Rep Power: 4
fran.cesc is on a distinguished road
Good day,

Would you consider the attached plots as those of a converged solution?

My concerns are:
- Is it normal that I need like 200 iterations for p, while only a few for the other variables?
- Is it normal that the p residual is kind of fluctuating?
- Is it normal that the p residual is like 2 order of magnitude higher than the other residuals?

Note:
- the discontinuities at about 1.4s is due to the fact that I changed the time step on the go.
- I have got a time variant BC, with the input velocity that raises from 0 to its final value at 2s.

Thanks
Attached Images
File Type: jpg Capture.jpg (119.3 KB, 35 views)
fran.cesc is offline   Reply With Quote

Old   December 14, 2021, 07:36
Default
  #2
New Member
 
Federico Nahuel Ramírez
Join Date: Dec 2020
Location: Spain
Posts: 16
Rep Power: 5
fedenr is on a distinguished road
Hello fran.cesc,
In my opinion the residuals look good. Regarding your doubts, it is normal that the residuals fluctuate as long as the amplitude is small, just as the number of iterations for each variable changes between cases and solvers. At least that has been my experience, someone correct me if I am wrong.
As for the convergence, I think it is better to check it by analyzing how much some variable of interest of your problem varies, such as CL and CD if it is an airfoil, Instead of looking only at residuals.
arjun and fran.cesc like this.
fedenr is offline   Reply With Quote

Old   December 15, 2021, 04:27
Default
  #3
Member
 
Daniel
Join Date: Jan 2021
Posts: 39
Rep Power: 5
DevilX is on a distinguished road
Hey there,


let me give my 2 cents about your case.

- without a log file, case description, solver/schemes settings its hard to evaluate your case
- p-Iterations of 200 is really high - shouldn´t be so, mostly due to fvSolution settings (tolerance 0.0 maybe?)
- p residual fluctuating can be okay, but not in this range of 0.01, this is to huge to let it be okay with it. What solver are you using?
- so pressure boundary conditions maybe also a problem here
- transient cases are robust and stable, you should go to 1e-3 with residuals at least (its possible, look at your other residuals)
- timeStepErrors are fine
- monitor your variables of interest (massflow, forces, liftcoefficent...) and evaluate convergence on these, do not focus only on residuals
fran.cesc likes this.
DevilX is offline   Reply With Quote

Old   December 15, 2021, 06:35
Default
  #4
New Member
 
F
Join Date: Oct 2021
Posts: 10
Rep Power: 4
fran.cesc is on a distinguished road
Thanks for your reply

Quote:
Originally Posted by DevilX View Post
- without a log file, case description, solver/schemes settings its hard to evaluate your case
It is an external flow case. The fluid is air. Please see attached for a screenshot of the geometry. I am also attaching the main case files.


Quote:
Originally Posted by DevilX View Post
- p-Iterations of 200 is really high - shouldn´t be so, mostly due to fvSolution settings (tolerance 0.0 maybe?)
I have got tolerance 1e7 and relTol 0.01; but I have set that for pFinal relTol goes to 0.

Quote:
Originally Posted by DevilX View Post
- p residual fluctuating can be okay, but not in this range of 0.01, this is to huge to let it be okay with it. What solver are you using?
In order to solve p, I am using the GAMG solver.


Quote:
Originally Posted by DevilX View Post
- so pressure boundary conditions maybe also a problem here
For the pressure BC, I am using zeroGradient at the inlet and fixedValue (0) at the outlet. At the top and bottom, I am using a symmetry condition; whereas I use zeroGradient on the walls.

Quote:
Originally Posted by DevilX View Post
- transient cases are robust and stable, you should go to 1e-3 with residuals at least (its possible, look at your other residuals)
I have also selected very robust and 1st order settings, but still...

Quote:
Originally Posted by DevilX View Post
- timeStepErrors are fine
- monitor your variables of interest (massflow, forces, liftcoefficent...) and evaluate convergence on these, do not focus only on residuals
Thanks for your suggestion.



I have attached the main files of my case. Any suggestion about what the problem you were mentioning could be please?

Thanks

Kind Regards
Attached Images
File Type: jpg Capture3.jpg (33.5 KB, 6 views)
Attached Files
File Type: txt fvSchemes.txt (1.4 KB, 5 views)
File Type: txt fvSolution.txt (1.9 KB, 5 views)
File Type: txt p.txt (1.4 KB, 3 views)
File Type: txt U.txt (1.6 KB, 3 views)
fran.cesc is offline   Reply With Quote

Reply


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
solution is converged but a problem flow_CH FLUENT 9 June 2, 2020 09:34
UDF for Automatic Solution Initialization for previous case data file gartz89 Fluent UDF and Scheme Programming 6 March 30, 2020 07:38
Is this solution converged? michalpacholczyk FLUENT 4 May 18, 2018 15:04
Restart (continue) converged solution from endpoint ISV Structural Mechanics 1 August 31, 2017 16:25
Why the solution could only be converged in aestas FLUENT 11 October 20, 2015 04:31


All times are GMT -4. The time now is 20:23.