View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003185 | OpenFOAM | Bug | public | 2019-03-05 11:45 | 2019-03-05 12:10 |
Reporter | tniemi | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | dev | ||||
Summary | 0003185: swirlFlowRateInletVelocityFvPatchVectorField not working in parallel | ||||
Description | After this commit https://github.com/OpenFOAM/OpenFOAM-dev/commit/b019a3a4ec748e7c494fe2b24c220fde6d1cb712#diff-5fc28a0618ee3ef1683f7f83d532e1d1 the boundary condition no longer works in parallel if the boundary does not exist in each processor and axis&origin is not given. The patch().size()-condition will be false for some processors but true for others and this leads to hangup in the gsum-function. To correct this, the patch().size()-condition could be changed to eg. returnReduce(patch().size(), sumOp<label>()) so that it is a global check and the same for all processors. | ||||
Tags | No tags attached. | ||||