User defined scalar boundary condition
I have a problem regarding the inlet boundary condition of my scalar. I have an inlet with a periodic velocity, where the velocity first is positive, then negative. While the inlet velocity is positive the scalar has the value 1, but then when the inlet velocity is negative the scalar was first set to 0. It then showed that it is not possible for the scalar to flow back. My idea was then to change the inlet scalar boundary condition to flux during the backward flow phase.
There seems, however, not possible to change from specified value to specified flux during computation, or does anyone know how this can be solved?
I know this was from 8 years ago, but did you ever find a solution to this?
|All times are GMT -4. The time now is 14:15.|