Skip to content

Re: External flow in openLB – doubts

#2093
shreyas
Member

Dear Mathias,rnrnBy “”appropriate offset””, I am quite sure that you mean using the variable ‘pad’. But can you explain the variables ‘fraction’ and ‘samples’ in the read function please:rnrnread(BlockGeometry3D &matrix, unsigned direction,unsigned voxelNumber, unsigned pad, double fraction, unsigned samples)rnrnI have kept the values as 0.75 and 3u respectively. It seems to slow down terribly. Also, since I don’t have any surrounding walls, should I set an outflow/periodic condition to the channel walls?(previously all the geometry specified by the stl file, including the walls, were bounceback).rnrnThanks,rnShreyas rn