Hello Violetta,
Using KP1BOR only allows you to navigate on the 2D border on the horizontal. In your case,the coefficients to be changed are those dedicated to flux across lateral boundaries, for tracers, which are:
ATABOL and BTABOL
The nodes you want to change are given in global numbers, like 1265, so you will have to find their 2D boundary point number, let's say IPTFR, now assume you want to change the coefficients of the point on plane IPLAN above 2D boundary point IPTFR, for tracer ITRAC, the address is :
ATABOL%ADR(ITRAC)%P%R((IPLAN-1)*NPTFR2+IPTFR), where NPTFR2 is the number of boundary points in 2D (you go up one plane by adding NPTFR2). Same for BTABOL.
Once it works with hardcoded boundary points numbers, we can add a loop to retrieve these numbers from the global numbers, even in parallel.
I hope this is clear enough, though complicated, if not just ask again...
With best regards,
Jean-Michel Hervouet