CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

Question on residual convergence

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 4, 2012, 18:03
Default Question on residual convergence
Join Date: Dec 2011
Location: State College, PA
Posts: 87
Rep Power: 5
rks171 is on a distinguished road
I ran a solution and monitored some physical parameters (mass flow rate at inlet and outlet and linear pressure drop) as well as the residuals. My continuity and z-momentum residuals only drop about an order of magnitude (the z-direction is the dominant flow direction), but they are normalized to the initial values, which were set pretty close to the converged values. So it makes sense to me if they don't drop that far from the beginning, however, they start to oscillate as the iterations continue on and I'm not sure if this should be expected or not. See the attached picture. Is this oscillation acceptable as long as my inlet/outlet mass balance is good and the pressure distribution makes sense?

rks171 is offline   Reply With Quote

Old   January 16, 2012, 17:31
Join Date: Dec 2011
Location: State College, PA
Posts: 87
Rep Power: 5
rks171 is on a distinguished road
Okay, so I inspected some additional physical parameters, namely average flow area velocity and it turns out that the solution wasn't converged. The area averaged velocity never settled on a number, but just kept changing through the iteration. I played with many variables for a while before I found something that allowed my solution to converge on realistic physical parameters AND for the residuals to look reasonable. My near wall prism layer was very thin in comparison to the 2nd prism layer and surrounding polyhedral cells, so I doubled its thickness. I also increased the gap fill percentage to 48% to try and get rid of some of the very small cells in the tight crevices of the models. Running the model without a prism layer exhibited ugly residuals, but using either the polyhedral mesher or trim mesher with the thicker near wall prism layer gave me better results. My residuals now look as follows:

rks171 is offline   Reply With Quote


oscillation, residuals

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 14 September 18, 2011 13:46
MRFSimpleFOAM goes divergenced! renyun0511 OpenFOAM Running, Solving & CFD 0 November 19, 2009 03:11
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 21:21
MRFSimpleFoam amp cyclic patches david OpenFOAM Running, Solving & CFD 36 October 21, 2008 21:55
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58

All times are GMT -4. The time now is 02:49.