Skip to content

Re: Comparing MATLAB results with OpenLB results


Hi, Jose,rn I tried to figure out the model you used in your Matlab code. I can’t find your boundary dealing code. And your OpenLB also missed the boundary dealing. So in OpenLB, the population for your missing direction i on the boundary, which means it’s coming from outside of your calculating domain, would just be the value of the direction i+4 or i-4.