View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004272 | OpenFOAM | Bug | public | 2025-09-09 12:47 | 2025-09-09 14:22 |
Reporter | tniemi | Assigned To | will | ||
Priority | low | Severity | trivial | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Product Version | dev | ||||
Fixed in Version | 13 | ||||
Summary | 0004272: surfaceFieldValue, not writing the name of the faceZone to the postProcessing file | ||||
Description | This is an extremely minor issue, but following the commit https://github.com/OpenFOAM/OpenFOAM-dev/commit/a71f4539d9b6b0051aa8891df8ef9118d4f650e3 surfaceFieldValue no longer writes the name of the faceZone to the resulting file. The selectionName_ is initialised to string::null and never reset, so the first line of the file always reads # Selection : faceZone() instead of # Selection : faceZone(NAME_OF_THE_ZONE) The issue could be fixed for example by adding selectionName_ = faceZonePtr_->name(); after faceZonePtr_.reset in the read-function. The other selection types don't have this issue, just faceZone. | ||||
Steps To Reproduce | Run eg. tutorials/incompressibleFluid/TJunction and the faceZoneFlowRate-post processing fields have a selection "faceZone()" instead of eg. "faceZone(fz1)" | ||||
Tags | No tags attached. | ||||