Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MixtPerf_E.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: Collect relations for static and total internal energy per unit
26 ! mass.
27 !
28 ! Description: None.
29 !
30 ! Notes: None.
31 !
32 !******************************************************************************
33 !
34 ! $Id: MixtPerf_E.F90,v 1.3 2008/12/06 08:44:09 mtcampbe Exp $
35 !
36 ! Copyright: (c) 2002-2004 by the University of Illinois
37 !
38 !******************************************************************************
39 
40 FUNCTION mixtperf_eo_dgpuvw(D,G,P,U,V,W)
41 
42  USE moddatatypes
43 
44  IMPLICIT NONE
45 
46  REAL(RFREAL), INTENT(IN) :: d,g,p,u,v,w
47  REAL(RFREAL) :: mixtperf_eo_dgpuvw
48 
49  mixtperf_eo_dgpuvw = p/(d*(g - 1.0_rfreal)) + 0.5_rfreal*(u*u + v*v + w*w)
50 
51 END FUNCTION mixtperf_eo_dgpuvw
52 
53 ! -----------------------------------------------------------------------------
54 
55 FUNCTION mixtperf_eo_dgpvm(D,G,P,Vm)
56 
57  USE moddatatypes
58 
59  IMPLICIT NONE
60 
61  REAL(RFREAL), INTENT(IN) :: d,g,p,vm
62  REAL(RFREAL) :: mixtperf_eo_dgpvm
63 
64  mixtperf_eo_dgpvm = p/(d*(g - 1.0_rfreal)) + 0.5_rfreal*vm*vm
65 
66 END FUNCTION mixtperf_eo_dgpvm
67 
68 ! -----------------------------------------------------------------------------
69 
70 FUNCTION mixtperf_eo_grtuvw(G,R,T,U,V,W)
71 
72  USE moddatatypes
73 
74  IMPLICIT NONE
75 
76  REAL(RFREAL), INTENT(IN) :: g,r,t,u,v,w
77  REAL(RFREAL) :: mixtperf_eo_grtuvw
78 
79  mixtperf_eo_grtuvw = r*t/(g - 1.0_rfreal) + 0.5_rfreal*(u*u + v*v + w*w)
80 
81 END FUNCTION mixtperf_eo_grtuvw
82 
83 !******************************************************************************
84 !
85 ! RCS Revision history:
86 !
87 ! $Log: MixtPerf_E.F90,v $
88 ! Revision 1.3 2008/12/06 08:44:09 mtcampbe
89 ! Updated license.
90 !
91 ! Revision 1.2 2008/11/19 22:17:22 mtcampbe
92 ! Added Illinois Open Source License/Copyright
93 !
94 ! Revision 1.1 2004/12/01 16:48:54 haselbac
95 ! Initial revision after changing case
96 !
97 ! Revision 1.2 2004/04/01 21:26:20 haselbac
98 ! Added MixtPerf_E_GRTUVW
99 !
100 ! Revision 1.1 2002/05/04 16:16:52 haselbac
101 ! Initial revision
102 !
103 !******************************************************************************
104 
105 
106 
107 
108 
109 
real(rfreal) function mixtperf_eo_dgpvm(D, G, P, Vm)
Definition: MixtPerf_E.F90:55
unsigned char r() const
Definition: Color.h:68
const NT & d
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
Definition: roccomf90.h:20
real(rfreal) function mixtperf_eo_dgpuvw(D, G, P, U, V, W)
Definition: MixtPerf_E.F90:40
real(rfreal) function mixtperf_eo_grtuvw(G, R, T, U, V, W)
Definition: MixtPerf_E.F90:70
unsigned char g() const
Definition: Color.h:69