Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ModPartEul.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 Eulerian particles.
26 !
27 ! Description: none.
28 !
29 ! Notes: none.
30 !
31 !******************************************************************************
32 !
33 ! $Id: ModPartEul.F90,v 1.12 2008/12/06 08:44:19 mtcampbe Exp $
34 !
35 ! Copyright: (c) 2001 by the University of Illinois
36 !
37 !******************************************************************************
38 
39 MODULE modparteul
40 
41  USE moddatatypes
42  USE modmaterials, ONLY : t_material
43  IMPLICIT NONE
44 
45 ! input -----------------------------------------------------------------------
46 
48  INTEGER :: nPtypes, readStatus
49  REAL(RFREAL) :: smoocf
50  LOGICAL :: constInit ! if allowed to initialize to constant for t > 0
51  TYPE(t_peul_ptype), POINTER :: ptypes(:)
52  END TYPE t_peul_input
53 
54 ! particle type ---------------------------------------------------------------
55 
57 ! input variables
58  TYPE(t_material), POINTER :: material
59  REAL(RFREAL) :: diam,puff,initc
60  REAL(RFREAL) :: Sc,vis2,vis4
61  INTEGER :: negReport,clipModel,methodV
62 ! derived variables
63  REAL(RFREAL) :: denseff,voleff,volmat,tauVcoef,maxConc
64  END TYPE t_peul_ptype
65 
66 ! data ------------------------------------------------------------------------
67 
68  TYPE t_peul
69  INTEGER :: nCv1, nDv1, nTv1 ! number of variables per particle type
70  INTEGER :: nCv, nDv, nTv ! total number of variables
71  INTEGER :: nRequests
72 
73  INTEGER, POINTER :: requests(:)
74  REAL(RFREAL), POINTER :: cv(:,:), cvOld(:,:), dv(:,:), tv(:,:)
75  REAL(RFREAL), POINTER :: rhs(:,:), rhsSum(:,:), diss(:,:), fterm(:,:)
76 
77 #ifdef RFLO
78  REAL(RFREAL), POINTER :: srad(:,:), epsIrs(:,:)
79 #endif
80  END TYPE t_peul
81 
82 ! communication data structure -------------------------------------------------
83 
85  INTEGER :: iRequest, nRecvBuff, nSendBuff
86  REAL(RFREAL), POINTER, DIMENSION(:) :: recvBuff, sendBuff
87  END TYPE t_buffer_peul
88 
89 END MODULE modparteul
90 
91 !******************************************************************************
92 !
93 ! RCS Revision history:
94 !
95 ! $Log: ModPartEul.F90,v $
96 ! Revision 1.12 2008/12/06 08:44:19 mtcampbe
97 ! Updated license.
98 !
99 ! Revision 1.11 2008/11/19 22:17:30 mtcampbe
100 ! Added Illinois Open Source License/Copyright
101 !
102 ! Revision 1.10 2004/05/03 15:09:41 jferry
103 ! added equilibrium Eulerian capability for smoke
104 !
105 ! Revision 1.9 2004/03/05 22:09:01 jferry
106 ! created global variables for peul, plag, and inrt use
107 !
108 ! Revision 1.8 2004/03/02 21:44:51 jferry
109 ! Added clipping options
110 !
111 ! Revision 1.7 2003/04/14 16:33:52 jferry
112 ! added option to initialize to constant for t > 0
113 !
114 ! Revision 1.6 2003/04/09 14:08:13 fnajjar
115 ! Added datastructure for MPI communication
116 !
117 ! Revision 1.5 2003/04/07 18:25:52 jferry
118 ! added initial concentration for smoke to data structure
119 !
120 ! Revision 1.4 2003/03/11 16:01:23 jferry
121 ! Created data type for material properties
122 !
123 ! Revision 1.3 2003/02/11 22:52:50 jferry
124 ! Initial import of Rocsmoke
125 !
126 ! Revision 1.2 2001/12/11 21:59:29 jblazek
127 ! memory allocation added.
128 !
129 ! Revision 1.1.1.1 2001/12/03 21:44:05 jblazek
130 ! Import of RocfluidMP
131 !
132 !******************************************************************************
133 
134 
135 
136 
137 
138