57 refvisc,reftemp,suthcoef,cv,dv,gv,tv )
64 INTEGER :: inbeg, inend, indcp, indmol, viscmodel
66 REAL(RFREAL) :: prlam, reftemp, refvisc, suthcoef
67 REAL(RFREAL),
POINTER :: cv(:,:), dv(:,:), gv(:,:), tv(:,:)
73 REAL(RFREAL) :: abstemp, s1, s2, s12, s3, s4, prrl, rat
77 prrl = 1._rfreal/prlam
79 SELECT CASE (viscmodel)
86 s12 = 1._rfreal + s1/s2
89 rat =
sqrt(dv(dv_mixt_temp,
ic)/s2) &
90 * s12/(1._rfreal+s1/dv(dv_mixt_temp,
ic))
92 tv(tv_mixt_muel,
ic) = refvisc*rat
93 tv(tv_mixt_tcol,
ic) = gv(gv_mixt_cp,
ic*indcp)*tv(tv_mixt_muel,
ic)*prrl
100 tv(tv_mixt_muel,
ic) = refvisc
101 tv(tv_mixt_tcol,
ic) = gv(gv_mixt_cp,
ic*indcp)*tv(tv_mixt_muel,
ic)*prrl
110 s4 = 1._rfreal/reftemp *
sqrt(s2/reftemp) *(reftemp+s1)/s3
112 IF ( reftemp <= s2 )
THEN
114 abstemp = abs( dv(dv_mixt_temp,
ic) )
116 IF ( abstemp < s2 )
THEN
117 rat = abstemp/reftemp
119 rat =
sqrt(abstemp/s2) *(abstemp/reftemp) *( s3/(abstemp+s1) )
122 tv(tv_mixt_muel,
ic) = refvisc*rat
123 tv(tv_mixt_tcol,
ic) = gv(gv_mixt_cp,
ic*indcp)*tv(tv_mixt_muel,
ic)*prrl
128 abstemp = abs( dv(dv_mixt_temp,
ic) )
130 IF ( abstemp < s2 )
THEN
133 rat =
sqrt(abstemp/reftemp) *( abstemp/reftemp ) &
134 * ( reftemp+s1 )/( abstemp+s1 )
137 tv(tv_mixt_muel,
ic) = refvisc*rat
138 tv(tv_mixt_tcol,
ic) = gv(gv_mixt_cp,
ic*indcp)*tv(tv_mixt_muel,
ic)*prrl
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com 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 **********************************************************************INTERFACE SUBROUTINE ic
subroutine perfgastransportvars(inBeg, inEnd, indCp, indMol, viscModel, prLam, refVisc, refTemp, suthCoef, cv, dv, gv, tv)