Skip to content

Bug in sutherlandTransport

Summary

Code bug in template function sutherlandTransport::operator+ (not used in standard solvers) which prevents compilation when attempting to compile code that uses simple addition of thermo models.

Steps to reproduce

Attempt to compile a code using form

sutherlandTransport<Thermo> A, B;
sutherlandTransport<Thermo> C = A + B;

What is the current bug behaviour?

Code will not compile due to malformed constructor call

Environment information

  • OpenFOAM version : v2106 and master

Possible fixes

Remove extra (invalid) argument to constructor in sutherlandTransportI.H