ADflow  v1.0
ADflow is a finite volume RANS solver tailored for gradient-based aerodynamic design optimization.
bleedFlows.f90
Go to the documentation of this file.
1 module bleedflows
2 !
3 ! Module which contains the derived data types as well as the
4 ! corresponding arrays to store the information needed to model
5 ! the bleed flows. Both inflow bleeds and outflow bleeds are
6 ! possible.
7 !
8  use constants, only: inttype, realtype
9  implicit none
10  save
11 !
12 ! The definition of the derived data type for the flow bleeds.
13 !
15 
16  ! familyID: Corresponding family ID.
17  ! massFlux: Prescribed mass flux,
18  ! curMassFlux: Current mass flux. When converged this should
19  ! be equal to massFlux.
20 
21  integer(kind=intType) :: familyid
22  real(kind=realtype) :: massflux, curmassflux
23 
24  end type bleedflowtype
25 !
26 ! Variables stored in this module.
27 !
28  ! nInflowBleeds: Number of inflow bleeds present.
29  ! nOutflowBleeds: Number of outflow bleeds present.
30  ! inflowBleeds(:): Array with the information for the inflow
31  ! bleeds.
32  ! outflowBleeds(:): Array with the information for the outflow
33  ! bleeds.
34 
35  integer(kind=intType) :: ninflowbleeds
36  integer(kind=intType) :: noutflowbleeds
37  integer(kind=intType) :: noutflowsubsonic, ninflowsubsonic ! eran-massf
38 
39  type(bleedflowtype), dimension(:), allocatable :: inflowbleeds
40  type(bleedflowtype), dimension(:), allocatable :: outflowbleeds
41 
42 end module bleedflows
type(bleedflowtype), dimension(:), allocatable inflowbleeds
Definition: bleedFlows.f90:39
integer(kind=inttype) noutflowsubsonic
Definition: bleedFlows.f90:37
integer(kind=inttype) noutflowbleeds
Definition: bleedFlows.f90:36
integer(kind=inttype) ninflowbleeds
Definition: bleedFlows.f90:35
type(bleedflowtype), dimension(:), allocatable outflowbleeds
Definition: bleedFlows.f90:40
integer(kind=inttype) ninflowsubsonic
Definition: bleedFlows.f90:37