Use , , , and . Work along a sufficiently regular direct trajectory satisfying the given constraints. The zero spatial mean of the scalar field is conserved by incompressible flow, impermeable walls and zero scalar flux, so minimizing is equivalent to minimizing scalar variance, up to the fixed domain volume.
The printed functional fixes the initial state to a candidate ; it contains no term that enforces its kinetic energy. For the optimization over that candidate, add the real Lagrange multiplier constraint
Equivalently, one can restrict all control variations to the sphere in a normed vector space of fixed kinetic energy. This term changes the initial-control optimality condition, not the interior adjoint equations.
Let , and . Linearization of the momentum and scalar transport residuals gives
Both appearances of the perturbation velocity in the nonlinear momentum term have been differentiated. In particular, the coefficient is the gradient of the total velocity, not just the base shear.
For the negative-constraint convention of the functional, integration by parts gives the interior coefficients of as
Thus the adjoint equations for Boussinesq scalar mixing are
The transpose is essential: the th component of is . The coupling transposes advection of the scalar by a velocity perturbation; transposes buoyancy feedback. Dropping the latter would give a passive scalar adjoint, not the active scalar problem.
These equations are integrated backward, not forward. If , they read
with direct coefficients evaluated at . Both terms from the diffusion equation now have the usual forward sign in . A direct-adjoint looping method stores or reconstructs the forward trajectory, solves these equations backward, and uses the initial adjoint as the control gradient. The endpoint and fixed-energy conditions below give necessary conditions for a local optimizer, not a global optimality theorem.
Scalar variance 2026-10-06
Scalar variance measures spatial departure from the conserved mean. For zero mean, incompressible flow bounded by impermeable walls and homogeneous scalar Neumann boundary conditions, integration by parts gives . Advection preserves the instantaneous quadratic integral but can sharpen gradients, allowing the diffusion equation to remove scalar variance faster.