Reply To: How to access the basic values?
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › How to access the basic values? › Reply To: How to access the basic values?
March 5, 2024 at 11:56 pm
#8379
Adrian
Keymaster
You can access the physical location of each discrete lattice location using the CuboidGeometry::getPhysR
method. If you need this in the described matrix format you can generate it using this information by e.g. assigning a globally unique cell ID as a combination of global cuboid index and block-local cell ID (obtainable via BlockStructure::getCellId
).