Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MixtGasLiq_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 mixture energy for gas-liquid model.
26 !
27 ! Description: None.
28 !
29 ! Notes: None.
30 !
31 ! ******************************************************************************
32 !
33 ! $Id: MixtGasLiq_E.F90,v 1.3 2008/12/06 08:44:09 mtcampbe Exp $
34 !
35 ! Copyright: (c) 2006 by the University of Illinois
36 !
37 ! ******************************************************************************
38 
39 FUNCTION mixtgasliq_eo_cvmtvm2(Cvm,T,Vm2)
40 
41  USE moddatatypes
42 
43  IMPLICIT NONE
44 
45  REAL(RFREAL), INTENT(IN) :: cvm,t,vm2
46  REAL(RFREAL) :: mixtgasliq_eo_cvmtvm2
47 
48  mixtgasliq_eo_cvmtvm2 = cvm*t + 0.5_rfreal*vm2
49 
50 END FUNCTION mixtgasliq_eo_cvmtvm2
51 
52 ! ******************************************************************************
53 !
54 ! RCS Revision history:
55 !
56 ! $Log: MixtGasLiq_E.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 2006/03/26 20:20:48 haselbac
64 ! Initial revision
65 !
66 ! ******************************************************************************
67 
68 
69 
70 
71 
72 
real(rfreal) function mixtgasliq_eo_cvmtvm2(Cvm, T, Vm2)