CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Parallel pressureInletUniformVelocity (http://www.cfd-online.com/Forums/openfoam-bugs/62325-parallel-pressureinletuniformvelocity.html)

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()));

Mike

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.

H


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