58 IF (mu_g0 <=
zero)
THEN 70 IF (c_pg0 <
zero)
THEN 76 IF (dif_g0 <
zero)
THEN 105 1200
FORMAT(
'Error 1200: ',a,
' must be defined when USE_MMS is T.',/,&
106 'Please correct the mfix.dat file.')
115 WRITE (
err_msg, 1100)
'solving species equations' 131 IF (ro_g0 <
zero)
THEN 138 WRITE(
err_msg, 1100)
'RO_g0 is specified' 152 1000
FORMAT(
'Error 1000: Required input not specified: ',a,/
'Please ',&
153 'correct the mfix.dat file.')
155 1001
FORMAT(
'Error 1001: Illegal or unknown input: ',a,
' = ',a,/ &
156 'Please correct the mfix.dat file.')
159 1100
FORMAT(
'Message 2000: MW_AVG is not needed when ',a,
'.')
244 IF(species_eq(0))
THEN 246 IF(nmax_g == undefined_i)
THEN 258 nmax(0) = merge(1, nmax_g, nmax_g == undefined_i)
263 eeq_cpg = (energy_eq .AND. c_pg0 == undefined)
269 2000
FORMAT(
'Message: 2000 The energy equations are being solved ', &
270 '(ENERGY_EQ) and',/
'the constant gas specific heat is ', &
271 'undefined (C_PG0). Thus, the thermo-',/
'chemical database ', &
272 'will be used to gather specific heat data on the',/ &
273 'individual gas phase species.')
277 IF(
mw_avg == undefined)
THEN 279 IF(mw_g(n) == undefined)
THEN 280 IF(ro_g0 == undefined) mwg_rog = .true.
281 IF(species_eq(0)) seq_mwg = .true.
291 2001
FORMAT(
'Message 2001: MW_AVG and RO_G0 are undefined and one or',&
292 ' more species',/
'molecular weights are undefined. The therm',&
293 'ochemical database will be',/
'used in an attempt to gather ',&
294 'missing molecular weight data.')
301 2002
FORMAT(
'Message 2002: One or more species molecular weights are',&
302 ' undefined and',/
'the gas phase species equations are being',&
303 ' solved (SOLVE_EQ(0)). The',/
'thermochemical database will ',&
304 'be used in an attempt to gather missing',/
'molecular weight',&
308 rdatabase(0,:) = .false.
310 IF(eeq_cpg .OR. seq_mwg .OR. mwg_rog)
THEN 317 3000
FORMAT(
'Message 3000: Searching thermochemical databases for ', &
318 'gas phase',/
'species data.',/
' ')
321 IF(eeq_cpg .OR. mw_g(n) == undefined)
THEN 333 3001
FORMAT(/2x,
'>',i3,
': Species: ',a)
337 rdatabase(0,n) = .true.
346 IF(mw_g(n) /= undefined)
THEN 356 1000
FORMAT(
'Error 1000: Required input not specified: ',a,/
'Please ',&
357 'correct the mfix.dat file.')
359 1001
FORMAT(
'Error 1001: Illegal or unphysical input: ',a,
' = ',a,/ &
360 'Please correct the mfix.dat file.')
362 1002
FORMAT(
'Error 1002: Illegal input: ',a,
' specified out of range.',
363 'Please correct the mfix.dat file.')
423 WRITE(
err_msg,2000)
'NMAX_g',
'undefined' 426 WRITE(
err_msg,2000) trim(
ivar(
'NMAX',0)),
'specified' 441 WRITE(
err_msg,2000)trim(
ivar(
'MW_g',n)),
'specified' 443 ELSEIF(mw_g(n) <=
zero)
THEN 462 1001
FORMAT(
'Error 1001: Illegal or unphysical input: ',a,
' = ',a,/ &
463 'Please correct the mfix.dat file.')
465 2000
FORMAT(
'Error 2000: Invalid input. ',a,
' must be ',a,/
'when ',
466 'USE_RRATES is .TRUE.'/,
'Please correct the mfix.dat file')
integer, parameter dim_n_g
character(len=32) function ivar(VAR, i1, i2, i3)
logical, dimension(0:dim_m) species_eq
double precision, parameter undefined
subroutine check_gas_species
double precision, dimension(dim_n_g) mw_g
subroutine init_err_msg(CALLER)
logical, dimension(0:dim_m, dim_n_g) rdatabase
integer, dimension(0:dim_m) nmax
integer, parameter undefined_i
character(len=line_length), dimension(line_count) err_msg
subroutine read_database(lM, lN, lName, lMW)
character(len=18), dimension(dim_n_g) species_g
subroutine check_gas_phase
double precision, parameter zero
subroutine check_gas_species_legacy
subroutine flush_err_msg(DEBUG, HEADER, FOOTER, ABORT, LOG, CALL_TREE)
character, parameter undefined_c