CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Wiki > Bound 1.f90 - Set boundary conditions

Bound 1.f90 - Set boundary conditions

From CFD-Wiki

(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
include 'icomm_1.f90'   
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')
open(54, file='ioutlet_prof.txt')

Revision as of 01:48, 19 September 2005

Subroutine Bound_condition

include 'icomm_1.f90'

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

My wiki