Skip to content

Re: External flow in openLB – doubts

#2090
mathias
Keymaster

Dear Shreyas,rnrn It is not working with “”blockGeometry.setNx ( some new nX)””. You can do it like this: rnrntemplate<typename T>rnvoid STLreader<T>::read(BlockGeometry3D &matrix, unsigned direction,rn unsigned voxelNumber, unsigned pad,rn double fraction, unsigned samples,rn unsigned offsetXN, unsigned offsetXP,rn unsigned offsetYN, unsigned offsetYP,rn unsigned offsetZN, unsigned offsetZP) const {rnrnrnwhere you distinguish between positive P and negative N direction. rnrnMathias