I'm interested in applying Robin boundary condition to a convection-diffusion problem in 1D.
In the following system, $$\frac{\partial C}{\partial t} = D\frac{\partial ^2 C}{\partial x^2} - v\frac{\partial C}{\partial x}$$
$$\frac{\partial C}{\partial t} = \frac{\partial}{\partial x}( D\frac{\partial C}{\partial x} - vC)$$ To implement no-flux boundary condition ,flux $$ N = D\frac{\partial C}{\partial x} - vC $$ is set to zero at the left and right boundary.
I'd like to know whether the sign of terms in the flux will vary at the right and left boundary.
According to the following description given in wiki,
Could someone explain if the above-mentioned method is the right way to implement?