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
December 18, 2024 at 11:29 am
#9619
Adrian
Keymaster
Are you suggesting that I define a new dedicated field, where for instance overlap cells are assigned a value of “1” and all other cells are assigned a value of “0”? This field could then be used to distinguish overlap cells from regular cells.
Yes, exactly (this is of course quite ugly but it will work).
If you want to add post processors to the overlap you can drop the isPadding
check in line 618 of core/blockLattice.h
and add them per-cell.