CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Updating Boundary Conditions Each Iteration

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

Updating Boundary Conditions Each Iteration

Posted May 11, 2017 at 09:03 by kindle
Updated June 7, 2017 at 12:13 by kindle

One post downstairs took his "fixed Gradient" to do the update at every time step. But how do I access to the U field of time step before?

Quote:
Originally Posted by thomas99 View Post
Hello All,

I have a situation where I would like to calculate some boundary conditions from the internal field. The problem is that, for each time step, the boundary conditions should be iteratively updated as part of the solution. I have searched the forum and noticed that many people have recommended the groovyBC or swak4Foam add ons for recalculating a boundary condition from the flow field but these tools seem to do this at the end of a time step and not as part of the iterative process. Can I use one of these tools to somehow calculate the BCs iteratively?

Alternatively, I noticed there is a BC built into openFoam called calculated that might work but I can't really find too much information about this in the forum and the tutorials don't really make it clear to me exactly how it works.

Does anyone have any idea how I can iteratively calculate boundary conditions?

Regards,
Tom
Posted in programming
Views 594 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 19:58.