An error occurred while fetching participants.
BUG: wallHeatFlux: inconsistent handling of 'useNamePrefix'
When the useNamePrefix
option is enabled for the wallHeatFlux
function object, the expected naming convention for the registered volScalarField
is 'function-object-name:wallHeatFlux' (applicable for Linux).
During initialization (ctor
), the volScalarField
is registered using the name scopedName(typeName)
. However, because read(dict)
is invoked after the field registration, the default name for scopedName(typeName)
becomes simply typeName
.
Consequently, downstream processes, such as within the execute()
function, encounter a lookup error when attempting to find a field named scopedName(typeName)
.
To address this issue, the read(dict)
function should be executed prior to the field registration.