CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   Parallel pressureInletUniformVelocity (

roth February 4, 2009 19:03

The pressureInletUniformVeloci
The pressureInletUniformVelocity BC imposes a fixed, uniform velocity on a patch based on phi. However, when the patch spans multiple partitions, multiple uniform velocities are fixed. I think the problem is the summing is not parallelized:

i.e. in 1.5.x's pressureInletUniformVelocityFvPatchVectorField.C, should the following line use gsums?

operator==(patch().nf()*sum(patch().Sf() & *this)/sum(patch().magSf()));


henry February 5, 2009 17:36

Thanks for the bug report, thi
Thanks for the bug report, this is now fixed in 1.5.x.


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