Home
last modified time | relevance | path

Searched full:pressure (Results 1 – 25 of 36) sorted by relevance

12

/libCEED/examples/fluids/qfunctions/
H A Dnewtonian_state.h38 Y[0] = s.pressure; in UnpackState_Y()
62 return e_internal + e_kinetic + s.Y.pressure / s.U.density; in TotalSpecificEnthalpy()
68 …return de_internal + de_kinetic + ds.Y.pressure / s.U.density - s.Y.pressure / Square(s.U.density)… in TotalSpecificEnthalpy_fwd()
78 Y.pressure = (HeatCapacityRatio(gas) - 1) * U.density * e_internal; in StatePrimitiveFromConservative()
94 …dY.pressure = (HeatCapacityRatio(gas) - 1) * (dU.density * e_internal + s.U.density * d… in StatePrimitiveFromConservative_fwd()
101 const CeedScalar rho = Y.pressure / (GasConstant(gas) * Y.temperature); in StateEntropyFromPrimitive()
102 const CeedScalar entropy = log(Y.pressure) - gamma * log(rho); in StateEntropyFromPrimitive()
103 const CeedScalar rho_div_p = rho / Y.pressure; in StateEntropyFromPrimitive()
115 …CeedScalar drho = (dY.pressure * s.Y.temperature - s.Y.pressure * dY.temperature) / (GasCon… in StateEntropyFromPrimitive_fwd()
119 const CeedScalar rho_div_p = s.U.density / s.Y.pressure; in StateEntropyFromPrimitive_fwd()
[all …]
H A Driemann_solver.h232 + (s_star - u_side) * (s_star + side.Y.pressure / denom) in RiemannFlux_HLLC_Star()
255 + (s_star - u_side) * (s_star + side.Y.pressure / denom) in RiemannFlux_HLLC_Star_fwd()
265 + (ds_star - du_side) * (s_star + side.Y.pressure / denom) // in RiemannFlux_HLLC_Star_fwd()
266 …+ (s_star - u_side) * (ds_star + dside.Y.pressure / denom - side.Y.pressure / Square(denom) * dden… in RiemannFlux_HLLC_Star_fwd()
286 …CeedScalar numer = right.Y.pressure - left.Y.pressure + rhou_left * (s_left - u_left) - rhou_righ… in RiemannFlux_HLLC()
320 CeedScalar numer = right.Y.pressure - left.Y.pressure // in RiemannFlux_HLLC_fwd()
323 CeedScalar dnumer = dright.Y.pressure - dleft.Y.pressure // in RiemannFlux_HLLC_fwd()
H A Dbc_freestream.h169 // Viscous Outflow boundary condition, setting a constant exterior pressure and
196 y_ext.pressure = outflow->pressure; in RiemannOutflow()
243 // Jacobian for Riemann pressure/temperature outflow boundary condition
270 y_ext.pressure = outflow->pressure; in RiemannOutflow_Jacobian()
272 dy_ext.pressure = 0; in RiemannOutflow_Jacobian()
319 // Outflow boundary condition, weakly setting a constant pressure. This is the
339 s.Y.pressure = outflow->pressure; in PressureOutflow()
384 // Jacobian for weak-pressure outflow boundary condition
410 s.Y.pressure = outflow->pressure; in PressureOutflow_Jacobian()
411 ds.Y.pressure = 0.; in PressureOutflow_Jacobian()
H A Dturb_spanstats.h29 v[TURB_MEAN_PRESSURE][i] = wdetJ * s.Y.pressure; in ChildStatsCollection()
30 v[TURB_MEAN_PRESSURE_SQUARED][i] = wdetJ * Square(s.Y.pressure); in ChildStatsCollection()
31 v[TURB_MEAN_PRESSURE_VELOCITY_X][i] = wdetJ * s.Y.pressure * s.Y.velocity[0]; in ChildStatsCollection()
32 v[TURB_MEAN_PRESSURE_VELOCITY_Y][i] = wdetJ * s.Y.pressure * s.Y.velocity[1]; in ChildStatsCollection()
33 v[TURB_MEAN_PRESSURE_VELOCITY_Z][i] = wdetJ * s.Y.pressure * s.Y.velocity[2]; in ChildStatsCollection()
H A Ddensitycurrent.h38 // These initial conditions are given in terms of potential temperature and Exner pressure and then…
49 // Exner Pressure:
71 // P0 , Pressure at the surface
74 // cp , Specific heat, constant pressure
117 // -- Exner pressure, hydrostatic balance in Exact_DC()
H A Dtaylorgreen.h27 const CeedScalar density0 = reference.pressure / (reference.temperature * R); in ICsTaylorGreen()
34 …Y[0] = reference.pressure + (density0 * Square(V0) / 16) * (cos(2 * x[0]) + cos(2 * x[1])) * (cos(… in ICsTaylorGreen()
H A Dbc_slip.h33 …const CeedScalar Y_reflect[5] = {s.Y.pressure, vel_reflect[0], vel_reflect[1], vel_reflect[2], s.Y… in Slip()
86 …const CeedScalar Y_reflect[5] = {s.Y.pressure, vel_reflect[0], vel_reflect[1], vel_reflect[2], s.Y… in Slip_Jacobian()
92 …const CeedScalar dY_reflect[5] = {ds.Y.pressure, dvel_reflect[0], dvel_reflect[1], dvel_reflect[2]… in Slip_Jacobian()
H A Dchannel.h24 CeedScalar P0; // !< Reference Pressure
114 // Find pressure using state inside the domain in Channel_Inflow()
118 const CeedScalar P = s_inside.Y.pressure; in Channel_Inflow()
170 const CeedScalar P = context->P0; // pressure in Channel_Outflow()
H A Dbc_freestream_type.h23 CeedScalar pressure; member
H A Dshocktube.h55 // Pressure:
67 // cp , Specific heat, constant pressure
81 const CeedScalar P_high = context->P_high; // Driver section pressure in Exact_ShockTube()
83 const CeedScalar P_low = context->P_low; // Driven section pressure in Exact_ShockTube()
217 // cp , Specific heat, constant pressure
269 P = E_internal * (gamma - 1); // P = pressure in EulerShockTube()
H A Dnewtonian_types.h50 CeedScalar pressure; member
H A Deulervortex.h41 // Pressure:
53 // cp , Specific heat, constant pressure
132 …case 3: // Velocity zero, pressure constant (so density and internal energy will be non-constant)… in Exact_Euler()
146 …case 4: // Constant nonzero velocity, pressure constant (so density and internal energy will be n… in Exact_Euler()
265 // cp , Specific heat, constant pressure
310 // Pressure in Euler()
312 P = E_internal * (gamma - 1.); // P = pressure in Euler()
434 P = E_internal * (gamma - 1.); // P = pressure in IFunction_Euler()
620 const CeedScalar P = (E - E_kinetic * rho) * (gamma - 1.); // pressure in Euler_Outflow()
H A Dstg_shur14_type.h26 CeedScalar P0; // !< Inlet pressure
H A Dgaussianwave.h56 U[4] = S_infty.Y.pressure / (gamma - 1) * perturbation + e_kinetic; in IC_GaussianWave()
/libCEED/examples/fluids/problems/
H A Dbc_freestream.c38 …StatePrimitive Y_inf = {.pressure = reference->pressure / Pascal, .velocity = {0}, .temperature = … in FreestreamBCSetup()
44 …cOptionsScalar("-freestream_pressure", "Pressure at freestream condition", NULL, Y_inf.pressure, &… in FreestreamBCSetup()
101 Y_inf.pressure *= Pascal; in FreestreamBCSetup()
127 static const char *const OutflowTypes[] = {"RIEMANN", "PRESSURE", "OutflowType", "OUTFLOW_", NULL};
143 CeedScalar pressure = reference->pressure / Pascal; in OutflowBCSetup() local
149 …scCall(PetscOptionsScalar("-outflow_pressure", "Pressure at outflow condition", NULL, pressure, &p… in OutflowBCSetup()
158 pressure *= Pascal; in OutflowBCSetup()
211 outflow_ctx->pressure = pressure; in OutflowBCSetup()
H A Dnewtonian.c259 StatePrimitive reference = {.pressure = 1.01e5, .velocity = {0}, .temperature = 288.15}; in NS_NEWTONIAN_IG()
260 …edScalar idl_decay_time = -1, idl_start = 0, idl_length = 0, idl_pressure = reference.pressure; in NS_NEWTONIAN_IG()
324 PetscCall(PetscOptionsScalar("-cp", "Heat capacity at constant pressure", NULL, cp, &cp, NULL)); in NS_NEWTONIAN_IG()
345 …calar("-reference_pressure", "Reference/initial pressure", NULL, reference.pressure, &reference.pr… in NS_NEWTONIAN_IG()
363 …PetscCall(PetscOptionsScalar("-idl_decay_time", "Characteristic timescale of the pressure deviance… in NS_NEWTONIAN_IG()
369 idl_pressure = reference.pressure; in NS_NEWTONIAN_IG()
370 …PetscCall(PetscOptionsScalar("-idl_pressure", "Pressure IDL uses as reference (default is `-refere… in NS_NEWTONIAN_IG()
404 reference.pressure *= Pascal; in NS_NEWTONIAN_IG()
H A Dblasius.c50 // For an ideal gas at constant pressure, density is inversely proportional to enthalpy. in CompressibleBlasiusResidual()
281 …"Use -pressure_infinity to set pressure at boundary layer edge and -idl_pressure to set the IDL re… in NS_BLASIUS()
282 …PetscCall(PetscOptionsScalar("-pressure_infinity", "Pressure at boundary layer edge", NULL, P_inf,… in NS_BLASIUS()
326 .pressure = P_inf, .velocity = {U_inf, 0, 0}, in NS_BLASIUS()
359 PetscCall(SetupStg(comm, dm, problem, user, weakT, S_infty.Y.temperature, S_infty.Y.pressure)); in NS_BLASIUS()
/libCEED/examples/fluids/
H A DREADME.md267 The simpler `bc_outflow` variant, `outflow_type: pressure`, requires that the flow be a strict outf…
269 The `pressure` variant is retained to facilitate comparison with other codes, such as PHASTA-C, but…
583 - Heat capacity at constant pressure
618 - Characteristic timescale of the pressure deviance decay. The timestep is good starting point
633 - Pressure used for IDL reference pressure
701 - Freestream pressure
755 - Freestream pressure
824 - Atmospheric pressure
863 - Atmospheric pressure
907 - Atmospheric pressure, also sets IDL reference pressure
H A Dvortexshedding.yaml21 # This choice of pressure and temperature have a density of 1 and acoustic speed
24 pressure: 7143
H A Dgaussianwave.yaml13 pressure: 71.75
H A Dindex.md28 …rmal conductivity constant, $T$ represents the temperature, and $P$ the pressure, given by the fol…
34 where $c_p$ is the specific heat at constant pressure and $c_v$ is the specific heat at constant vo…
619 …ts it evolve in time. The initial condition contains a Gaussian perturbation in the pressure field:
633 …freestream_riemann hllc`, which is default), which is a linear constant-pressure wave that transpo…
639 The domain is filled with an ideal gas at rest (zero velocity) with temperature 24.92 and pressure
664 Its initial condition is defined in terms of the Exner pressure, $\pi(\bm{x},t)$, and potential tem…
670 where $P_0$ is the atmospheric pressure.
697 pressure is used for pressure in the inviscid flux terms (all other inviscid
877 The damping is defined in terms of a pressure-primitive anomaly $\bm Y'$ converted to conservative …
924 The reference state is selected using the `-reference_{velocity,pressure,temperature}` flags (Eucli…
/libCEED/examples/nek/boxes/
H A Db1e.rea97 0.00000 p093 Number of previous pressure solns saved
99 0.00000 p095 start projecting pressure after p95 step
187 T PRESSURE
/libCEED/examples/fluids/tests-output/
H A Dblasius_test.yaml28 outflow_type: pressure
H A Dblasius_stgtest.yaml27 outflow_type: pressure # simpler, but worse than default "riemann"
H A Dstats_test.yaml31 outflow_type: pressure # simpler, but worse than default "riemann"

12