Let's say I have a random arbitrary geometry, like this one https://ibb.co/dG8fUa (something I just made up). I make one of these in 3D in SolidWorks. I have molecules/particles coming in through the inlet and leaving out of the two outlets. In a standard geometry, like a pipe or square channel, a simple way to implement a wall BC is something like
assuming a square channel height of 0.15 and the origin along the lengthwise axis. This obviously wont work for a complicated geometry with wildly varying X and Y. How might one implement codes which can work on any generated geometry? I am trying for MD simulations through such geometries.