Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
02.burn_ZN_global_data.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 ! *********************************************************************
24 
25  IMPLICIT NONE
26 
27 ! INTEGER, PARAMETER :: idp=SELECTED_REAL_KIND(15,100)
28 !
29 ! ----------------------------------------------------------------------
30 !
31 ! delcare global variables for Rocburn_1D_ZN
32 !
33 ! note that all the global vairables need to be included in
34 ! the derived type G_BUNR_1D
35 !
36 !
37 ! ===================
38 ! D A T A T Y P E S
39 ! ===================
40  INTEGER, PARAMETER :: DBL = SELECTED_REAL_KIND(P=14,R=30)
41 
42 !
43 ! ----------------------------------------
44 ! ROCBURN_ZN global data
45 ! ----------------------------------------
46 
47 
48  TYPE, public :: g_burn_1d
49 
50 !
51 ! MPI related
52 !
53 
54  INTEGER :: MPI_COMM_ROCBURN, rank
55 
56 !
57 ! flags
58 !
59 
60  INTEGER :: Model_combustion
61 
62 !
63 ! propellant thermophysical properties
64 !
65  REAL(DBL) :: Ac, Ec, Qc, alfac, rhoc, C, lamc
66  REAL(DBL) :: Bg, Qg, lamg, MW, R
67  REAL(DBL) :: Ka
68  REAL(DBL) :: Tf_adiabatic, To
69 
70 !
71 ! control variables
72 !
73 
74  REAL(DBL) :: delt_max, xmax, beta, tol_Ts
75  INTEGER :: igrid, itermax
76 
77 !
78 ! variables for grid generation
79 !
80  INTEGER :: nxmax, nx
81  REAL(DBL), POINTER :: x(:), z(:), zx(:), zxx(:)
82  REAL(DBL) :: delz
83 
84 !
85 ! varialbles for Zeldovich-Novozhilov (ZN) approach
86 !
87 
88  REAL(DBL) :: a_p, n_p
89  REAL(DBL) :: a_T, n_T
90 
91 !
92 ! varialbles for ignition modeling
93 !
94 
95  INTEGER :: ign_flag
96  REAL(DBL) :: To_cold
97 
98 !
99 ! ----------------------------------------------------------------------
100 
101  END TYPE g_burn_1d
102 
103  END MODULE m_rocburn_zn_global_data
104 
105 
106 
107 
108 
109