Convergence problem
1 Attachment(s)
Hello everybody,
I'm trying to run a case with simpleFoam. It's a stationary simulation with k-espilon turbulence model. Initially it seems the simulation is converging but after some step suddenly the residuals show a strange behaviour and from this on the results have no phisical sense. I attach the residuals vs iteration plot. Is there anyone who can help me? I tryied to make modification to the mesh, to the relaxation factor and to the fvScheme but I wasn't able to solve the problem. |
i have a problem like you.whats your case?do you have some region of high gradients?
|
Can you send your controlDict / fvSolution and fvScheme ?
|
I use compressible solvers like rhoPimpleFoam but now changing to sonicFoam.
|
Code:
application rhoPimpleFoam; Code:
ddtSchemes Code:
solvers |
Thanks for your answers.
My case is steasy state incompressible flow in a duct of quite complex geometry. I tried to simplify the geometry by removing chamfers and small details. The mesh is unstructured, with boundary layer, about 500'000 nodes. I noticed that, since some iterations before the computation failed, the mass flow continuity started not to be satisfied. Then in some region of the mesh the values of velocity or pressure rise suddenly. When I change the mesh and restart another simulation the point in which the anomalous values appears mooves. When i do the checkMesh i don't find any error or warning. The skew value is around 0.7 . I tried to change the fvScheme. I set 1st order scheme everywere. This allowed me to make the simulation run for 1 hundred iteration more before to have the same problem. Does anyone have an idea of the causes? |
Please, can someone answer to some dubts?
1- when computing a simulation, should one let it run without modify relaxation factors or is it possible/advised to modify them? It happens that changing a relaxation factor completely changes the convergence. But is it right to do so? 2- how can i understand when the simulation is converged? Sometimes it happens that although the residuals are low, the results have no physical sense. On the other hand, sometimes although the residuals are high macroscopic quantities ,pressure drop for example, do not change much through time steps and results seem to be quite good. Is there any way to be quite sure that simulation has reached convergence? |
Without posting the necessary info (http://www.cfd-online.com/Forums/ope...tml#post351052) it's difficult to help you.
I had a similar problem regarding mass flow rate in a tet mesh... just a blind hint: in your fvsolution use relTol=0 for p. |
All times are GMT -4. The time now is 07:10. |