decomposePar changes sign of surfaceVectorField at processor boundary
Digging through the source code I found the a comment in src/parallel/decompose/decompose/fvFieldDecomposer.H:
Code:
//- Processor patch field decomposer class. Surface field is assumed |
Are you sure you know what you're doing? This works on surface fields such as flux, where the neighbour processor geometry flips the face area vector. This is the reason for sign change.
If you have a surfaceVectorField, simply re-interpolate in parallel or evaluate eg. Sampling in parallel. Without the change of sign, fluxes would be wrong. Hrv |
All times are GMT -4. The time now is 23:28. |