Home
last modified time | relevance | path

Searched refs:gamma (Results 1 – 14 of 14) sorted by relevance

/honee/qfunctions/
H A Dshocktube.h82 const CeedScalar gamma = 1.4; // ratio of specific heats in Exact_ShockTube() local
101 q[4] = P / (gamma - 1.0) + rho * (u[0] * u[0]) / 2.; in Exact_ShockTube()
110 const CeedScalar gamma) { in ConvectiveFluxJacobian_Euler() argument
114 dF[i][j + 1][0] = ((i == j) ? ((gamma - 1.) * (u_sq / 2.)) : 0.) - u[i] * u[j]; in ConvectiveFluxJacobian_Euler()
117 …][k + 1] = ((j == k) ? u[i] : 0.) + ((i == k) ? u[j] : 0.) - ((i == j) ? u[k] : 0.) * (gamma - 1.); in ConvectiveFluxJacobian_Euler()
118 …dF[i][4][k + 1] = ((i == k) ? (E * gamma / rho - (gamma - 1.) * u_sq / 2.) : 0.) - (gamma - 1.… in ConvectiveFluxJacobian_Euler()
120 dF[i][j + 1][4] = ((i == j) ? (gamma - 1.) : 0.); in ConvectiveFluxJacobian_Euler()
122 dF[i][4][0] = u[i] * ((gamma - 1.) * u_sq - E * gamma / rho); in ConvectiveFluxJacobian_Euler()
123 dF[i][4][4] = u[i] * gamma; in ConvectiveFluxJacobian_Euler()
216 const CeedScalar gamma = 1.4; in EulerShockTube() local
[all …]
H A Deulervortex.h66 const CeedScalar gamma = 1.4; in Exact_Euler() local
78 …const CeedScalar delta_T = -(gamma - 1.) * vortex_strength * vortex_strength * exp(1 - r * r) / (… in Exact_Euler()
80 …const CeedScalar S_bubble = (gamma - 1.) * vortex_strength * vortex_strength / (8. * gamma * M_PI … in Exact_Euler()
90 rho = pow(T / S_vortex, 1 / (gamma - 1.)); in Exact_Euler()
100 q[4] = P / (gamma - 1.) + rho * (u[0] * u[0] + u[1] * u[1]) / 2.; in Exact_Euler()
177 const CeedScalar gamma) { in ConvectiveFluxJacobian_Euler() argument
181 dF[i][j + 1][0] = ((i == j) ? ((gamma - 1.) * (u_sq / 2.)) : 0.) - u[i] * u[j]; in ConvectiveFluxJacobian_Euler()
184 …][k + 1] = ((j == k) ? u[i] : 0.) + ((i == k) ? u[j] : 0.) - ((i == j) ? u[k] : 0.) * (gamma - 1.); in ConvectiveFluxJacobian_Euler()
185 …dF[i][4][k + 1] = ((i == k) ? (E * gamma / rho - (gamma - 1.) * u_sq / 2.) : 0.) - (gamma - 1.… in ConvectiveFluxJacobian_Euler()
187 dF[i][j + 1][4] = ((i == j) ? (gamma - 1.) : 0.); in ConvectiveFluxJacobian_Euler()
[all …]
H A Dnewtonian_state.h93 const CeedScalar gamma = HeatCapacityRatio(gas); in StateEntropyFromPrimitive() local
95 const CeedScalar entropy = log(Y.pressure) - gamma * log(rho); in StateEntropyFromPrimitive()
99 V.S_density = (gamma - entropy) / (gamma - 1) - rho_div_p * e_kinetic; in StateEntropyFromPrimitive()
107 const CeedScalar gamma = HeatCapacityRatio(gas); in StateEntropyFromPrimitive_fwd() local
115 CeedScalar dentropy = dY.pressure / s.Y.pressure - gamma * drho / s.U.density; in StateEntropyFromPrimitive_fwd()
117 dV.S_density = -dentropy / (gamma - 1) - de_kinetic * rho_div_p - e_kinetic * drho_div_p; in StateEntropyFromPrimitive_fwd()
127 const CeedScalar gamma = HeatCapacityRatio(gas); in StatePrimitiveFromEntropy() local
129 const CeedScalar entropy = gamma - (gamma - 1) * (V.S_density - e_kinetic * V.S_energy); in StatePrimitiveFromEntropy()
130 const CeedScalar log_P = -(entropy + gamma * log(-V.S_energy)) / (gamma - 1); in StatePrimitiveFromEntropy()
140 const CeedScalar gamma = HeatCapacityRatio(gas); in StatePrimitiveFromEntropy_fwd() local
[all …]
H A Dgaussianwave.h35 const CeedScalar gamma = HeatCapacityRatio(gas); in IC_GaussianWave() local
50 U[4] = S_infty.Y.pressure / (gamma - 1) * perturbation + e_kinetic; in IC_GaussianWave()
H A Driemann_solver.h99 const CeedScalar gamma = HeatCapacityRatio(gas); in ComputeHLLSpeeds_Roe() local
110 CeedScalar a_roe = sqrt((gamma - 1) * (H_roe - 0.5 * Square(u_roe))); in ComputeHLLSpeeds_Roe()
120 const CeedScalar gamma = HeatCapacityRatio(gas); in ComputeHLLSpeeds_Roe_fwd() local
137 CeedScalar a_roe = sqrt((gamma - 1) * (H_roe - 0.5 * Square(u_roe))); in ComputeHLLSpeeds_Roe_fwd()
138 …CeedScalar da_roe = 0.5 * sqrt((gamma - 1) / (H_roe - 0.5 * Square(u_roe))) * dH_roe; // (da/dH) … in ComputeHLLSpeeds_Roe_fwd()
139 …da_roe -= 0.5 * sqrt(gamma - 1) * u_roe / sqrt(H_roe - 0.5 * Square(u_roe)) * du_roe; // (da/du) … in ComputeHLLSpeeds_Roe_fwd()
H A Dchannel.h87 const CeedScalar gamma = HeatCapacityRatio(gas); in Channel_Inflow() local
114 const CeedScalar rho_in = P / ((gamma - 1) * e_internal); in Channel_Inflow()
H A Dstg_shur14.h353 const CeedScalar gamma = HeatCapacityRatio(gas); in StgShur14Inflow() local
384 P = E_internal * (gamma - 1.); in StgShur14Inflow()
424 const CeedScalar gamma = HeatCapacityRatio(gas); in StgShur14Inflow_Jacobian() local
454 dP = dE * (gamma - 1.); in StgShur14Inflow_Jacobian()
H A Dblasius.h187 const CeedScalar gamma = HeatCapacityRatio(gas); in Blasius_Inflow_Jacobian() local
216 dP = dE * (gamma - 1.); in Blasius_Inflow_Jacobian()
/honee/problems/
H A Dblasius.c27 …PetscScalar Ma = Mach(gas, S_infty.Y.temperature, U_infty), Pr = Prandtl(gas), gamma = HeatCapacit… in CompressibleBlasiusResidual() local
56 …_rho_tilde[0] * h[2] + mu_rho_tilde[1] * h[1]) + Pr * f[0] * h[1] + Pr * (gamma - 1) * mu_rho_tild… in CompressibleBlasiusResidual()
H A Dnewtonian.c747 const CeedScalar gamma = HeatCapacityRatio(gas); in UnitTests_Newtonian() local
748 const CeedScalar entropy = log(P) - gamma * log(rho); in UnitTests_Newtonian()
752 …const CeedScalar V0[5] = {(gamma - entropy) / (gamma - 1) - rho_div_p * (e_kinetic), rho_div_… in UnitTests_Newtonian()
/honee/doc/
H A Druntime_options.md479 …py` ($\frac{\gamma - s}{\gamma - 1} - \frac{\rho}{P} (e - c_v T),\ \frac{\rho}{P} \bm{u},\ -\frac{…
H A Dexamples.md14 E &= \frac{p_\infty}{\gamma -1}\left(1+A\exp\left(\frac{-(\bar{x}^2 + \bar{y}^2)}{2\sigma^2}\right)…
432 …)} \, (-\bar{y}, \, \bar{x}) \, , \\ \delta T &= - \frac{(\gamma-1) \, \epsilon^2}{8 \, \gamma \, …
436 There is no perturbation in the entropy $S=P/\rho^\gamma$ ($\delta S=0)$.
H A Dtheory.md26 …pressure and $c_v$ is the specific heat at constant volume (that define $\gamma = c_p / c_v$, the …
324 …\hat{\bm n}_i$ is the velocity component in direction $i$ and $a = \sqrt{\gamma P/\rho}$ is the so…
332 Note that this wave speed is specific to ideal gases as $\gamma$ is an ideal gas parameter; other e…
/honee/
H A DDoxyfile1395 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
1398 # darker. The value divided by 100 is the actual gamma applied, so 80 represents
1399 # a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
1400 # change the gamma.