thermal convection equations with Dirichlet boundary conditions for velocity and with mixed
boundary conditions for temperature. The cost functional is defined as the root mean square
integral deviation of the desired velocity (vorticity, or pressure) field from one given in some
part of the flow region. Controls are the boundary functions involved in the Dirichlet condition
for velocity on the boundary of the flow region and in the Neumann condition for temperature …