Bound 1.f90 - Set boundary conditions
From CFD-Wiki
Subroutine Bound_condition
include 'icomm_1.f90'
! F(NXmaxP,2:NYmaxP,5) = F(NXmaxP-1,2:NYmaxP,5) ! F(1,2:NYmaxP,5) = F(2,2:NYmaxP,5) ! F(2:NXmaxP,NYmaxP,5) = F(2:NXmaxP,NYmaxP-1,5) ! F(2:NXmaxP,1 ,5) = F(2:NXmaxP, 2 ,5)
open(54, file='ioutlet_prof.txt')
DO 5 I=1,NXmaxP
If ( Xp(i,1)>0.) then F(i,1,5) = F(i,2,5) write(54,*) Xp(i,1),F(i,1,5) end if
5 continue
close(54)
Return
End