Hi everyone,
I hope you all are doing great.
I have a quick confusion regarding the implementation of the variable flux boundary condition for passive scalars (ps1), flux = value*ps(1).
The way I have done it in the past is using 'f' in usrdat2() and defining flux = value* ps(1) in userbc(), hence flux is dependent on local ps(1) value.
1. Is it all right to do so? using flux = f(ps(1)) instead of a fixed value.
2. Or is it just for fixed flux values? flux = fixed, can not be a f(ps(1)).
If not, how is it different from 'c', where the right side is defined as flux = value * ps1.
3. What is the right way to use the robin BC (c)? after defining 'c' in the usrdat(). What goes in userbc()?
Thanks,
Bibhas