Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ModInterfacesBcond.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: set explicit interfaces to subroutines and functions
26 ! related to boundary conditions.
27 !
28 ! Description: none
29 !
30 ! Notes: none.
31 !
32 !******************************************************************************
33 !
34 ! $Id: ModInterfacesBcond.F90,v 1.5 2008/12/06 08:44:18 mtcampbe Exp $
35 !
36 ! Copyright: (c) 2001 by the University of Illinois
37 !
38 !******************************************************************************
39 
41 
42  IMPLICIT NONE
43 
44  INTERFACE
45 
46  SUBROUTINE bcondfarfieldperf( machInf,alphaInf,betaInf,pInf,tInf, &
47  sxn,syn,szn,cpgas,mol, &
48  rho,rhou,rhov,rhow,rhoe,press, &
49  rhob,rhoub,rhovb,rhowb,rhoeb,pb )
50  USE moddatatypes
51  REAL(RFREAL) :: machinf, alphainf, betainf, pinf, tinf
52  REAL(RFREAL) :: rho, rhou, rhov, rhow, rhoe, press
53  REAL(RFREAL) :: sxn, syn, szn, cpgas, mol
54  REAL(RFREAL) :: rhob, rhoub, rhovb, rhowb, rhoeb, pb
55  END SUBROUTINE bcondfarfieldperf
56 
57  SUBROUTINE bcondinflowperf( bcOptType,bcOptFixed,ptot,ttot,betah,betav, &
58  mach,sxn,syn,szn,cpgas,mm,rl,rul,rvl,rwl,rr, &
59  rur,rvr,rwr,rer,pr )
60  USE moddatatypes
61  INTEGER, INTENT(IN) :: bcoptfixed,bcopttype
62  REAL(RFREAL), INTENT(IN) :: betah, betav, cpgas, mach, mm, sxn, syn, szn, &
63  ptot, rl, rul, rvl, rwl, ttot
64  REAL(RFREAL), INTENT(OUT) :: rer, rr, rur, rvr, rwr, pr
65  END SUBROUTINE bcondinflowperf
66 
67  SUBROUTINE bcondinflowperf_gl(bcOptType,ro,po,to,Bp,Bt,cvl,cvv,cvg,Rg,Rv,ur, &
68  vr,wr,vfgr,vfvr,vflr,temp,press,nx,ny,nz,rl, &
69  rul,rvl,rwl,rel,rgpgl,rvpvl,pl,rr,rur,rvr, &
70  rwr,rer,rgpgr,rvpvr,pr)
71  USE moddatatypes
72  INTEGER, INTENT(IN) :: bcopttype
73  REAL(RFREAL), INTENT(IN) :: bp,bt,cvg,cvl,cvv,nx,ny,nz,pl,po,press,rel, &
74  rg,rgpgl,rl,ro,rul,rv,rvl,rvpvl,rwl,temp,to, &
75  ur,vfgr,vflr,vfvr,vr,wr
76  REAL(RFREAL), INTENT(OUT):: pr,rer,rgpgr,rr,rur,rvr,rvpvr,rwr
77  END SUBROUTINE bcondinflowperf_gl
78 
79  SUBROUTINE bcondinjectionperf( distrib,minj,tinj,rhoVrel,sxn,syn,szn, &
80  cpgas,mm,p,rhob,rhoub,rhovb,rhowb,rhoeb,pb, &
81  uinj,vinj,winj )
82  USE moddatatypes
83  INTEGER, INTENT(IN) :: distrib
84  REAL(RFREAL), INTENT(IN) :: cpgas, minj, mm, sxn, syn, szn, tinj, &
85  rhovrel(3), p
86  REAL(RFREAL), INTENT(OUT) :: rhob, rhoub, rhovb, rhowb, rhoeb, pb, &
87  uinj, vinj, winj
88  END SUBROUTINE bcondinjectionperf
89 
90  SUBROUTINE bcondoutflowperf( bcOpt,pout,sxn,syn,szn,cpgas,mol, &
91  rho,rhou,rhov,rhow,rhoe,press, &
92  rhob,rhoub,rhovb,rhowb,rhoeb )
93  USE moddatatypes
94  INTEGER :: bcopt
95  REAL(RFREAL), INTENT(IN) :: cpgas,mol,pout,press,rho,rhou, &
96  rhov,rhow,rhoe,sxn,syn,szn
97  REAL(RFREAL), INTENT(OUT) :: rhob,rhoub,rhovb,rhowb,rhoeb
98  END SUBROUTINE bcondoutflowperf
99 
100  SUBROUTINE bcondoutflowperf_gl(bcOpt,ro,Po,To,betaP,betaT,cvl,cvv,cvg,Rg,Rv, &
101  pout,sxn,syn,szn,rho,rhou,rhov,rhow,rhoe, &
102  rhogpg,rhovpv,pin,rhob,rhoub,rhovb,rhowb, &
103  rhoeb,rhogpgb,rhovpvb)
104  USE moddatatypes
105  INTEGER :: bcopt
106  REAL(RFREAL), INTENT(IN) :: betap,betat,cvg,cvl,cvv,pin,po,pout,rg,rho, &
107  rhoe,rhogpg,rhou,rhov,rhovpv,rhow,ro,rv,sxn, &
108  syn,szn,to
109  REAL(RFREAL), INTENT(OUT) :: rhob,rhoeb,rhogpgb,rhoub,rhovb,rhovpvb,rhowb
110  END SUBROUTINE bcondoutflowperf_gl
111 
112  SUBROUTINE updateboundaryconditionsmp( regions, istage )
113  USE moddatastruct, ONLY : t_region
114  TYPE(t_region), POINTER :: regions(:)
115  INTEGER, INTENT(IN) :: istage
116  END SUBROUTINE updateboundaryconditionsmp
117 
118  SUBROUTINE updatetbc( region,t,dt,final )
119  USE moddatatypes
120  USE moddatastruct, ONLY : t_region
121  TYPE(t_region), INTENT(INOUT) :: region
122  REAL(RFREAL), INTENT(IN) :: t, dt
123  LOGICAL, INTENT(IN) :: final
124  END SUBROUTINE updatetbc
125 
126  SUBROUTINE updatetbcpiecewise( global,tbc,t )
127  USE moddatatypes
128  USE modbndpatch, ONLY : t_tbcvalues
129  USE modglobal, ONLY : t_global
130  TYPE(t_global), POINTER :: global
131  TYPE(t_tbcvalues), INTENT(INOUT) :: tbc
132  REAL(RFREAL), INTENT(IN) :: t
133  END SUBROUTINE updatetbcpiecewise
134 
135  SUBROUTINE updatetbcsinusoidal( global,tbc,t )
136  USE moddatatypes
137  USE modbndpatch, ONLY : t_tbcvalues
138  USE modglobal, ONLY : t_global
139  TYPE(t_global), POINTER :: global
140  TYPE(t_tbcvalues), INTENT(INOUT) :: tbc
141  REAL(RFREAL), INTENT(IN) :: t
142  END SUBROUTINE updatetbcsinusoidal
143 
144  SUBROUTINE updatetbcstochastic( region,tbc,dt )
145  USE moddatatypes
146  USE modbndpatch, ONLY : t_tbcvalues
147  USE moddatastruct, ONLY : t_region
148  TYPE(t_region), INTENT(INOUT) :: region
149  TYPE(t_tbcvalues), INTENT(INOUT) :: tbc
150  REAL(RFREAL), INTENT(IN) :: dt
151  END SUBROUTINE updatetbcstochastic
152 
153  SUBROUTINE updatetbcwhitenoise( region,tbc )
154  USE modbndpatch, ONLY : t_tbcvalues
155  USE moddatastruct, ONLY : t_region
156  TYPE(t_region), INTENT(INOUT) :: region
157  TYPE(t_tbcvalues), INTENT(INOUT) :: tbc
158  END SUBROUTINE updatetbcwhitenoise
159 
160  SUBROUTINE zerodummycellsmp( region )
161  USE moddatastruct, ONLY : t_region
162  TYPE(t_region) :: region
163  END SUBROUTINE zerodummycellsmp
164 
165  END INTERFACE
166 
167 END MODULE modinterfacesbcond
168 
169 !******************************************************************************
170 !
171 ! RCS Revision history:
172 !
173 ! $Log: ModInterfacesBcond.F90,v $
174 ! Revision 1.5 2008/12/06 08:44:18 mtcampbe
175 ! Updated license.
176 !
177 ! Revision 1.4 2008/11/19 22:17:29 mtcampbe
178 ! Added Illinois Open Source License/Copyright
179 !
180 ! Revision 1.3 2006/03/26 20:21:52 haselbac
181 ! Added ifs for new routines
182 !
183 ! Revision 1.2 2004/01/29 22:57:24 haselbac
184 ! Changed interface for bcondInflowPerf.F90
185 !
186 ! Revision 1.1 2003/08/11 21:50:00 jblazek
187 ! Splitted ModInterfaces into 4 sections.
188 !
189 !******************************************************************************
190 
191 
192 
193 
194 
195 
subroutine bcondinjectionperf(distrib, minj, tinj, rhoVrel, sxn, syn, szn, cpgas, mm, p, rhob, rhoub, rhovb, rhowb, rhoeb, pb, uinj, vinj, winj)
subroutine bcondfarfieldperf(machInf, alphaInf, betaInf, pInf, tInf, sxn, syn, szn, cpgas, mol, rho, rhou, rhov, rhow, rhoe, press, rhob, rhoub, rhovb, rhowb, rhoeb, pb)
subroutine updatetbcsinusoidal(global, tbc, t)
subroutine bcondoutflowperf(bcOpt, pout, sxn, syn, szn, cpgas, mol, rho, rhou, rhov, rhow, rhoe, press, rhob, rhoub, rhovb, rhowb, rhoeb)
subroutine updateboundaryconditionsmp(regions, istage)
subroutine updatetbcstochastic(region, tbc, dt)
subroutine updatetbc(region, t, dt, final)
Definition: UpdateTbc.F90:43
blockLoc pin(const blockLoc &l) const
Definition: split.cpp:77
subroutine zerodummycellsmp(region)
subroutine bcondinflowperf(bcOptType, bcOptFixed, ptot, ttot, betah, betav, mach, sxn, syn, szn, cpgas, mm, rl, rul, rvl, rwl, rr, rur, rvr, rwr, rer, pr)
subroutine bcondinflowperf_gl(bcOptType, ro, po, to, Bp, Bt, cvl, cvv, cvg, Rg, Rv, ur, vr, wr, vfgr, vfvr, vflr, temp, press, nx, ny, nz, rl, rul, rvl, rwl, rel, rgpgl, rvpvl, pl, rr, rur, rvr, rwr, rer, rgpgr, rvpvr, pr)
subroutine updatetbcpiecewise(global, tbc, t)
subroutine bcondoutflowperf_gl(bcOpt, ro, Po, To, betaP, betaT, cvl, cvv, cvg, Rg, Rv, pout, sxn, syn, szn, rho, rhou, rhov, rhow, rhoe, rhogpg, rhovpv, pin, rhob, rhoub, rhovb, rhowb, rhoeb, rhogpgb, rhovpvb)
subroutine updatetbcwhitenoise(region, tbc)