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

Understanding inner loops

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2014, 04:08
Default Understanding inner loops
  #1
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
Hello,

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
Default
  #2
Senior Member
 
Join Date: Oct 2013
Posts: 397
Rep Power: 18
chriss85 will become famous soon enough
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

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
time step and # of coefficient loops hamed.majeed CFX 13 August 16, 2017 13:22
Timescale vs Iteration loops for Transient Turbomachinery aerost CFX 2 October 20, 2013 20:59
Understanding pimpleFoam convergence criterion Nucleophobe OpenFOAM Running, Solving & CFD 0 March 13, 2013 19:46
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 13:31


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