I have used swak4FOAM for pressure in outlet patch(named right)
and I expect all of(max,min and average) be constant what I assigned in boundary condition fixedValue:857198.8151.but the output is shown like this(some part is shown here):

i performed it again after sone changes.
Now values are most what i have assigned but in some times they rebel!from what i dictate!
Really why?
Shouldn't patch values be exactly what we put in fixedValue?

__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.

I vaguely remember having had similar problems in the past. One such situation was when the boundary conditions weren't cohesive enough and lead to conflicts between the boundaries.
In other words, it was a situation similar to this:

One boundary on the left specified a fixed value for speed;

The other one on the right specified a fixed value for pressure, which conflicted with the first boundary.

The result was that the fixed value was not respected, leading to some weird results.

OpenFOAM possibly only allows for these kinds of situations because of how things are solved: it's all calculated through hundreds of iterations, by only partially solving matrices. And since each iteration doesn't do a complete solution of "A*X=B", it only does a partial calculation towards the solution, it therefore can allow for some crazy math...

And I've seen worse cases in older OpenFOAM versions, where solver would simply open a breach on a single point on the wall and make the flow explode through that single point! All because I had messed up the boundary conditions...

thanks.
I had encountered what you said about exploding on a single point before and last night in a new boundary condition I made.
so could you clarify a little more what does your sentence mean?(because i was engaged in for a long time for bad BCs)

Quote:

solver would simply open a breach on a single point on the wall

then in the case do you think I should make pressure in outlet be lower or upper?

__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.