Home
last modified time | relevance | path

Searched refs:newtonian_ig_ctx (Results 1 – 11 of 11) sorted by relevance

/honee/problems/
H A Dnewtonian.c380 NewtonianIdealGasContext newtonian_ig_ctx; in NS_NEWTONIAN_IG() local
387 PetscCall(PetscNew(&newtonian_ig_ctx)); in NS_NEWTONIAN_IG()
388 *newtonian_ig_ctx = (struct NewtonianIdealGasContext_){ in NS_NEWTONIAN_IG()
417 …calar("-cv", "Heat capacity at constant volume", NULL, newtonian_ig_ctx->gas.cv, &newtonian_ig_ctx in NS_NEWTONIAN_IG()
418 …lar("-cp", "Heat capacity at constant pressure", NULL, newtonian_ig_ctx->gas.cp, &newtonian_ig_ctx in NS_NEWTONIAN_IG()
419 …ar("-lambda", "Stokes hypothesis second viscosity coefficient", NULL, newtonian_ig_ctx->gas.lambda, in NS_NEWTONIAN_IG()
420 &newtonian_ig_ctx->gas.lambda, NULL)); in NS_NEWTONIAN_IG()
421 …ar("-mu", "Shear dynamic viscosity coefficient", NULL, newtonian_ig_ctx->gas.mu, &newtonian_ig_ctx in NS_NEWTONIAN_IG()
422 …PetscOptionsScalar("-k", "Thermal conductivity", NULL, newtonian_ig_ctx->gas.k, &newtonian_ig_ctx-… in NS_NEWTONIAN_IG()
427 …onsRealArray("-gravity", "Gravitational acceleration vector", NULL, newtonian_ig_ctx->g, &dim, &gi… in NS_NEWTONIAN_IG()
[all …]
H A Dchannel.c43 NewtonianIdealGasContext newtonian_ig_ctx; in NS_CHANNEL() local
84 …ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newtonian_ig_ctx)); in NS_CHANNEL()
92 channel_ctx->B = body_force_scale * 2 * umax * newtonian_ig_ctx->gas.mu / (H * H); in NS_CHANNEL()
96 CeedScalar cv = newtonian_ig_ctx->gas.cv, cp = newtonian_ig_ctx->gas.cp; in NS_CHANNEL()
100 PetscCall(PetscArraycpy(newtonian_ig_ctx->g, g, 3)); in NS_CHANNEL()
102 channel_ctx->newt_ctx = *newtonian_ig_ctx; in NS_CHANNEL()
103 …scCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ctx)); in NS_CHANNEL()
H A Dgaussianwave.c20 NewtonianIdealGasContext newtonian_ig_ctx; in NS_GAUSSIAN_WAVE() local
44 …ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newtonian_ig_ctx)); in NS_GAUSSIAN_WAVE()
63 gausswave_ctx->newt_ctx = *newtonian_ig_ctx; in NS_GAUSSIAN_WAVE()
66 …scCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ctx)); in NS_GAUSSIAN_WAVE()
H A Ddensitycurrent.c20 NewtonianIdealGasContext newtonian_ig_ctx; in NS_DENSITY_CURRENT() local
84 …ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newtonian_ig_ctx)); in NS_DENSITY_CURRENT()
85 density_current_ctx->newt_ctx = *newtonian_ig_ctx; in NS_DENSITY_CURRENT()
86 …scCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ctx)); in NS_DENSITY_CURRENT()
H A Dblasius.c138 NewtonianIdealGasContext newtonian_ig_ctx; in NS_BLASIUS() local
184 …ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newtonian_ig_ctx)); in NS_BLASIUS()
190 State S_infty = StateFromPrimitive(newtonian_ig_ctx->gas, Y_inf); in NS_BLASIUS()
199 …if (P0_set) newtonian_ig_ctx->idl_pressure = P_inf; // For maintaining behavior of -P0 flag (whic… in NS_BLASIUS()
200 blasius_ctx->newt_ctx = *newtonian_ig_ctx; in NS_BLASIUS()
212 …scCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ctx)); in NS_BLASIUS()
H A Dbc_outflow.c113 …efinition bc_def, ProblemData problem, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx, in OutflowBCSetup() argument
145 .newt_ctx = *newtonian_ig_ctx, in OutflowBCSetup()
H A Dstg_shur14.c245 NewtonianIdealGasContext newtonian_ig_ctx; in SetupStg() local
290 …ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newtonian_ig_ctx)); in SetupStg()
291 global_stg_ctx->newt_ctx = *newtonian_ig_ctx; in SetupStg()
292 …scCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ctx)); in SetupStg()
H A Dbc_freestream.c111 …efinition bc_def, ProblemData problem, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx, in FreestreamBCSetup() argument
141 State S_infty = StateFromPrimitive(newtonian_ig_ctx->gas, Y_inf); in FreestreamBCSetup()
146 .newt_ctx = *newtonian_ig_ctx, in FreestreamBCSetup()
172 if (run_unit_tests) PetscCall(RiemannSolverUnitTests(newtonian_ig_ctx->gas, 5e-7)); in FreestreamBCSetup()
/honee/src/spanstats/
H A Dcflpe.c91 NewtonianIdealGasContext newtonian_ig_ctx; in CreateStatisticCollectionOperator() local
93 …ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newtonian_ig_ctx)); in CreateStatisticCollectionOperator()
94 collect_ctx->newt_ctx = *newtonian_ig_ctx; in CreateStatisticCollectionOperator()
95 collect_ctx->diffusion_coeff = newtonian_ig_ctx->gas.mu; in CreateStatisticCollectionOperator()
96 …scCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ctx)); in CreateStatisticCollectionOperator()
H A Dturbulence.c22 NewtonianIdealGasContext newtonian_ig_ctx; in CreateStatisticCollectionOperator() local
59 …ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &newtonian_ig_ctx)); in CreateStatisticCollectionOperator()
60 collect_ctx->newt_ctx = *newtonian_ig_ctx; in CreateStatisticCollectionOperator()
72 …scCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &newtonian_ig_ctx)); in CreateStatisticCollectionOperator()
/honee/include/
H A Dnavierstokes.h338 …efinition bc_def, ProblemData problem, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx,
340 …efinition bc_def, ProblemData problem, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx,