Rocstar
1.0
Rocstar multiphysics simulation application
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ModInteract.F90
Go to the documentation of this file.
1
! *********************************************************************
2
! * Rocstar Simulation Suite *
3
! * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4
! * *
5
! * Illinois Rocstar LLC *
6
! * Champaign, IL *
7
! * www.illinoisrocstar.com *
8
! * sales@illinoisrocstar.com *
9
! * *
10
! * License: See LICENSE file in top level of distribution package or *
11
! * http://opensource.org/licenses/NCSA *
12
! *********************************************************************
13
! *********************************************************************
14
! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15
! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16
! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17
! * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18
! * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19
! * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20
! * Arising FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21
! * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22
! *********************************************************************
23
!******************************************************************************
24
!
25
! Purpose: define data types related to multi-phase interactions
26
!
27
! Description:
28
!
29
! t_inrt_input: information common to all interactions, as well as the
30
! individual interactions
31
!
32
! t_inrt_interaction: defines an individual interaction
33
!
34
! t_inrt_edge: an edge of an interaction, representing a transfer between
35
! two phases
36
!
37
! Notes: none.
38
!
39
!******************************************************************************
40
!
41
! $Id: ModInteract.F90,v 1.11 2008/12/06 08:44:18 mtcampbe Exp $
42
!
43
! Copyright: (c) 2003 by the University of Illinois
44
!
45
!******************************************************************************
46
47
MODULE
modinteract
48
49
USE
moddatatypes
50
IMPLICIT NONE
51
52
! data types ------------------------------------------------------------------
53
54
TYPE
t_inrt_input
55
INTEGER
:: nNodes
! Total number of Nodes (for all Node Tag arrays)
56
INTEGER
:: nPlag
! Number of Lagrangian particle constituents
57
INTEGER
:: nPeul
! Number of smoke types
58
INTEGER
:: indMixt
! Index of mixture (in a Node Tag array)
59
INTEGER
:: indPlag0
! Zero-index of Lagrangian particle constituents
60
INTEGER
:: indPeul0
! Zero-index of smoke types
61
INTEGER
:: indIntl
! Index of internal Node (when it exists)
62
INTEGER
:: indPlagJoint
! Index used for joint momentum and energy storage
63
INTEGER
:: indPlagVapor
! Index used for Vapor Energy
64
INTEGER
:: maxConEdges
! Maximum number of Edges over continuum inrts
65
INTEGER
:: maxDisEdges
! Maximum number of Edges over discrete inrts
66
LOGICAL
:: defaultRead
! Whether data has been read from input deck
67
LOGICAL
:: consistent
! Whether active phases form a consistent system
68
LOGICAL
:: computeAux
! Whether to compute any auxillary Edge quantities
69
INTEGER
:: twoDAverage
! Whether to average k direction
70
INTEGER
,
POINTER
:: globActiveness(:)
! Global Activeness for each Node
71
INTEGER
,
POINTER
:: globPermission(:)
! Global Permission for each Node
72
TYPE(
t_inrt_interact
)
,
POINTER
:: inrts(:)
! Individual interactions
73
END TYPE
t_inrt_input
74
75
TYPE
t_inrt_interact
76
CHARACTER(CHRLEN)
:: name
! name of interaction
77
LOGICAL
:: used
! Whether this interaction is used
78
LOGICAL
:: pclsUsed
! see below
79
INTEGER
:: order
! see below
80
INTEGER
:: nIntl
! see below
81
INTEGER
:: nInputEdges
! see below
82
INTEGER
:: nSwitches
! # of Switches in interaction
83
INTEGER
:: nData
! # of Data in interaction
84
INTEGER
:: nEdges
! # of Edges in interaction
85
INTEGER
,
POINTER
:: switches(:)
! Integer auxillary information
86
REAL(RFREAL)
,
POINTER
:: data(:)
! Real auxillary information
87
INTEGER
,
POINTER
:: activeness(:)
! Activeness for each Node
88
INTEGER
,
POINTER
:: permission(:)
! Permission for each Node
89
TYPE(
t_inrt_edge
)
,
POINTER
:: edges(:)
! List of Edges
90
END TYPE
t_inrt_interact
91
92
! The following parameters must be set for each interaction:
93
!
94
! pclsUsed: default value: .TRUE.
95
! .TRUE. for an interaction involving particles.
96
! .FALSE. for an interaction involving only cell-based quantities.
97
!
98
! order: default value: 0
99
! 0 for a normal interaction.
100
! Interactions with a given value are guaranteed to be computed
101
! after all those with smaller values.
102
! Allowed values are any integers except those near HUGE or -HUGE.
103
!
104
! nIntl: default value: 0
105
! 0 for an interaction without an Internal Node.
106
! 1 for an interaction with an Internal Node.
107
! 0 and 1 are the only allowed values.
108
!
109
! nInputEdges: default value: 0
110
! Number of edges that precede the internal Node, if it exists.
111
112
TYPE
t_inrt_edge
113
INTEGER
:: tEdge
! Type of Edge
114
INTEGER
:: iNode(2)
! Indices of Nodes on either end
115
INTEGER
:: token(2)
! Permission Tokens on either end of Edge
116
END TYPE
t_inrt_edge
117
118
END MODULE
modinteract
119
120
!******************************************************************************
121
!
122
! RCS Revision history:
123
!
124
! $Log: ModInteract.F90,v $
125
! Revision 1.11 2008/12/06 08:44:18 mtcampbe
126
! Updated license.
127
!
128
! Revision 1.10 2008/11/19 22:17:29 mtcampbe
129
! Added Illinois Open Source License/Copyright
130
!
131
! Revision 1.9 2004/07/28 15:42:12 jferry
132
! deleted defunct constructs: useDetangle, useSmokeDrag, useSmokeHeatTransfer
133
!
134
! Revision 1.8 2004/07/26 17:05:50 fnajjar
135
! moved allocation of inrtSources into Rocpart
136
!
137
! Revision 1.7 2004/03/05 22:09:01 jferry
138
! created global variables for peul, plag, and inrt use
139
!
140
! Revision 1.6 2004/03/02 21:47:28 jferry
141
! Added After Update interactions
142
!
143
! Revision 1.5 2003/04/03 21:10:17 jferry
144
! implemented additional safety checks for rocinteract
145
!
146
! Revision 1.4 2003/04/02 22:32:03 jferry
147
! codified Activeness and Permission structures for rocinteract
148
!
149
! Revision 1.3 2003/03/24 23:30:52 jferry
150
! overhauled rocinteract to allow interaction design to use user input
151
!
152
! Revision 1.2 2003/03/11 16:09:39 jferry
153
! Added comments
154
!
155
! Revision 1.1 2003/03/04 22:12:34 jferry
156
! Initial import of Rocinteract
157
!
158
!******************************************************************************
159
160
161
162
163
164
modinteract::t_inrt_edge
Definition:
ModInteract.F90:112
modinteract::t_inrt_input
Definition:
ModInteract.F90:54
modinteract::t_inrt_interact
Definition:
ModInteract.F90:75
modinteract
Definition:
ModInteract.F90:47
moddatatypes
Definition:
ModDataTypes.F90:40
RocfluidMP
modfloflu
ModInteract.F90
Generated on Wed Nov 30 2016 16:56:09 for Rocstar by
1.8.5