MFIX
2016-1
Main Page
Modules
Data Types List
Files
File List
File Members
set_bc_dem.f
Go to the documentation of this file.
1
!vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv!
2
! !
3
! Subroutine: SET_BC_DEM !
4
! Author: J.Musser Date: 13-Jul-09 !
5
! !
6
! Purpose: Check the data provided for the des mass inflow boundary !
7
! condition and flag errors if the data is improper. This module is !
8
! also used to convert the proveded information into the format !
9
! necessary for the dependent subrountines to function properly. !
10
! !
11
!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!
12
SUBROUTINE
set_bc_dem
13
14
USE
constant
15
USE
des_bc
16
USE
discretelement
17
USE
funits
18
USE
geometry
19
USE
indices
20
USE
param
21
USE
param1
22
USE
physprop
23
USE
run
24
USE
mfix_pic
25
use
mpi_utility
26
27
use
bc
28
29
use
error_manager
30
31
IMPLICIT NONE
32
33
34
CALL
init_err_msg
(
"SET_BC_DEM"
)
35
36
! The variable PARTICLES should already be set by this point if using
37
! gener_part_config option
38
IF
(particles ==
undefined_i
)
THEN
39
particles = 0
40
ENDIF
41
42
! If the system is started without any particles and an inlet is not
43
! specified, the run is likely aborted.
44
! Inlet/outlet for MPPIC are based off the regular mfix declarations,
45
! and so DEM_BCMI could still be zero.
46
IF
(particles == 0 .AND.
dem_bcmi
== 0)
THEN
47
WRITE
(
err_msg
, 1202)
48
CALL
flush_err_msg
49
ENDIF
50
51
1202
FORMAT
(
'WARNING 1202: The system is initiated with no particles'
,&
52
' and no'
,/
'solids inlet was detected.'
)
53
54
IF
(
dem_bcmi
> 0)
CALL
set_bc_dem_mi
55
IF
(
dem_bcmo
> 0)
CALL
set_bc_dem_mo
56
57
! Set the flag that one or more DEM MI/MO exists.
58
dem_mio
= (
dem_bcmi
/= 0 .OR.
dem_bcmo
/= 0)
59
60
CALL
finl_err_msg
61
62
RETURN
63
END SUBROUTINE
set_bc_dem
mpi_utility
Definition:
mpi_utility_mod.f:6
param1
Definition:
param1_mod.f:2
funits
Definition:
funits_mod.f:1
error_manager::finl_err_msg
subroutine finl_err_msg
Definition:
error_manager_mod.f:216
constant
Definition:
constant_mod.f:20
indices
Definition:
indices_mod.f:9
des_bc::dem_bcmo
integer dem_bcmo
Definition:
des_bc_mod.f:19
error_manager::init_err_msg
subroutine init_err_msg(CALLER)
Definition:
error_manager_mod.f:171
des_bc
Definition:
des_bc_mod.f:14
mfix_pic
Definition:
mfix_pic_mod.f:8
des_bc::dem_bcmi
integer dem_bcmi
Definition:
des_bc_mod.f:18
run
Definition:
run_mod.f:13
param
Definition:
param_mod.f:2
physprop
Definition:
physprop_mod.f:10
param1::undefined_i
integer, parameter undefined_i
Definition:
param1_mod.f:19
error_manager::err_msg
character(len=line_length), dimension(line_count) err_msg
Definition:
error_manager_mod.f:29
error_manager
Definition:
error_manager_mod.f:8
set_bc_dem
subroutine set_bc_dem
Definition:
set_bc_dem.f:13
geometry
Definition:
geometry_mod.f:11
set_bc_dem_mo
subroutine set_bc_dem_mo
Definition:
set_bc_dem_mo.f:12
error_manager::flush_err_msg
subroutine flush_err_msg(DEBUG, HEADER, FOOTER, ABORT, LOG, CALL_TREE)
Definition:
error_manager_mod.f:305
des_bc::dem_mio
logical dem_mio
Definition:
des_bc_mod.f:21
bc
Definition:
bc_mod.f:23
set_bc_dem_mi
subroutine set_bc_dem_mi
Definition:
set_bc_dem_mi.f:10
des
set_bc_dem.f
Generated by
1.8.11