-
Notifications
You must be signed in to change notification settings - Fork 1
/
prms.f90
71 lines (47 loc) · 1.1 KB
/
prms.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
MODULE prms
IMPLICIT none
integer :: Ncr
integer :: Nbr
integer :: Ndr
integer :: Nct
integer :: Nbt
integer :: Ndt
integer :: Nfac
integer :: Nfr
integer :: Nft
real(16) :: Rmax
real(16) :: Tmax
real(16) :: Pi
Real(16) :: GAM,RHO1,RHO2,MU1,MU2,aa,HH,KAP,Reynolds,K
!PARAMETER (GAM=0.0,RHO1=1.0,RHO2=1.0)
CONTAINS
SUBROUTINE initprms
Pi = 4.*ATAN(1.)
call readprms
END SUBROUTINE initprms
SUBROUTINE readprms
open(1,file='circle.in')
read(1,*) Ncr
read(1,*) Nbr; Ndr = Ncr + Nbr
read(1,*) Nct
read(1,*) Nbt; Ndt = Nct + Nbt
read(1,*) Nfac; Nfr = Nfac*Ndr; Nft = Nfac*Ndt
read(1,*) Tmax
read(1,*) Rmax
close(1)
!Tmax = Tmax/10. !hickox
Tmax = 0.1 !joseph
GAM = 0.0
RHO1 = 1.0
RHO2 = 1.0
K = 1.
aa=RMAX
HH=RMAX+TMAX
Reynolds = 100.
MU2 = HH/Reynolds !joseph
kap = -4.*MU2/(HH**2) !joseph
!mu1 = 10.0
!mu2 = 200.0
!kap = -1.0
END SUBROUTINE readprms
END MODULE prms