How to set a DEM wall that also allow gas to flow out

See the previous post: