Hi Etienne,
There are a couple ways to think about this. One is purely mathematical. The equation
rsd[index(c_offset_U,j)] = (T(x,j)- m_fixedtemp[j]);
would be linearly dependent with the equation which is already applied for the energy equation residual (see Flow1D::evalEnergy):
rsd[index(c_offset_T, j)] = T(x, j) - T_fixed(j);
The other is more conceptual. When the energy equation is enabled, we have a well-posed eigenvalue problem — what is the axial velocity that will hold the flame location fixed? But if the temperature profile is simply imposed, then there is no dependence of the temperature on the velocity, and therefore no way of determining the velocity. So here, that equation is simply replaced with an equation that fixes the velocity at 0.3 m/s. If I had to guess “why 0.3”, I’d say that it’s because this is a reasonable order-of-magnitude guess for the flame speed under typical conditions, and works well enough at being good enough for the solver to converge once the energy equation is enabled.
If you want to impose fixed species profiles, I don’t think there is any similar challenge, since the species profiles don’t directly go into the definition of the eigenvalue problem. If you want to impose a velocity (at the inlet, say), the correct model for that is the burner-stabilized flame, which does not uses this eigenvalue formulation.
Regards,
Ray