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

Urans solution does not "converge"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2015, 03:31
Default Urans solution does not "converge"
  #1
New Member
 
luca
Join Date: Dec 2014
Posts: 8
Rep Power: 11
luca1989 is on a distinguished road
Hi everyone. I'm trying to simulate a 3D sphere in the unsteady case. The steady case converged fine, the field and the coefficients seems to be close enought to the real. Using the same boundary and initial conditions and changing only the fvchemes, fvsolution and controldict (witch i took and manipulate from the motorbike pisofoam tutorial) the solution seem to converge at the beginning but the pressure is oscillating strongly and after 50 iterations the velocities start to diverge and then start oscillating. I tried both starting from initial field of p=0 and U=(1 0 0) and from the resolved stationary case.

Any ideas? Thank you
luca1989 is offline   Reply With Quote

Old   January 8, 2015, 04:48
Default
  #2
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
1) What means "the velocities start to diverge and then start oscillating"?
2) Can you post some log output of the "diverging" time steps?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   January 8, 2015, 05:47
Default
  #3
New Member
 
luca
Join Date: Dec 2014
Posts: 8
Rep Power: 11
luca1989 is on a distinguished road
Hi thank you for your quick reply. I should have specified that the residuals start to diverge. I will link my gnuplot output so you can see what I mean.

I also tried to use the setup from this page
http://www.cfd-online.com/Forums/ope...omega-sst.html
as his case is quite similar to mine (obviuolsy I changed the empty boundary with mine) the pressure acts in the same way velocities does not diverge but the dt decreases fastly to very small values (1e-6)
Attached Images
File Type: png Schermata del 2015-01-08 11:33:48.png (33.2 KB, 28 views)
luca1989 is offline   Reply With Quote

Old   January 8, 2015, 06:11
Default
  #4
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
Can you post some log output of the "diverging" time steps?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   January 8, 2015, 06:19
Default
  #5
New Member
 
luca
Join Date: Dec 2014
Posts: 8
Rep Power: 11
luca1989 is on a distinguished road
The file is too large for this site so I give you the dropbox link

https://www.dropbox.com/s/q77r6gne8j2lqxt/log.txt?dl=0
luca1989 is offline   Reply With Quote

Old   January 8, 2015, 06:45
Default
  #6
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
1) I would use a fixed time step of 1e-4 with maybe 4 pressure corrections in piso.
2) Did you set laplacian to "Gauss linear corrected"? It looks like that... Try "Gauss linear uncorrected".
3) I would start with "backward" time differencing.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   January 8, 2015, 07:01
Default
  #7
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
If you try it... post the log output after some iterations...
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   January 8, 2015, 07:02
Default
  #8
New Member
 
luca
Join Date: Dec 2014
Posts: 8
Rep Power: 11
luca1989 is on a distinguished road
I tried many different solution that I took from differnt tutorial. I used also backward scheme for time but nothing changed. I also tried the set up from thies page as the case is similar to mine (exept from it is 2D ad I changed the empty BC)

http://www.cfd-online.com/Forums/ope...omega-sst.html

I will post the fvchemes and fvsolution.

May it be the mesh? I've done it with ansa and it has some non orthogonal faces but running the checkmesh is OK
Attached Files
File Type: txt fvSchemes.txt (1.9 KB, 4 views)
File Type: txt fvSolution.txt (1.9 KB, 3 views)
luca1989 is offline   Reply With Quote

Old   January 8, 2015, 07:09
Default
  #9
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
Ok, additionally you should change the divScheme to "default Gauss upwind phi;" and delete all of them except the "nuEff*..."
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   January 8, 2015, 08:41
Default
  #10
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
Now, what do you get with these modifications?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz 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
Asymmetrical solution using RANS Marli FLUENT 2 January 9, 2015 09:26
grid dependancy gueynard a. Main CFD Forum 19 June 27, 2014 21:22
Analytic solution for 2D steady Euler equations jojo81 Main CFD Forum 0 October 15, 2012 12:05
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Wall functions Abhijit Tilak Main CFD Forum 6 February 5, 1999 01:16


All times are GMT -4. The time now is 08:40.