Reply To: Extract Lattice data
Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.
› Forums › OpenLB › General Topics › Extract Lattice data › Reply To: Extract Lattice data
July 21, 2021 at 10:32 pm
#5839
Adrian
Keymaster
The [iC, iX, iY] you get from the cuboid geometry loop are lattice coordinates that can be converted to physical coordinates via getPhysR. The additional lines physCord[0] = double(iX)*cuboidGeometry.getMinDeltaR(); are wrong – you would also need to add the cuboid start point. However, simply use getPhysR with latticeR set to [iC, iX, iY].
- This reply was modified 4 years, 6 months ago by Adrian.
