63 INTEGER :: inbeg, inend, indcp, indmol
65 REAL(RFREAL),
POINTER :: cv(:,:), gv(:,:), dv(:,:)
71 REAL(RFREAL) :: rgas,rrho,vm2
73 REAL(RFREAL) :: gam1, g1cp
76 REAL(RFREAL) :: eo,gamma,rho
83 rgas = 8314.3_rfreal/gv(gv_mixt_mol,
ic*indmol)
84 gam1 = gv(gv_mixt_cp,
ic*indcp)/(gv(gv_mixt_cp,
ic*indcp)-rgas) - 1._rfreal
85 g1cp = gam1*gv(gv_mixt_cp,
ic*indcp)
86 rrho = 1._rfreal/cv(cv_mixt_dens,
ic)
88 dv(dv_mixt_uvel,
ic) = cv(cv_mixt_xmom,
ic)*rrho
89 dv(dv_mixt_vvel,
ic) = cv(cv_mixt_ymom,
ic)*rrho
90 dv(dv_mixt_wvel,
ic) = cv(cv_mixt_zmom,
ic)*rrho
92 vm2 = dv(dv_mixt_uvel,
ic)*dv(dv_mixt_uvel,
ic) + &
93 dv(dv_mixt_vvel,
ic)*dv(dv_mixt_vvel,
ic) + &
94 dv(dv_mixt_wvel,
ic)*dv(dv_mixt_wvel,
ic)
96 dv(dv_mixt_pres,
ic) = gam1*(cv(cv_mixt_ener,
ic)- &
97 0.5_rfreal*vm2*cv(cv_mixt_dens,
ic))
98 dv(dv_mixt_temp,
ic) = dv(dv_mixt_pres,
ic)*rrho/rgas
99 dv(dv_mixt_soun,
ic) =
sqrt(g1cp*dv(dv_mixt_temp,
ic))
105 rho = cv(cv_mixt_dens,
ic)
106 rrho = 1.0_rfreal/rho
107 eo = cv(cv_mixt_ener,
ic)*rrho
109 vm2 = (cv(cv_mixt_xmom,
ic)*cv(cv_mixt_xmom,
ic) + &
110 cv(cv_mixt_ymom,
ic)*cv(cv_mixt_ymom,
ic) + &
111 cv(cv_mixt_zmom,
ic)*cv(cv_mixt_zmom,
ic))*rrho*rrho
real(rfreal) function mixtperf_p_deogvm2(D, Eo, G, Vm2)
real(rfreal) function mixtperf_r_m(M)
subroutine perfgasdependentvars(inBeg, inEnd, indCp, indMol, cv, gv, dv)
**********************************************************************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
real(rfreal) function mixtperf_t_dpr(D, P, R)
real(rfreal) function mixtperf_c_grt(G, R, T)
real(rfreal) function mixtperf_g_cpr(Cp, R)