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

SIMPLE with coupled solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2015, 23:57
Default SIMPLE with coupled solver
  #1
Member
 
Tony Ladd
Join Date: Aug 2013
Posts: 48
Rep Power: 13
tladd is on a distinguished road
I am using simpleFoam from OpenFoam 2.3.0 to solve for laminar flow in a flat channel (boring; but a simple test). The log file when the simpleControl debug flag is on is attached. I deliberately set a weak pressure convergence criterion (1e-2) which is satisfied after about 50 iterations in this case. But the velocity convergence criterion (1e-6) is nowhere close to being satisfied. The velocity field is about 5% off at this point.

So why does OF exit when the U norms are so far off (the segregated solver does not do this). Its because the simpleControl object is not checking for the U field, as shown by the debug output. Only the p field convergence is checked. The problem seems to be in fvMatrixSolve.C - the solver performance is not being added to the solverPerformance dictionary as it is for the segregated solver. Interestingly it seems the appropriate line is commented out; but uncommenting it leads to a compiler error so this was done for a reason.

But its the same in OF 2.2.2 so what gives? Does anyone know?

Tony

PS: there is another issue illustrated by the large relative norms for Ux and Uy (which are zero fields). OF, incorrectly in my view, normalizes the residual component by component instead of by the norm of the vector itself. First, this is inherently coordinate-system dependent, which suggests a mistake, and second if the velocity in a particular direction is zero (or small), the reported residual can dominate the solution control. We have patched this for the segregated solver but we are still puzzling over the coupled solver.
Attached Files
File Type: zip test.zip (5.4 KB, 16 views)
File Type: txt log.txt (33.3 KB, 7 views)
tladd is offline   Reply With Quote

Old   August 17, 2015, 12:17
Default
  #2
New Member
 
Michael
Join Date: Feb 2015
Posts: 18
Rep Power: 11
allett02015 is on a distinguished road
Hello,

I had some similar problems for the coupled solver using OF 2.3.0. when
giving back the output of solve(...) to a object of type solverPerformance

and output the content of the object solverPerformance ( Info << ....) to the standard output the result is

( 0 0 0 0 (0) ).

It seems that only the standard consturctor is called without assigning any values to the variables of the object.
allett02015 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
coupled solver (again) lucioantonio FLUENT 0 April 8, 2009 17:15
Coupled solver energy equation problem lucioantonio FLUENT 0 April 3, 2009 11:21
coupled solver wont work in star ccm+ richie Siemens 5 November 4, 2008 05:51
segregated solver vrs coupled solver sm FLUENT 0 November 6, 2007 02:24
coupled solver / uncoupled solver Jaan Unger Main CFD Forum 0 September 3, 2002 09:30


All times are GMT -4. The time now is 03:57.