Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ModSpecies.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 chemical species.
26 !
27 ! Description: None.
28 !
29 ! Input: None.
30 !
31 ! Output: None.
32 !
33 ! Notes: None.
34 !
35 ! ******************************************************************************
36 !
37 ! $Id: ModSpecies.F90,v 1.16 2008/12/06 08:44:19 mtcampbe Exp $
38 !
39 ! Copyright: (c) 2001-2005 by the University of Illinois
40 !
41 ! ******************************************************************************
42 
43 MODULE modspecies
44 
45  USE moddatatypes
46  USE modmaterials, ONLY: t_material
47 
48  IMPLICIT NONE
49 
50 ! ******************************************************************************
51 ! Species input
52 ! ******************************************************************************
53 
55  LOGICAL :: sourceFlag,usedFlag
56  INTEGER :: nSpecies,nSpeciesEE
57  TYPE(t_spec_type), DIMENSION(:), POINTER :: specType
58  END TYPE t_spec_input
59 
60 ! ******************************************************************************
61 ! Species type
62 ! ******************************************************************************
63 
65 
66 ! ==============================================================================
67 ! Common to all species
68 ! ==============================================================================
69 
70  LOGICAL :: frozenFlag,discreteFlag,settlingFlag
71  INTEGER :: iCont,sourceType,velocityMethod
72  REAL(RFREAL) :: initVal,schmidtNumber
73  TYPE(t_material), POINTER :: pMaterial
74 
75 ! ==============================================================================
76 ! Specific to species representing particles
77 ! ==============================================================================
78 
79  INTEGER :: iSpecEEv2iSpec,iSpec2iSpecEEv
80  REAL(RFREAL) :: diameter,puffFactor
81  REAL(RFREAL) :: effectiveDensity,effectiveVolume,materialVolume ! derived
82  REAL(RFREAL) :: tauCoefficient
83  END TYPE t_spec_type
84 
85 ! ******************************************************************************
86 ! Species data
87 ! ******************************************************************************
88 
89  TYPE t_spec
90  INTEGER :: cvState,nSpecEqs
91  INTEGER, DIMENSION(:), POINTER :: cvInfo
92  REAL(RFREAL), DIMENSION(:,:), POINTER :: cv,cvOld,cvVert
93  REAL(RFREAL), DIMENSION(:,:), POINTER :: dv,tv
94  REAL(RFREAL), DIMENSION(:,:), POINTER :: diss,fterm,rhs,rhsSum
95  REAL(RFREAL), DIMENSION(:,:), POINTER :: lim
96  REAL(RFREAL), DIMENSION(:,:,:), POINTER :: eev,eevVert, &
97  gradCell,gradFace
98  END TYPE t_spec
99 
100 END MODULE modspecies
101 
102 ! ******************************************************************************
103 !
104 ! RCS Revision history:
105 !
106 ! $Log: ModSpecies.F90,v $
107 ! Revision 1.16 2008/12/06 08:44:19 mtcampbe
108 ! Updated license.
109 !
110 ! Revision 1.15 2008/11/19 22:17:30 mtcampbe
111 ! Added Illinois Open Source License/Copyright
112 !
113 ! Revision 1.14 2006/08/19 15:38:57 mparmar
114 ! Removed bGradFace
115 !
116 ! Revision 1.13 2005/11/27 02:08:12 haselbac
117 ! Added EEv support
118 !
119 ! Revision 1.12 2005/11/14 16:57:33 haselbac
120 ! Added iCont flag
121 !
122 ! Revision 1.11 2005/11/10 02:22:09 haselbac
123 ! Added settlingFlag
124 !
125 ! Revision 1.10 2005/07/11 19:28:18 mparmar
126 ! Added lim
127 !
128 ! Revision 1.9 2005/04/20 14:41:12 haselbac
129 ! Removed unifSpec, cosmetics
130 !
131 ! Revision 1.8 2004/07/30 22:47:35 jferry
132 ! Implemented Equilibrium Eulerian method for Rocflu
133 !
134 ! Revision 1.7 2004/07/28 15:40:30 jferry
135 ! added USED field to SPECIES input section
136 !
137 ! Revision 1.6 2004/07/23 22:43:16 jferry
138 ! Integrated rocspecies into rocinteract
139 !
140 ! Revision 1.5 2004/04/01 21:29:19 haselbac
141 ! Added sourceFlag
142 !
143 ! Revision 1.4 2004/01/29 22:57:29 haselbac
144 ! Added arrays for second-order and viscous fluxes, clean-up
145 !
146 ! Revision 1.3 2003/11/25 21:03:16 haselbac
147 ! Added definition of variables
148 !
149 ! Revision 1.2 2001/12/11 21:59:29 jblazek
150 ! memory allocation added.
151 !
152 ! Revision 1.1.1.1 2001/12/03 21:44:05 jblazek
153 ! Import of RocfluidMP
154 !
155 ! ******************************************************************************
156 
157 
158 
159 
160 
161