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

CorrectBoundaryConditions affecting processor patch in parallel operations

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

LinkBack Thread Tools Display Modes
Old   September 28, 2007, 09:44
Default I have noticed that there are
Adam Donaldson
Join Date: Mar 2009
Location: Ottawa, Ontario, Canada
Posts: 37
Rep Power: 8
adona058 is on a distinguished road
I have noticed that there are a number of posts regarding the purpose of the correctBoundaryConditions() call. Unfortunately, none have addressed a problem that I have recently run into.

I am solving a system of equations (without a time step involved), where I have called the correctBoundaryConditions() function following each iteration.

I was under the impression that the function updates the boundary values from the given field (in the case of processor boundaries), and ensures that the fixed-value boundaries/zero gradient (Etc) are met.

When I run my code on a single processor, all appears good. However, when run in parallel, the correctBoundaryConditions() function appears to place the old processor boundary condition values into the new solution for my variable (in escence, carrying the initial value on the processor boundary field all the way through my iterative calculation).

Would someone be able to provide a bit more detail on what this function does, mainly:

For a processor Patch:

Does it update the boundary fields based on the current value of the field variable,


Does it update the field variable based on the current value in the boundary field.

Thank you.
adona058 is offline   Reply With Quote

Old   March 11, 2008, 17:13
Default Hi, now I am also facing su
New Member
Bitan SHU
Join Date: Mar 2009
Posts: 14
Rep Power: 8
shu is on a distinguished road

now I am also facing such a problem. Adam, have you got a solution for it?

Maybe the same question in another way:
How can I update the processor boundary field according to the current field value?

I appriciate any comment.
shu 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
parallel processor ritmat FLUENT 4 November 13, 2011 07:00
Cases with small length scale work fine on a single processor but fail in parallel adona058 OpenFOAM Bugs 5 April 17, 2009 04:41
Adding a field on patch in parallel jaswi OpenFOAM Running, Solving & CFD 6 February 2, 2008 14:18
Cyclic patch in parallel calculations didomenico OpenFOAM Running, Solving & CFD 4 March 7, 2007 06:46
submission of Fluent job in parallel processor Sisir Kumar Nayak FLUENT 0 February 6, 2007 10:06

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