Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ModRadiation.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 radiation.
26 !
27 ! Description: Input data are grouped in t_radi_input data type, while
28 ! computed radiation field quantities in t_radi data type.
29 !
30 ! Notes: none
31 !
32 !******************************************************************************
33 !
34 ! $Id: ModRadiation.F90,v 1.13 2008/12/06 08:44:19 mtcampbe Exp $
35 !
36 ! Copyright: (c) 2001 by the University of Illinois
37 !
38 !******************************************************************************
39 
41 
42  USE moddatatypes
43  IMPLICIT NONE
44 
45 ! input -----------------------------------------------------------------------
46 
48 
49 ! - general input
50 
51  INTEGER :: radiModel ! radiation model
52  INTEGER :: media ! type of participating media
53  INTEGER :: nDv ! number of derived vars. comp.
54  INTEGER :: nAng ! # intensity angles to be output
55  REAL(RFREAL) :: stBoltz ! Stefan-Boltzman constant
56  REAL(RFREAL), POINTER :: angles(:,:) ! selected angle of rad.intensity
57  REAL(RFREAL), POINTER :: optConst(:,:) ! optical constants
58  CHARACTER(256) :: line(2) ! angle readin line-paramters
59 
60 ! - diffusion model input
61 
62  INTEGER :: fluxLim ! type of flux limiter
63  INTEGER :: nCv, nGrad ! number of cv and gradient components
64  INTEGER :: spaceDiscr ! spatial discretization type
65  INTEGER :: spaceOrder ! spatial discretization order
66  REAL(RFREAL) :: vis2 ! 2nd order dissipation coefficient
67  REAL(RFREAL) :: vis4 ! 4th order dissipation coefficient
68  REAL(RFREAL) :: smoocf ! residual smoothing coefficient
69 
70 ! - RTE solver input
71 
72  INTEGER :: solMethod ! numerical method to solve RTE
73  INTEGER :: nOrdin ! number of ordinate directions
74  INTEGER :: nPol ! number of polar angles
75  INTEGER :: nAzi ! number of azimuthal angles
76  END TYPE t_radi_input
77 
78 ! data ------------------------------------------------------------------------
79 
80  TYPE t_radi
81  REAL(RFREAL), POINTER :: dv(:,:) ! all
82  REAL(RFREAL), POINTER :: cv(:,:), cvOld(:,:) ! FLDTRAN+RTE
83  REAL(RFREAL), POINTER :: rhs(:,:), rhsSum(:,:), diss(:,:) ! FLDTRAN+RTE
84  REAL(RFREAL), POINTER :: gradi(:,:), gradj(:,:), gradk(:,:) ! FLDTRAN+RTE(?)
85 #ifdef RFLO
86  REAL(RFREAL), POINTER :: srad(:,:), epsIrs(:,:) ! FLDTRAN+RTE
87 #endif
88  REAL(RFREAL), POINTER :: fluxlim(:) ! FLD+ROSS
89  REAL(RFREAL), POINTER :: ptens(:,:), eddFact(:) ! FLD
90  REAL(RFREAL), POINTER :: qri(:), qrj(:), qrk(:), goFact(:) ! all
91  REAL(RFREAL), POINTER :: radInt(:,:), radCoef(:,:) ! all
92  REAL(RFREAL), POINTER :: wvInt(:,:) ! allwv
93  REAL(RFREAL), POINTER :: dWghti(:,:), dWghtj(:,:), dWghtk(:,:) ! RTE
94 
95  END TYPE t_radi
96 
97 END MODULE modradiation
98 
99 !******************************************************************************
100 !
101 ! RCS Revision history:
102 !
103 ! $Log: ModRadiation.F90,v $
104 ! Revision 1.13 2008/12/06 08:44:19 mtcampbe
105 ! Updated license.
106 !
107 ! Revision 1.12 2008/11/19 22:17:30 mtcampbe
108 ! Added Illinois Open Source License/Copyright
109 !
110 ! Revision 1.11 2004/09/30 17:06:47 wasistho
111 ! prepared for full FLD radiation model
112 !
113 ! Revision 1.10 2004/09/22 01:30:06 wasistho
114 ! switch LFD to FLD for flux limited diffusion
115 !
116 ! Revision 1.9 2004/09/18 17:40:06 wasistho
117 ! install Limited Flux Diffusion radiation
118 !
119 ! Revision 1.8 2004/09/14 00:51:09 wasistho
120 ! prepared for LimitedFluxDiffusion (LFD)
121 !
122 ! Revision 1.7 2003/08/09 02:20:33 wasistho
123 ! restore version 1.5
124 !
125 ! Revision 1.6 2003/08/08 02:57:54 wasistho
126 ! added Genx buffers
127 !
128 ! Revision 1.5 2003/07/30 22:21:30 wasistho
129 ! enter part and smoke data into radiation
130 !
131 ! Revision 1.4 2003/07/18 01:40:11 wasistho
132 ! removed bcModel from input data structure
133 !
134 ! Revision 1.3 2003/07/17 01:01:13 wasistho
135 ! initial activation rocrad
136 !
137 ! Revision 1.2 2001/12/11 21:59:29 jblazek
138 ! memory allocation added.
139 !
140 ! Revision 1.1.1.1 2001/12/03 21:44:05 jblazek
141 ! Import of RocfluidMP
142 !
143 !******************************************************************************
144 
145 
146 
147 
148 
149