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

simpleFoam convergence error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2023, 03:13
Default simpleFoam convergence error
  #1
New Member
 
jinhoon park
Join Date: Oct 2022
Posts: 28
Rep Power: 3
tusin111 is on a distinguished road
hello! I'm new to using openFoam!

I have one question for you.

In the figure, convergence occurs when the cylinder at the top is used as the entrance and the speed is given downward.

however

If the cylinder on the top side is used as the same entrance and the air is released by speeding upward, convergence will not occur.

Do I need to modify the initial conditions or anything else in this process??
Attached Images
File Type: png x.png (19.6 KB, 12 views)
tusin111 is offline   Reply With Quote

Old   May 23, 2023, 07:52
Default
  #2
Senior Member
 
calim_cfd's Avatar
 
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 17
calim_cfd is on a distinguished road
Hi.
Try setting the initial velocity within the fluid either the up or down direction, according to the problem.. this should aid convergence. If it still crashes, try checking your outflow boundaries, as well as gravity terms, if they matter for you problem... if it still crashes, then you have a mesh issue...




good luck!
__________________
Best Regards
/calim

"Elune will grant us the strength"
calim_cfd is offline   Reply With Quote

Old   May 23, 2023, 21:45
Default
  #3
New Member
 
jinhoon park
Join Date: Oct 2022
Posts: 28
Rep Power: 3
tusin111 is on a distinguished road
Quote:
Originally Posted by calim_cfd View Post
Hi.
Try setting the initial velocity within the fluid either the up or down direction, according to the problem.. this should aid convergence. If it still crashes, try checking your outflow boundaries, as well as gravity terms, if they matter for you problem... if it still crashes, then you have a mesh issue...




good luck!
thank you for the reply

Now my U and P are in the same condition as the picture

Solved with kOmegaSST. but can't converge

I never considered the gravitational term. How do I check the gravity term?

It is currently in its initial state

There are U, P, nut, k, and omega.
Attached Images
File Type: jpg U.jpg (50.0 KB, 8 views)
File Type: jpg P.jpg (51.8 KB, 7 views)
tusin111 is offline   Reply With Quote

Old   May 24, 2023, 22:43
Default
  #4
New Member
 
jinhoon park
Join Date: Oct 2022
Posts: 28
Rep Power: 3
tusin111 is on a distinguished road
Quote:
Originally Posted by calim_cfd View Post
Hi.
Try setting the initial velocity within the fluid either the up or down direction, according to the problem.. this should aid convergence. If it still crashes, try checking your outflow boundaries, as well as gravity terms, if they matter for you problem... if it still crashes, then you have a mesh issue...




good luck!
I have one question!!!

I converged

SIMPLE
{
nNonOrthogonalCorrectors 0;
consistent yes;

residualControl
{
p 1e-4;
U 1e-4;
"(k|omega)" 1e-4;
}
}

relaxationFactors
{
equations
{
U 0.001;
k 0.004;
omega 0.005;
}
}


Relaxation coefficients higher than that did not converge until 1.e-4.

What are the problems with using very small relaxation coefficients?
Or is it okay to interpret it this way?
tusin111 is offline   Reply With Quote

Old   May 26, 2023, 16:02
Default
  #5
Senior Member
 
calim_cfd's Avatar
 
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 17
calim_cfd is on a distinguished road
Quote:
Originally Posted by tusin111 View Post
I have one question!!!

I converged

SIMPLE
{
nNonOrthogonalCorrectors 0;
consistent yes;

residualControl
{
p 1e-4;
U 1e-4;
"(k|omega)" 1e-4;
}
}

relaxationFactors
{
equations
{
U 0.001;
k 0.004;
omega 0.005;
}
}


Relaxation coefficients higher than that did not converge until 1.e-4.

What are the problems with using very small relaxation coefficients?
Or is it okay to interpret it this way?

You seem a bit lost overall... to relax your solution this much usually indicates a problem or a potential one.... but sometimes this is allowed... but lowering all factors is danger because you may "finish you simulation" but it might not have converged to the actual solution because you damped the solution so much that it eventually stopped and thus you get an intermediate result.... to see this.. check the solution data and see whether the problem actually ended.


regards,
__________________
Best Regards
/calim

"Elune will grant us the strength"
calim_cfd 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
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 06:45
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32


All times are GMT -4. The time now is 18:41.