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)
93 INTEGER,
INTENT(IN) :: bcopttype
94 REAL(RFREAL),
INTENT(IN) :: bp,bt,cvg,cvl,cvv,nx,ny,nz,pl,po,press,rel, &
95 rg,rgpgl,rl,ro,rul,rv,rvl,rvpvl,rwl,temp,to, &
96 ur,vfgr,vflr,vfvr,vr,wr
97 REAL(RFREAL),
INTENT(OUT):: pr,rer,rgpgr,rr,rur,rvr,rvpvr,rwr
104 REAL(RFREAL) :: bg2i,bg2l,bl2i,bl2l,bv2i,bv2l,cg2i,cg2l,cl2i,cl2l,cmi,cmi2, &
105 cml,cv2i,cv2l,cvmi,cvml,el,rgi,rhogl,rhogr,rholl,rholr, &
106 rhovl,rhovr,rli,rlpll,rtcvtr,rti,rvi,tl,tr,ul,vfgi,vfgl, &
107 vfli,vfll,vfvi,vfvl,vl,vml2,vmr2,wl
129 rti = rli*vfli + rvi*vfvi + rgi*vfgi
130 cvmi = (rli*vfli*cvl + rvi*vfvi*cvv + rgi*vfgi*cvg)/rti
131 cmi =
mixtgasliq_c(cvmi,rti,press,rli,rvi,rgi,vfli,vfvi,vfgi,cl2i, &
132 cv2i,cg2i,bl2i,bv2i,bg2i)
134 vmr2 = ur*ur + vr*vr + wr*wr
140 IF ( vmr2 > cmi2 )
THEN
145 rer = rti*cvmi*temp + 0.5_rfreal*rr*vmr2
159 vml2 = ul*ul + vl*vl + wl*wl
160 rlpll = rl - rvpvl - rgpgl
161 cvml = (rlpll*cvl + rvpvl*cvv + rgpgl*cvg)/rl
180 cml =
mixtgasliq_c(cvml,rl,pl,rholl,rhovl,rhogl,vfll,vfvl,vfgl,cl2l, &
181 cv2l,cg2l,bl2l,bv2l,bg2l)
182 pr = pl + (
sqrt(vmr2) -
sqrt(vml2))*rl*cml
188 rr = rholr*vflr + rhovr*vfvr + rhogr*vfgr
189 rtcvtr = rholr*vflr*cvl + rhovr*vfvr*cvv + rhogr*vfgr*cvg
190 rer = rtcvtr*temp + 0.5_rfreal*rr*vmr2
real(rfreal) function mixtperf_d_prt(P, R, T)
real(rfreal) function mixtperf_c2_grt(G, R, T)
real(rfreal) function mixtliq_c2_bp(Bp)
real(rfreal) function mixtliq_d_dobpppobttto(Dz, Bp, Bt, P, Po, T, To)
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)
real(rfreal) function mixtgasliq_c(Cvm, D, P, Dl, Dv, Dg, VFl, VFv, VFg, Cl2, Cv2, Cg2, Bl2, Bv2, Bg2)
real(rfreal) function mixtperf_t_cveovm2(Cv, Eo, Vm2)