Skip to content

Commit

Permalink
Sync with mirgecom
Browse files Browse the repository at this point in the history
  • Loading branch information
MTCam committed May 13, 2022
1 parent 6affbe9 commit 402541f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions combozzle.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ def main(ctx_factory=cl.create_some_context, use_logmgr=True,
timestepping_on = 1
av_on = 1
sponge_on = 1
health_pres_min = 0.
health_pres_max = 10000000.
init_temperature = 1500.0
init_pressure = 101325.
init_density = 0.23397065362031969

# }}}

Expand Down Expand Up @@ -1088,7 +1093,7 @@ def dummy_post_step(step, t, dt, state):
pre_step_func = my_pre_step
post_step_func = my_post_step

from mirgecom.flux import gradient_flux as gradient_num_flux_central
from mirgecom.flux import num_flux_central
from mirgecom.gas_model import make_operator_fluid_states
from mirgecom.navierstokes import grad_cv_operator

Expand All @@ -1112,7 +1117,7 @@ def cfd_rhs(t, state):
else:
grad_cv = grad_cv_operator(discr, gas_model, boundaries, fluid_state,
time=t,
numerical_flux_func=gradient_num_flux_central,
numerical_flux_func=num_flux_central,
quadrature_tag=quadrature_tag,
operator_states_quad=fluid_operator_states)
fluid_rhs = \
Expand Down

0 comments on commit 402541f

Please sign in to comment.