I was trying to check the implementations of boundary conditions in 'boundarys' subroutine and I was confused why all changes are done to only rightv. Why not leftv? Same is done in outlow and inflow both type of boundaries. I would be happy if anyone can, please, elaborate which cells' properties exactly are rightv and leftv so that I can implement some basic boundary conditions like zero-gradient for pressure or velocity etc.
I was trying to check the implementations of boundary conditions in 'boundarys' subroutine and I was confused why all changes are done to only rightv. Why not leftv? Same is done in outlow and inflow both type of boundaries. I would be happy if anyone can, please, elaborate which cells' properties exactly are rightv and leftv so that I can implement some basic boundary conditions like zero-gradient for pressure or velocity etc.