18 USE discretelement
, only : gener_part_config
20 USE discretelement
, only: dimn
22 USE discretelement
, only: des_mmax
52 LOGICAL :: CONST_NPC, CONST_STATWT
57 IF (.NOT.gener_part_config)
RETURN 66 IF(.not.ic_defined(icv)) cycle
68 IF (ic_ep_g(icv).lt.
one)
THEN 72 IF(const_npc.and.const_statwt.and.ic_ep_s(icv,m).gt.
zero)
then 77 IF(.not.const_npc.and.(.not.const_statwt).and. &
78 ic_ep_s(icv,m).gt.
zero)
then 86 1100
FORMAT(
'Error 1100: In MPPIC model for IC # ',i5, &
87 ' and solid phase # ', i5, /, &
88 'Non zero Values specified for both ', &
89 'IC_PIC_CONST_NPC and IC_PIC_CONST_STATWT.', /, &
90 'Choose between constant number of parcels per cell or ', &
91 'constant statistical weight', /, &
92 'See MFIX readme',/
'Please correct the data file.')
95 1101
FORMAT(
'Error 1101: In MPPIC model for IC # ',i5, &
96 ' and solid phase # ', i5, /, &
97 'A non-zero value not specified for ', &
98 'IC_PIC_CONST_NPC or IC_PIC_CONST_STATWT. ', /, &
99 'Choose between constant number of parcels per cell or ', &
100 'constant statistical weight', /, &
101 'See MFIX readme',/
'Please correct the data file.')
109 IF (
dz(1) ==
one)
THEN 110 WRITE(*,
'(5X,A,A,/5X,A,A)') &
111 'For DIMN = 2, specify a value for DZ(1) or ',&
112 'ZLENGTH in mfix.dat which is not',&
113 'equal to one. If you want it to be one then ',&
114 'set it close to one but not exactly one' 119 WRITE(
err_msg,
'(5X,A,/5x,A,/5X,2(A20,2X,G17.8))') &
120 'For DIMN = 2, DZ(1) and ZLENGTH are used ', &
121 'interchangeably',
' Specify same values for ', &
122 'DZ(1) and ZLENGTH',
'DZ(1) = ',
dz(1),
'ZLENGTH = ', &
integer, parameter dimension_ic
integer, dimension(dimension_ic, dim_m) ic_pic_const_npc
subroutine check_ic_mppic
double precision, parameter one
logical, dimension(dimension_ic) ic_defined
double precision, dimension(0:dim_k) dz
subroutine init_err_msg(CALLER)
double precision, dimension(dimension_ic, dim_m) ic_pic_const_statwt
character(len=line_length), dimension(line_count) err_msg
double precision, dimension(dimension_ic) ic_ep_g
double precision, dimension(dimension_ic, dim_m) ic_ep_s
double precision, parameter zero
subroutine flush_err_msg(DEBUG, HEADER, FOOTER, ABORT, LOG, CALL_TREE)