Home
last modified time | relevance | path

Searched refs:wind (Results 1 – 5 of 5) sorted by relevance

/libCEED/examples/fluids/problems/
H A Dadvection.c145 PetscReal wind[3] = {1., 0, 0}; // m/s in NS_ADVECTION() local
170 …PetscCall(PetscOptionsRealArray("-wind_translation", "Constant wind vector", NULL, wind, &n, &user… in NS_ADVECTION()
200 …if (wind_type == WIND_TRANSLATION && advectionic_type == ADVECTIONIC_BUBBLE_CYLINDER && wind[2] !=… in NS_ADVECTION()
201 wind[2] = 0; in NS_ADVECTION()
230 wind[i] *= (meter / second); in NS_ADVECTION()
240 setup_context->wind[0] = wind[0]; in NS_ADVECTION()
241 setup_context->wind[1] = wind[1]; in NS_ADVECTION()
242 setup_context->wind[2] = problem->dim == 3 ? wind[2] : 0.; in NS_ADVECTION()
298 …comm, " Background Wind : %f,%f\n", setup_ctx->wind[0], setup_ctx->wind[1])); in PRINT_ADVECTION()
301 …omm, " Background Wind : %f,%f,%f\n", setup_ctx->wind[0], setup_ctx->wind[1], in PRINT_ADVECTION()
[all …]
/libCEED/examples/fluids/qfunctions/
H A Dadvection.h78 const CeedScalar *wind = context->wind; in Exact_AdvectionGeneric() local
108 q[1] = wind[0]; in Exact_AdvectionGeneric()
109 q[2] = wind[1]; in Exact_AdvectionGeneric()
110 q[3] = dim == 2 ? 0. : wind[2]; in Exact_AdvectionGeneric()
142 CeedScalar skewed_barrier[3] = {wind[0], wind[1], 0}; in Exact_AdvectionGeneric()
149 …if ((x < boundary_threshold && wind[0] < boundary_threshold) || // outflow at -x bo… in Exact_AdvectionGeneric()
150 …(y < boundary_threshold && wind[1] < boundary_threshold) || // outflow at -y bounda… in Exact_AdvectionGeneric()
151 …(x > context->lx - boundary_threshold && wind[0] > boundary_threshold) || // outflow at +x bounda… in Exact_AdvectionGeneric()
152 …(y > context->ly - boundary_threshold && wind[1] > boundary_threshold) // outflow at +y bounda… in Exact_AdvectionGeneric()
H A Dadvection_types.h57 CeedScalar wind[3]; member
/libCEED/examples/fluids/
H A DREADME.md370 - Constant wind vector when `-wind_type translation`
380 - Total energy of inflow wind when `-wind_type translation`
H A Dindex.md529 …total energy (defined by a characteristic radius $r_c$) is transported by two different wind types.
538 …In this case, a background wind with a constant rectilinear velocity field, enters the domain and …
540 …For the inflow boundary conditions, a prescribed $E_{wind}$ is applied weakly on the inflow bounda…
543 …\cdot \widehat{\bm{n}} \,dS = \int_{\partial \Omega_{inflow}} \bm v \, E_{wind} \, \bm u \cdot \wi…