Home
last modified time | relevance | path

Searched refs:u_normal (Results 1 – 6 of 6) sorted by relevance

/libCEED/examples/fluids/qfunctions/
H A Dchannel.h130 const CeedScalar u_normal = Dot3(norm, s_exact.Y.velocity); in Channel_Inflow() local
134 v[0][i] -= wdetJb * rho_in * u_normal; in Channel_Inflow()
137 …for (CeedInt j = 0; j < 3; j++) v[j + 1][i] -= wdetJb * (rho_in * u_normal * s_exact.Y.velocity[j]… in Channel_Inflow()
140 v[4][i] -= wdetJb * u_normal * (E + P); in Channel_Inflow()
171 const CeedScalar u_normal = Dot3(norm, u); // Normal velocity in Channel_Outflow() local
174 v[0][i] -= wdetJb * rho * u_normal; in Channel_Outflow()
177 for (CeedInt j = 0; j < 3; j++) v[j + 1][i] -= wdetJb * (rho * u_normal * u[j] + norm[j] * P); in Channel_Outflow()
180 v[4][i] -= wdetJb * u_normal * (E + P); in Channel_Outflow()
H A Dblasius.h229 const CeedScalar u_normal = Dot3(norm, s.Y.velocity); in Blasius_Inflow_Jacobian() local
231 v[0][i] = -wdetJb * drho * u_normal; in Blasius_Inflow_Jacobian()
233 v[j + 1][i] = -wdetJb * (drho * u_normal * s.Y.velocity[j] + norm[j] * dP); in Blasius_Inflow_Jacobian()
235 v[4][i] = -wdetJb * u_normal * (dE + dP); in Blasius_Inflow_Jacobian()
H A Dstg_shur14.h386 const CeedScalar u_normal = Dot3(norm, u); in StgShur14Inflow() local
394 v[0][i] -= wdetJb * rho * u_normal; in StgShur14Inflow()
397 for (CeedInt j = 0; j < 3; j++) v[j + 1][i] -= wdetJb * (rho * u_normal * u[j] + norm[j] * P); in StgShur14Inflow()
400 v[4][i] -= wdetJb * u_normal * (E + P); in StgShur14Inflow()
453 const CeedScalar u_normal = Dot3(norm, velocity); in StgShur14Inflow_Jacobian() local
455 v[0][i] = -wdetJb * drho * u_normal; in StgShur14Inflow_Jacobian()
456 …for (int j = 0; j < 3; j++) v[j + 1][i] = -wdetJb * (drho * u_normal * velocity[j] + norm[j] * dP); in StgShur14Inflow_Jacobian()
457 v[4][i] = -wdetJb * u_normal * (dE + dP); in StgShur14Inflow_Jacobian()
H A Dbc_freestream.h198 const CeedScalar u_normal = Dot3(y_ext.velocity, normal); in RiemannOutflow() local
199 …const CeedScalar proj = (1 - outflow->recirc) * Softplus(-u_normal, outflow->softplus_velocity… in RiemannOutflow()
274 const CeedScalar u_normal = Dot3(s_int.Y.velocity, normal); in RiemannOutflow_Jacobian() local
276 …const CeedScalar proj = (1 - outflow->recirc) * Softplus(-u_normal, outflow->softplus_velocit… in RiemannOutflow_Jacobian()
277 …const CeedScalar dproj = (1 - outflow->recirc) * Softplus_fwd(-u_normal, -du_normal, outflow->… in RiemannOutflow_Jacobian()
H A Dadvection.h530 const CeedScalar u_normal = DotN(norm, u, dim); in Advection_InOutFlowGeneric() local
537 if (u_normal > 0) { // outflow in Advection_InOutFlowGeneric()
538 v[4][i] = -(1 - strong_form) * wdetJb * E * u_normal; in Advection_InOutFlowGeneric()
540 v[4][i] = -(1 - strong_form) * wdetJb * E_wind * u_normal; in Advection_InOutFlowGeneric()
H A Deulervortex.h621 … const CeedScalar u_normal = norm[0] * u[0] + norm[1] * u[1] + norm[2] * u[2]; // Normal velocity in Euler_Outflow() local
624 v[0][i] -= wdetJb * rho * u_normal; in Euler_Outflow()
627 for (CeedInt j = 0; j < 3; j++) v[j + 1][i] -= wdetJb * (rho * u_normal * u[j] + norm[j] * P); in Euler_Outflow()
630 v[4][i] -= wdetJb * u_normal * (E + P); in Euler_Outflow()