surfaceFieldValue: Not all patches in 'names' list are reported in Info stream
Summary
When evaluating multiple patches in surfaceFieldValue FO using 'names' keyword, not all patch names seem to be reported back in Info stream, whereas the numerical value appears to be correct - only first patch name in list? - May cause confusion as to which patches contribute to the evaluation.
Steps to reproduce
- Set up surfaceFieldValue FO using list of patches (e.g. 'names (inlet, outlet)' in pitzDaily) and apply 'sum' operation
- Run case and monitor info stream/solver output regarding surfaceFieldValue evaluation
Example case
$FOAM_TUTORIALS/incompressible/pisoFoam/LES/pitzDaily
What is the current bug behaviour?
Log snippet for three FOs (1. 'name inlet', sum(phi); 2. 'name outlet', sum(phi); 3. 'names (inlet outlet), sum(phi)):
surfaceFieldValue namesTest_inlet write:
sum(inlet) of phi = -0.000253241
surfaceFieldValue namesTest_outlet write:
sum(outlet) of phi = 0.000253241
surfaceFieldValue namesTest_inlet_outlet write:
sum(inlet) of phi = 2.09431e-11
What is the expected correct behavior?
surfaceFieldValue namesTest_inlet_outlet write:
sum(inlet, outlet) of phi = 2.09431e-11
Relevant logs and/or images
Environment information
- OpenFOAM version : v2306
- Operating system : Ubuntu WSL/RedHat 8