Reply To: Modifying field values for neighboring cells inside a postprocessor
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Modifying field values for neighboring cells inside a postprocessor › Reply To: Modifying field values for neighboring cells inside a postprocessor
Hello Adrian,
Can you confirm that the “apply” operators used in the post-processors operate only on the internal nodes? As I understand it, these operators cannot act directly on overlap nodes. The values of overlap nodes are updated only when communication is triggered using the communicate() method. However, it is still possible to access the values of an overlap node, such as when an internal node has an overlap node as its neighbor.
Is it possible to determine whether a neighbor of an internal node is an overlap node? I have found a temporary workaround to address my issue, as shown in the picture below. However, a cleaner and safer approach would be preferable as I need to avoid using the overlap nodes values until ids are finalized.
After the temporary fix is applied, as you can see, the connected regions on each block have their own unique ID.