Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MixtPerf_H.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 enthalpy per unit mass.
26 !
27 ! Description: None.
28 !
29 ! Notes: None.
30 !
31 !******************************************************************************
32 !
33 ! $Id: MixtPerf_H.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_ho_cptuvw(Cp,T,U,V,W)
40 
41  USE moddatatypes
42 
43  IMPLICIT NONE
44 
45  REAL(RFREAL), INTENT(IN) :: cp,t,u,v,w
46  REAL(RFREAL) :: mixtperf_ho_cptuvw
47 
48  mixtperf_ho_cptuvw = cp*t + 0.5_rfreal*(u*u + v*v + w*w)
49 
50 END FUNCTION mixtperf_ho_cptuvw
51 
52 !******************************************************************************
53 !
54 ! RCS Revision history:
55 !
56 ! $Log: MixtPerf_H.F90,v $
57 ! Revision 1.3 2008/12/06 08:44:09 mtcampbe
58 ! Updated license.
59 !
60 ! Revision 1.2 2008/11/19 22:17:22 mtcampbe
61 ! Added Illinois Open Source License/Copyright
62 !
63 ! Revision 1.1 2004/12/01 16:49:04 haselbac
64 ! Initial revision after changing case
65 !
66 ! Revision 1.1 2002/05/04 16:16:52 haselbac
67 ! Initial revision
68 !
69 !******************************************************************************
70 
71 
72 
73 
74 
75 
*********************************************************************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_ho_cptuvw(Cp, T, U, V, W)
Definition: MixtPerf_H.F90:39