54 TYPE(t_region
) :: region
59 CHARACTER(CHRLEN) :: rcsidentstring
62 INTEGER :: flowkind,
split(3)
66 REAL(RFREAL) :: meanpgrad, bulkmflux,
delta
69 REAL(RFREAL) :: minjrate, cprepsilon, headpres, headtemp
73 REAL(RFREAL) :: retau, utau, ucenter, tauwall, skinfriction
77 rcsidentstring =
'$RCSfile: PERI_PrintUserInput.F90,v $'
79 global => region%global
81 'PERI_PrintUserInput.F90' )
86 rgas = global%refCp*(1._rfreal - 1._rfreal/global%refGamma)
87 flowkind = region%periInput%flowKind
88 split(1:3) = region%periInput%split(icoord:kcoord)
91 delta = global%refLength
92 meanpgrad = region%periInput%meanPgrad
93 bulkmflux = region%periInput%bulkmFlux
96 minjrate = region%periInput%minjRate
97 cprepsilon = region%periInput%cprEpsilon
98 headpres = region%periInput%headPres
99 headtemp = region%periInput%headTemp
102 pgradtype = region%periInput%pgradType
103 retau = region%periInput%cnlRetau
104 utau = region%periInput%cnlUtau
105 ucenter = region%periInput%cnlCvel
107 tauwall = global%refDensity*utau**2._rfreal
108 skinfriction= 2._rfreal*(utau/ucenter)**2._rfreal
112 WRITE(stdout,1005) solver_name//
' Specific flow case, periodic flow:'
113 IF (flowkind==peri_flow_cpr)
THEN
114 WRITE(stdout,1030) solver_name//
' periodic flow kind = CPR'
115 ELSEIF (flowkind==peri_flow_channel)
THEN
116 WRITE(stdout,1030) solver_name//
' periodic flow kind = CHANNEL'
117 ELSEIF (flowkind==peri_flow_bola)
THEN
118 WRITE(stdout,1030) solver_name//
' periodic flow kind = Boundary Layer'
120 WRITE(stdout,1010) solver_name//
' i,j,k parallel split =', &
122 ' (1 = split domain, 0 = unsplit)'
126 IF (flowkind==peri_flow_cpr)
THEN
130 WRITE(stdout,1030) solver_name//
' input-data relevant to CPR flow:'
132 WRITE(stdout,1020) solver_name//
' derived gas constant =',rgas
133 WRITE(stdout,1020) solver_name//
' mass injection rate =',minjrate
134 WRITE(stdout,1020) solver_name//
' ratio inj/bulk mrate =',cprepsilon
135 WRITE(stdout,1020) solver_name//
' head end pressure =',headpres
136 WRITE(stdout,1020) solver_name//
' head end temperature =',headtemp
137 WRITE(stdout,1020) solver_name//
' lengthscale delta =',
delta
138 WRITE(stdout,1020) solver_name//
' based on above parameters:'
139 WRITE(stdout,1020) solver_name//
' bulk mass flux =',bulkmflux
140 WRITE(stdout,1020) solver_name//
' mean pressure grad. =',meanpgrad
142 ELSEIF (flowkind==peri_flow_channel)
THEN
146 WRITE(stdout,1030) solver_name//
' input-data relevant to Channel flow:'
147 IF (pgradtype == cnl_pgrad_tauwall)
THEN
148 WRITE(stdout,1030) solver_name//
' calc. method dpdx = tau wall based'
150 WRITE(stdout,1030) solver_name//
' calc. method dpdx = mass flux based'
152 WRITE(stdout,1020) solver_name//
' reTau =',retau
153 WRITE(stdout,1020) solver_name//
' utau =',utau
154 WRITE(stdout,1020) solver_name//
' ucenter =',ucenter
155 WRITE(stdout,1020) solver_name//
' tauWall =',tauwall
156 WRITE(stdout,1020) solver_name//
' skinFriction =',skinfriction
157 WRITE(stdout,1020) solver_name//
' based on above parameters:'
158 WRITE(stdout,1020) solver_name//
' bulk mass flux =',bulkmflux
159 WRITE(stdout,1020) solver_name//
' mean pressure grad. =',meanpgrad
161 ELSEIF (flowkind==peri_flow_bola)
THEN
169 1010
FORMAT(2
x,
a,3i4,
a)
170 1020
FORMAT(2
x,
a,e12.5)
subroutine registerfunction(global, funName, fileName)
void split(Box ®ion, bool f_neg)
subroutine deregisterfunction(global)