Reply To: Modifying field values for neighboring cells inside a postprocessor
Due to recent bot attacks we have chanced 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 › on OpenLB › General Topics › Modifying field values for neighboring cells inside a postprocessor › Reply To: Modifying field values for neighboring cells inside a postprocessor
August 5, 2024 at 6:59 pm
#9043
Adrian
Keymaster
This will work if you change it to the correct type returned by CELL::neighbor. Note that this is not necessarily the same type as CELL. I suggest you use auto neighborCell = cell.neighbor(c_i);.
You may also be interested in the core and FAQ sections of the user guide (“how to write your own post processor”)
