CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Understanding inner loops

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

LinkBack Thread Tools Display Modes
Old   March 18, 2014, 04:08
Default Understanding inner loops
Senior Member
Join Date: Oct 2013
Posts: 301
Rep Power: 4
chriss85 is on a distinguished road

I have a question that has been bugging me for a while now:

In schemes that use inner loops (like PIMPLE), or generally when calling eqn.solve() multiple times, how exactly are the fields updated? The way I understand it, is that the fields contain the new values after solving.

But here comes my question: Lets say I have an energy equation with a source term, why isn't the source term added multiple times to the energy when the equation is solved more than once? Does it store the old field somewhere and reference that in the iterative process of determining the new solution? The same goes for flow related problems, why doesn't the flow advance when the equation is solved multiple times?

My understanding of the inner workings of the solvers is unfortunately not deep enough so this doesn't appear obvious to me.
chriss85 is offline   Reply With Quote

Old   March 18, 2014, 04:53
Senior Member
Join Date: Oct 2013
Posts: 301
Rep Power: 4
chriss85 is on a distinguished road
Oh and one more thing, what's the difference between writing a term on the LHS or RHS of an equation? Is there any relevance to numerical precision or any advice that can be followed?
chriss85 is offline   Reply With Quote


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
Timescale vs Iteration loops for Transient Turbomachinery aerost CFX 2 October 20, 2013 19:59
Understanding pimpleFoam convergence criterion Nucleophobe OpenFOAM Running, Solving & CFD 0 March 13, 2013 19:46
time step and # of coefficient loops hamed.majeed CFX 8 September 28, 2012 07:33
Coefficient loops vs physical timescale Turbomachine CFX 3 February 13, 2011 20:36
5.7.1 solver doing max coeff loops. Stevie Wonder CFX 5 July 5, 2005 12:31

All times are GMT -4. The time now is 11:05.