Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PERI_coCprSlowTermsFlu.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: compute additional terms to NS due to CPR formulations
26 !
27 ! Description: all variables in slow terms are averaged over i,k plane.
28 !
29 ! Input: region = data of current region.
30 !
31 ! Output: region%levels%mixt%rhs = CPR slow terms added to the residual.
32 !
33 ! Notes: This routine contents MPI global SUM which does not account for
34 ! summation over regions in same processor. Therefore nProcAlloc should
35 ! be equal to nRegions.
36 !
37 !******************************************************************************
38 !
39 ! $Id: PERI_coCprSlowTermsFlu.F90,v 1.4 2008/12/06 08:44:37 mtcampbe Exp $
40 !
41 ! Copyright: (c) 2001 by the University of Illinois
42 !
43 !******************************************************************************
44 
45 SUBROUTINE peri_cocprslowterms( region )
46 
47  USE moddatatypes
48  USE moddatastruct, ONLY : t_region
50  USE moderror
51  USE modmpi
52  USE modparameters
54  IMPLICIT NONE
55 
56 ! ... parameters
57  TYPE(t_region) :: region
58 
59 ! ... loop variables
60 
61 ! ... local variables
62  CHARACTER(CHRLEN) :: rcsidentstring
63 
64 !******************************************************************************
65 
66  rcsidentstring = '$RCSfile: PERI_coCprSlowTermsFlu.F90,v $ $Revision: 1.4 $'
67 
68  CALL registerfunction( region%global,'PERI_CoCprSlowTerms',&
69  'PERI_coCprSlowTermsFlu.F90' )
70 
71 ! under construction ----------------------------------------------------------
72 
73  CALL errorstop(region%global,err_peri_input,__line__, &
74  'CPR slow terms routine for Rocflu is not built yet')
75 
76 ! finalize --------------------------------------------------------------------
77 
78  CALL deregisterfunction( region%global )
79 
80 END SUBROUTINE peri_cocprslowterms
81 
82 !******************************************************************************
83 !
84 ! RCS Revision history:
85 !
86 ! $Log: PERI_coCprSlowTermsFlu.F90,v $
87 ! Revision 1.4 2008/12/06 08:44:37 mtcampbe
88 ! Updated license.
89 !
90 ! Revision 1.3 2008/11/19 22:17:49 mtcampbe
91 ! Added Illinois Open Source License/Copyright
92 !
93 ! Revision 1.2 2004/06/17 20:03:40 wasistho
94 ! compiled with RFLU
95 !
96 ! Revision 1.1 2004/06/09 01:10:26 wasistho
97 ! changed nomenclature
98 !
99 !
100 !
101 !******************************************************************************
102 
103 
104 
105 
106 
107 
108 
subroutine peri_cocprslowterms(region)
real(rfreal) function mixtperf_r_m(M)
Definition: MixtPerf_R.F90:54
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine errorstop(global, errorCode, errorLine, addMessage)
Definition: ModError.F90:483
subroutine deregisterfunction(global)
Definition: ModError.F90:469
real(rfreal) function mixtperf_g_cpr(Cp, R)
Definition: MixtPerf_G.F90:39