Home
last modified time | relevance | path

Searched refs:P0 (Results 1 – 12 of 12) sorted by relevance

/libCEED/examples/fluids/problems/
H A Dchannel.c46 CeedScalar P0 = 1.e5; // Pa in NS_CHANNEL() local
51 PetscCall(PetscOptionsScalar("-P0", "Pressure at outflow", NULL, P0, &P0, NULL)); in NS_CHANNEL()
61 P0 *= Pascal; in NS_CHANNEL()
81 channel_ctx->P0 = P0; in NS_CHANNEL()
90 CeedScalar rho = P0 / (Rd * theta0); in NS_CHANNEL()
H A Ddensitycurrent.c41 CeedScalar P0 = 1.e5; // Pa in NS_DENSITY_CURRENT() local
55 PetscCall(PetscOptionsScalar("-P0", "Atmospheric pressure", NULL, P0, &P0, NULL)); in NS_DENSITY_CURRENT()
82 P0 *= Pascal; in NS_DENSITY_CURRENT()
88 dc_ctx->P0 = P0; in NS_DENSITY_CURRENT()
H A Dstg_shur14.h15 const CeedScalar P0);
H A Dstg_shur14.c221 const CeedScalar P0) { in SetupStg() argument
255 global_stg_ctx->P0 = P0; in SetupStg()
/libCEED/examples/fluids/qfunctions/
H A Ddensitycurrent.h27 CeedScalar P0; member
91 const CeedScalar P0 = context->P0; in Exact_DC() local
122 Y[0] = P0 * pow(Pi, cp / Rd); in Exact_DC()
H A Dchannel.h24 CeedScalar P0; // !< Reference Pressure member
35 const CeedScalar P0 = context->P0; in Exact_Channel() local
54 Y[0] = P0; in Exact_Channel()
170 const CeedScalar P = context->P0; // pressure in Channel_Outflow()
H A Dstg_shur14.h244 const CeedScalar P0 = stg_ctx->P0; in StgShur14Preprocess() local
246 const CeedScalar rho = P0 / (Rd * theta0); in StgShur14Preprocess()
292 const CeedScalar P0 = stg_ctx->P0; in ICsStg() local
293 const CeedScalar rho = P0 / (GasConstant(gas) * theta0); in ICsStg()
313 CeedScalar Y[5] = {P0, u[0], u[1], u[2], theta0}, q[5] = {0.}; in ICsStg()
346 const CeedScalar P0 = stg_ctx->P0; in StgShur14Inflow() local
352 const CeedScalar rho = prescribe_T ? q[0][i] : P0 / (Rd * theta0); in StgShur14Inflow()
482 const CeedScalar P0 = stg_ctx->P0; in StgShur14InflowStrongQF() local
483 const CeedScalar rho = P0 / (GasConstant(gas) * theta0); in StgShur14InflowStrongQF()
511 CeedScalar Y[5] = {P0, u[0], u[1], u[2], theta0}, q[5] = {0.}; in StgShur14InflowStrongQF()
H A Dstg_shur14_type.h26 CeedScalar P0; // !< Inlet pressure member
H A Dnewtonian.h160 const CeedScalar P0 = context->idl_pressure; in RHSFunction_Newtonian() local
194 CeedScalar damp_state[5] = {s.Y.pressure - P0, 0, 0, 0, 0}, idl_residual[5] = {0.}; in RHSFunction_Newtonian()
231 const CeedScalar P0 = context->idl_pressure; in IFunction_Newtonian() local
274 CeedScalar damp_state[5] = {s.Y.pressure - P0, 0, 0, 0, 0}, idl_residual[5] = {0.}; in IFunction_Newtonian()
H A Dshocktube.h25 CeedScalar P0; member
/libCEED/interface/
H A Dceed-basis.c2504 CeedScalar P0, P1, P2, dP2, xi, wi, PI = 4.0 * atan(1.0); in CeedGaussQuadrature() local
2511 P0 = 1.0; in CeedGaussQuadrature()
2515 P2 = (((CeedScalar)(2 * j - 1)) * xi * P1 - ((CeedScalar)(j - 1)) * P0) / ((CeedScalar)(j)); in CeedGaussQuadrature()
2516 P0 = P1; in CeedGaussQuadrature()
2520 dP2 = (xi * P2 - P0) * (CeedScalar)Q / (xi * xi - 1.0); in CeedGaussQuadrature()
2524 P0 = 1.0; in CeedGaussQuadrature()
2527 P2 = (((CeedScalar)(2 * j - 1)) * xi * P1 - ((CeedScalar)(j - 1)) * P0) / ((CeedScalar)(j)); in CeedGaussQuadrature()
2528 P0 = P1; in CeedGaussQuadrature()
2531 dP2 = (xi * P2 - P0) * (CeedScalar)Q / (xi * xi - 1.0); in CeedGaussQuadrature()
2556 CeedScalar P0, P1, P2, dP2, d2P2, xi, wi, PI = 4.0 * atan(1.0); in CeedLobattoQuadrature() local
[all …]
/libCEED/examples/fluids/
H A DREADME.md823 * - `-P0`
862 * - `-P0`