Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MixtPerf_R.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 gas constant.
26 !
27 ! Description: None.
28 !
29 ! Notes: None.
30 !
31 !******************************************************************************
32 !
33 ! $Id: MixtPerf_R.F90,v 1.3 2008/12/06 08:44:09 mtcampbe Exp $
34 !
35 ! Copyright: (c) 2002 by the University of Illinois
36 !
37 !******************************************************************************
38 
39 FUNCTION mixtperf_r_cpg(Cp,G)
40 
41  USE moddatatypes
42 
43  IMPLICIT NONE
44 
45  REAL(RFREAL), INTENT(IN) :: cp,g
46  REAL(RFREAL) :: mixtperf_r_cpg
47 
48  mixtperf_r_cpg = cp - cp/g
49 
50 END FUNCTION mixtperf_r_cpg
51 
52 !------------------------------------------------------------------------------
53 
54 FUNCTION mixtperf_r_m(M)
55 
56  USE moddatatypes
57 
58  IMPLICIT NONE
59 
60  REAL(RFREAL), INTENT(IN) :: m
61  REAL(RFREAL) :: mixtperf_r_m
62 
63  mixtperf_r_m = 8314.3_rfreal/m
64 
65 END FUNCTION mixtperf_r_m
66 
67 !******************************************************************************
68 !
69 ! RCS Revision history:
70 !
71 ! $Log: MixtPerf_R.F90,v $
72 ! Revision 1.3 2008/12/06 08:44:09 mtcampbe
73 ! Updated license.
74 !
75 ! Revision 1.2 2008/11/19 22:17:22 mtcampbe
76 ! Added Illinois Open Source License/Copyright
77 !
78 ! Revision 1.1 2004/12/01 16:49:25 haselbac
79 ! Initial revision after changing case
80 !
81 ! Revision 1.3 2003/03/15 16:20:58 haselbac
82 ! Simplified computation, eliminates diffs for || computations...
83 !
84 ! Revision 1.2 2002/06/05 18:30:50 haselbac
85 ! Added function mixtPerf_R_CpG
86 !
87 ! Revision 1.1 2002/05/04 16:16:52 haselbac
88 ! Initial revision
89 !
90 !******************************************************************************
91 
92 
93 
94 
95 
96 
FT m(int i, int j) const
real(rfreal) function mixtperf_r_m(M)
Definition: MixtPerf_R.F90:54
real(rfreal) function mixtperf_r_cpg(Cp, G)
Definition: MixtPerf_R.F90:39
unsigned char g() const
Definition: Color.h:69