56 TYPE(t_region
),
POINTER :: regions(:)
59 INTEGER :: icont, ireg
62 CHARACTER(CHRLEN) :: rcsidentstring
70 rcsidentstring =
'$RCSfile: PLAG_CheckUserInput.F90,v $ $Revision: 1.7 $'
73 global => regions(1)%global
77 global => regions(0)%global
81 'PLAG_CheckUserInput.F90' )
86 nregions = global%nRegions
90 nregions = global%nRegionsLocal
94 IF ( global%flowType == flow_steady )
THEN
95 WRITE(stdout,1000) ireg,global%flowType
96 CALL
errorstop( global,err_plag_module,__line__ )
99 IF ( .NOT. regions(ireg)%mixtInput%computeTv )
THEN
100 WRITE(stdout,1010) ireg,regions(ireg)%mixtInput%computeTv
101 CALL
errorstop( global,err_plag_module,__line__ )
108 IF ( regions(ireg)%mixtInput%computeTv .AND. &
109 ( regions(ireg)%mixtInput%viscModel < visc_suthr .OR. &
110 regions(ireg)%mixtInput%viscModel > visc_antib ) )
THEN
111 CALL
errorstop(global,err_unknown_viscmodel,__line__)
115 IF ( regions(ireg)%plagInput%intrplMixtModel /= zeroth_order)
THEN
116 WRITE(stdout,1030) ireg,regions(ireg)%plagInput%intrplMixtModel
117 CALL
errorstop( global,err_plag_intrplmodel,__line__ )
122 IF ( regions(ireg)%plagInput%intrplMixtModel > first_order)
THEN
123 WRITE(stdout,1030) ireg,regions(ireg)%plagInput%intrplMixtModel
124 CALL
errorstop( global,err_plag_intrplmodel,__line__ )
127 IF ( regions(ireg)%plagInput%intrplMixtModel /=zeroth_order .AND. &
128 regions(ireg)%mixtInput%spaceOrder == 1 )
THEN
129 CALL
errorstop(global,err_plag_intrplmodel,__line__)
133 IF ( regions(ireg)%plagInput%breakupModel < plag_breakup_nomodel .OR. &
134 regions(ireg)%plagInput%breakupModel > plag_breakup_model1 )
THEN
135 WRITE(stdout,1040) ireg,regions(ireg)%plagInput%breakupModel
136 CALL
errorstop( global,err_plag_breakupmodel,__line__ )
139 IF ( regions(ireg)%plagInput%breakupWebSwi < plag_breakup_nowebswi .OR. &
140 regions(ireg)%plagInput%breakupWebSwi > plag_breakup_webswi1 )
THEN
141 WRITE(stdout,1040) ireg,regions(ireg)%plagInput%breakupWebSwi
142 CALL
errorstop( global,err_plag_breakupwebswi,__line__ )
145 IF ( regions(ireg)%plagInput%injcDiamDist < plag_injc_lognorm .OR. &
146 regions(ireg)%plagInput%injcDiamDist > plag_injc_pdf)
THEN
147 WRITE(stdout,1050) ireg,regions(ireg)%plagInput%injcDiamDist
148 CALL
errorstop( global,err_plag_injcdiamdist,__line__ )
151 IF ( regions(ireg)%plagInput%injcDiamDist == plag_injc_logskwd .AND. &
152 regions(ireg)%plagInput%injcDiamMean/&
153 regions(ireg)%plagInput%injcDiamMax > 0.8_rfreal )
THEN
154 WRITE(stdout,1060) ireg,regions(ireg)%plagInput%injcDiamMean/&
155 regions(ireg)%plagInput%injcDiamMax
156 CALL
errorstop( global,err_plag_injcdiam,__line__ )
159 IF ( regions(ireg)%plagInput%injcDiamDist == plag_injc_logskwd .AND. &
160 regions(ireg)%plagInput%injcDiamMin/&
161 regions(ireg)%plagInput%injcDiamMean > 0.8_rfreal )
THEN
162 WRITE(stdout,1070) ireg,regions(ireg)%plagInput%injcDiamMin/&
163 regions(ireg)%plagInput%injcDiamMean
164 CALL
errorstop( global,err_plag_injcdiam,__line__ )
167 IF ( regions(ireg)%plagInput%ejecModel < plag_ejec_model1 .OR. &
168 regions(ireg)%plagInput%ejecModel > plag_ejec_cre )
THEN
169 WRITE(stdout,1050) ireg,regions(ireg)%plagInput%ejecModel
170 CALL
errorstop( global,err_plag_ejecmodel,__line__ )
173 IF ( regions(ireg)%plagInput%findPclMethod < find_pcl_method_traj_fast .OR. &
174 regions(ireg)%plagInput%findPclMethod > find_pcl_method_lohner )
THEN
175 WRITE(stdout,1050) ireg,regions(ireg)%plagInput%findPclMethod
176 CALL
errorstop( global,err_plag_findpcl,__line__ )
185 1000
FORMAT(
'Region ',i5,
', flowType ',i1)
186 1010
FORMAT(
'Region ',i5,
', computeTv ',l1)
187 1030
FORMAT(
'Region ',i5,
', intrplMixtModel ',i1)
188 1040
FORMAT(
'Region ',i5,
', breakupModel ',i1)
189 1050
FORMAT(
'Region ',i5,
', injectionModel ',i1)
190 1060
FORMAT(
'Region ',i5,
', injcDiamMean/injcDiamMax = ',f12.5)
191 1070
FORMAT(
'Region ',i5,
', injcDiamMin /injcDiamMean = ',f12.5)
subroutine registerfunction(global, funName, fileName)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)