Home
last modified time | relevance | path

Searched refs:cv (Results 1 – 13 of 13) sorted by relevance

/libCEED/examples/fluids/qfunctions/
H A Dstabilization.h79 const CeedScalar cv = gas->cv; in Tau_diagPrim() local
104 Tau_d[2] = Ctau_E / (fact * cv); in Tau_diagPrim()
H A Ddensitycurrent.h98 const CeedScalar cv = gas->cv; in Exact_DC() local
99 const CeedScalar Rd = cp - cv; in Exact_DC()
H A Dnewtonian_state.h49 …ION_HELPER CeedScalar HeatCapacityRatio(NewtonianIdealGasContext gas) { return gas->cp / gas->cv; } in HeatCapacityRatio()
51 …QFUNCTION_HELPER CeedScalar GasConstant(NewtonianIdealGasContext gas) { return gas->cp - gas->cv; } in GasConstant()
61 CeedScalar e_internal = gas->cv * s.Y.temperature; in TotalSpecificEnthalpy()
67 CeedScalar de_internal = gas->cv * ds.Y.temperature; in TotalSpecificEnthalpy_fwd()
77 Y.temperature = e_internal / gas->cv; in StatePrimitiveFromConservative()
93 dY.temperature = de_internal / gas->cv; in StatePrimitiveFromConservative_fwd()
159 CeedScalar e_internal = gas->cv * Y.temperature; in StateConservativeFromPrimitive()
174 CeedScalar e_internal = gas->cv * s.Y.temperature; in StateConservativeFromPrimitive_fwd()
175 CeedScalar de_internal = gas->cv * dY.temperature; in StateConservativeFromPrimitive_fwd()
226 const CeedScalar e_internal = -gas->cv / (GasConstant(gas) * V.S_energy); in StateConservativeFromEntropy()
[all …]
H A Dnewtonian_types.h27 CeedScalar cv; member
H A Deulervortex.h73 const CeedScalar cv = 2.5; in Exact_Euler() local
144 q[4] = rho * (cv * T + (u[0] * u[0] + u[1] * u[1]) / 2.); in Exact_Euler()
159 q[4] = rho * (cv * T + (u[0] * u[0] + u[1] * u[1]) / 2.); in Exact_Euler()
173 q[4] = rho * (cv * T + (u[0] * u[0] + u[1] * u[1]) / 2.); in Exact_Euler()
536 const CeedScalar cv = 2.5; in TravelingVortex_Inflow() local
567 const CeedScalar E_inlet = rho_inlet * (cv * T_inlet + E_kinetic_inlet); in TravelingVortex_Inflow()
H A Dstg_shur14.h347 const CeedScalar cv = stg_ctx->newtonian_ctx.cv; in StgShur14Inflow() local
375 E_internal = rho * cv * theta0; in StgShur14Inflow()
417 const CeedScalar cv = stg_ctx->newtonian_ctx.cv; in StgShur14Inflow_Jacobian() local
442 CeedScalar dE_internal = drho * cv * theta0; in StgShur14Inflow_Jacobian()
H A Dchannel.h121 const CeedScalar e_internal = gas->cv * s_exact.Y.temperature; in Channel_Inflow()
H A Dblasius.h218 CeedScalar dE_internal = drho * gas->cv * S_infty.Y.temperature; in Blasius_Inflow_Jacobian()
H A Dshocktube.h27 CeedScalar cv; member
/libCEED/examples/fluids/problems/
H A Dchannel.c88 CeedScalar cv = newtonian_ig_ctx->cv, cp = newtonian_ig_ctx->cp; in NS_CHANNEL() local
89 CeedScalar Rd = cp - cv; in NS_CHANNEL()
H A Dnewtonian.c117 const CeedScalar P = (HeatCapacityRatio(gas) - 1) * rho * gas->cv * T; in UnitTests_Newtonian()
121 const CeedScalar e_internal = gas->cv * T; in UnitTests_Newtonian()
242 CeedScalar cv = 717.; // J/(kg K) in NS_NEWTONIAN_IG() local
323 PetscCall(PetscOptionsScalar("-cv", "Heat capacity at constant volume", NULL, cv, &cv, NULL)); in NS_NEWTONIAN_IG()
398 cv *= J_per_kg_K; in NS_NEWTONIAN_IG()
417 newtonian_ig_ctx->cv = cv; in NS_NEWTONIAN_IG()
H A Dbc_freestream.c263 const CeedScalar p = (HeatCapacityRatio(gas) - 1) * rho * gas->cv * T; in TestRiemannHLL_fwd()
325 const CeedScalar p = (HeatCapacityRatio(gas) - 1) * rho * gas->cv * T; in TestRiemannHLLC_fwd()
387 const CeedScalar p = (HeatCapacityRatio(gas) - 1) * rho * gas->cv * T; in TestComputeHLLSpeeds_Roe_fwd()
462 const CeedScalar p = (HeatCapacityRatio(gas) - 1) * rho * gas->cv * T; in TestTotalSpecificEnthalpy_fwd()
/libCEED/examples/fluids/
H A DREADME.md577 * - `-cv`