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

Convergence Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2014, 19:47
Default Convergence Problem
  #1
New Member
 
J.
Join Date: Mar 2014
Posts: 6
Rep Power: 12
JStB is on a distinguished road
Hi all,

i am currently trying to simulate a roof in OF 2.3. The Problem is as mentioned in the topic my variables does not converge. i changed the boundary condition and tried a lot but nothing helped...my results are non physical and not so good as i wish to be...i do not know how to handle it. I hope someone can help me cause i have no ideas anymore...

thanks in advance

Last edited by JStB; June 28, 2014 at 12:59.
JStB is offline   Reply With Quote

Old   June 24, 2014, 03:09
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

1. What solver do you use? (from fvSchemes and fvSolution I guessed simpleFoam, is it right?)
2. Are you sure your mesh is OK? (provide checkMesh output)
3. Did you try upwind for all div(phi, *) lines?
alexeym is offline   Reply With Quote

Old   June 25, 2014, 18:30
Default
  #3
Member
 
Gabriel de PInho RImoli
Join Date: Mar 2013
Posts: 49
Rep Power: 13
Grimoli is on a distinguished road
does it include for all fluids fvSolutions??
Grimoli is offline   Reply With Quote

Old   June 28, 2014, 13:29
Default
  #4
New Member
 
J.
Join Date: Mar 2014
Posts: 6
Rep Power: 12
JStB is on a distinguished road
Hi,

thank you for your response! I am quite new in OpenFoam. I am trying to simulate a roof for that i used the motorbike case. My target is to get pressure on surface of the roof.
1. Yes it is a simpleFoam solver
2. checkMesh is ok i put it in attachment
3. velocity is still increasing, even when its better with upwind now.

Are the boundary condition i choosed ok or did i something wrong??

Last edited by JStB; July 5, 2014 at 13:21.
JStB is offline   Reply With Quote

Old   June 29, 2014, 04:12
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

unfortunately my telepathic abilities are still quite weak, I didn't get "I am trying to simulate a roof for that i used the motorbike case". Please describe the problem you are solving in more details: geometry, flow conditions. Without this information, one can just try guessing if there is a problem with IC/BC or not.
alexeym is offline   Reply With Quote

Old   June 29, 2014, 19:03
Smile
  #6
New Member
 
J.
Join Date: Mar 2014
Posts: 6
Rep Power: 12
JStB is on a distinguished road
Hey Alexey,

you have to work on your telepathic skills , it would help me much better, cause my english is really bad. To my project:
I used a flat roof in wind tunnel to get aerodynamic coefficients. Now i want to solve it numerical, to compare the results. For that i took the input files of the motorbike case of openfoam tutorial and changed it, as you can see in the attachment above (u,p,k,etc.). Simplefoam is a steady-state solver. My simulation has to converge after a while but it doesnt. This is a 2D Simulation, i want to simulate it later as 3D, with much more cells. So it must converge less than 10000 Iteration. Otherwise it needs too long time for computation.
I put some picture in attachment. For the velocity result in the picture i needed 50000 Iterations. This is too much. It would be better if i could achieve it earlier. As i said before, i am really new in openfoam and not so familiar with it. I hope you understand my problem now?

Last edited by JStB; July 5, 2014 at 13:22.
JStB is offline   Reply With Quote

Old   June 30, 2014, 02:43
Default
  #7
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

well I'd suggest

1. Change BC for U top patch -> slip (for vector it's slightly different than zero gradient).
2. Increase nCellsInCoarsestLevel in p solver up to 255.

everything else seem to be OK (or I'm missing something from the description of the case).
alexeym is offline   Reply With Quote

Old   June 30, 2014, 11:26
Default
  #8
New Member
 
J.
Join Date: Mar 2014
Posts: 6
Rep Power: 12
JStB is on a distinguished road
Hi,

thanks a lot for your help. I will try it now!
1. Do you know how to plot my pressure over time? I tried to do it with "PlotSelectionOverTime" (see Picture) but it did not work.
2. I want openfoam to output the forceCoeffs. It says all of the coeffs (lift/drag) are zero. There is no error output? I changed forceCoeffs file as in other threads of CFD recommended.

Do you want to take a look over my case? I can send it to you...if you has time for it?

Last edited by JStB; July 5, 2014 at 13:23.
JStB is offline   Reply With Quote

Old   June 30, 2014, 12:48
Default
  #9
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

1. You've selected a point but in paraview tree on screenshot you've got only cell arrays. So there's nothing to plot. Usually for plotting over time I use probes and gnuplot.

2. I don't know you geometry, I've got nothing to say about Cd and Cl calculation.

Also are you sure there's a steady state solution with your geometry and Reynolds number?
alexeym is offline   Reply With Quote

Old   July 1, 2014, 09:56
Default
  #10
New Member
 
J.
Join Date: Mar 2014
Posts: 6
Rep Power: 12
JStB is on a distinguished road
what do you mean when you say "are you sure there's a steady state solution with your geometry and Reynolds number?" Normally there must be a steady state solution...

with slip bc the solution is getting worser
JStB is offline   Reply With Quote

Old   July 1, 2014, 10:10
Default
  #11
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Not quite sure about "must" What about, for example, vortex street?
alexeym is offline   Reply With Quote

Old   July 1, 2014, 10:28
Default
  #12
New Member
 
J.
Join Date: Mar 2014
Posts: 6
Rep Power: 12
JStB is on a distinguished road
yeah you are right.

Last edited by JStB; July 13, 2014 at 09:35.
JStB 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
Convergence Problem in Axisymmetric Periodic Flow atheresia FLUENT 3 February 10, 2014 04:00
Force can not converge colopolo CFX 13 October 4, 2011 23:03
convergence problem when use pisoFoam, LES for wind tunnel case Forrest_Lei OpenFOAM 3 July 19, 2011 07:00
Convergence of CFX field in FSI analysis nasdak CFX 2 June 29, 2009 02:17
Non Convergence of 3D Heat transfer cfd problem Balraj Main CFD Forum 3 December 9, 2004 01:24


All times are GMT -4. The time now is 13:47.