64 CHARACTER(*),
INTENT(IN) :: indir
70 CHARACTER(LEN=80) :: infile
71 CHARACTER(*),
PARAMETER :: controlfile =
"RocburnZNControl.txt"
82 if (indir(len_trim(indir):len_trim(indir)) ==
'/')
then
83 infile= trim(indir) // controlfile
85 infile= trim(indir) // controlfile
90 READ(ir,*) g_zn%Model_combustion
91 IF (g_zn%rank==0)
print *,
' ROCBURN_ZN: rank=',g_zn%rank, &
92 ' ; input propellant thermophysical properties', &
104 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: a_p =', g_zn%a_p
107 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: n_p =', g_zn%n_p
110 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: Ac= ',g_zn%Ac
113 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: Bg= ',g_zn%Bg
116 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: Ec= ',g_zn%Ec
119 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: Qc= ',g_zn%Qc
122 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: Qg= ',g_zn%Qg
124 READ(ir,*) g_zn%alfac
125 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: alfac= ',g_zn%alfac
128 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: C= ',g_zn%C
131 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: rhoc= ',g_zn%rhoc
134 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: lamg= ',g_zn%lamg
137 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: MW= ',g_zn%MW
140 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: Ka= ',g_zn%Ka
142 READ(ir,*) g_zn%nxmax
143 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: nxmax= ',g_zn%nxmax
146 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: nx= ',g_zn%nx
148 READ(ir,*) g_zn%delt_max
149 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: delt= ',g_zn%delt_max
151 READ(ir,*) g_zn%igrid
152 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: igrid= ',g_zn%igrid
155 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: xmax= ',g_zn%xmax
158 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: beta= ',g_zn%beta
160 READ(ir,*) g_zn%tol_Ts
161 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: tol_Ts= ',g_zn%tol_Ts
163 READ(ir,*) g_zn%itermax
164 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: itermax= ',g_zn%itermax
166 READ(ir,*) g_zn%Tf_adiabatic
167 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: Tf_adiabatic= ',g_zn%Tf_adiabatic
170 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: To= ',g_zn%To
172 READ(ir,*) g_zn%ign_flag
173 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: ign_flag= ',g_zn%ign_flag
175 READ(ir,*) g_zn%To_cold
176 IF (g_zn%rank==0)
WRITE(*,*)
'ROCBURN_ZN: To_cold= ',g_zn%To_cold
180 g_zn%lamc=g_zn%alfac*g_zn%rhoc*g_zn%C
190 IF (g_zn%rank==0)
print *,
'ROCBURN_ZN: rank=',g_zn%rank, &
191 ' done input', controlfile
int status() const
Obtain the status of the attribute.
const std::string & unit() const
Obtain the unit of the attribute.