Home
last modified time | relevance | path

Searched refs:wall_dist (Results 1 – 3 of 3) sorted by relevance

/libCEED/examples/fluids/qfunctions/
H A Dstg_shur14.h41 CEED_QFUNCTION_HELPER void InterpolateProfile(const CeedScalar wall_dist, CeedScalar ubar[3], CeedS… in InterpolateProfile() argument
44 const CeedScalar *prof_wd = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in InterpolateProfile()
52 if (wall_dist < prof_wd[i]) { in InterpolateProfile()
59 CeedScalar coeff = (wall_dist - prof_wd[idx - 1]) / (prof_wd[idx] - prof_wd[idx - 1]); in InterpolateProfile()
107 CEED_QFUNCTION_HELPER void SpectrumConstants(const CeedScalar wall_dist, const CeedScalar eps, cons… in SpectrumConstants() argument
110 *ke = wall_dist == 0 ? 1e16 : 2 * M_PI / Min(2 * wall_dist, 3 * lt); in SpectrumConstants()
112 *kcut = M_PI / Min(Max(Max(hNodSep[1], hNodSep[2]), 0.3 * (*hmax)) + 0.1 * wall_dist, *hmax); in SpectrumConstants()
128 CEED_QFUNCTION_HELPER void CalcSpectrum(const CeedScalar wall_dist, const CeedScalar eps, const Cee… in CalcSpectrum() argument
134 SpectrumConstants(wall_dist, eps, lt, h_node_sep, nu, &hmax, &ke, &keta, &kcut); in CalcSpectrum()
199 … const CeedScalar Ektot, const CeedScalar h_node_sep[3], const CeedScalar wall_dist, in StgShur14Calc_PrecompEktot() argument
[all …]
H A Dstg_shur14_type.h39 size_t wall_dist; // !< Distance to wall for Inflow Profie, [nprof] member
/libCEED/examples/fluids/problems/
H A Dstg_shur14.c75 CeedScalar *wall_dist = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in ReadStgInflow() local
86 wall_dist[i] = (CeedScalar)atof(array[0]); in ReadStgInflow()
99 …PetscCheck(wall_dist[i] >= 0, comm, PETSC_ERR_FILE_UNEXPECTED, "Distance to wall in %s cannot be n… in ReadStgInflow()
187 temp_ctx->offsets.wall_dist = temp_ctx->offsets.kappa + nmodes; in GetStgContextData()
188 temp_ctx->offsets.ubar = temp_ctx->offsets.wall_dist + nprofs; in GetStgContextData()
205 CeedScalar *wall_dist = &(*stg_ctx)->data[(*stg_ctx)->offsets.wall_dist]; in GetStgContextData() local
210 le = PetscMin(2 * wall_dist[i], 3 * lt[i]); in GetStgContextData()