Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility update to Y3 #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions isolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@
)

from mirgecom.navierstokes import ns_operator
from mirgecom.artificial_viscosity import \
av_laplacian_operator, smoothness_indicator
from mirgecom.artificial_viscosity import (
av_laplacian_operator, smoothness_indicator,
PrescribedFluidBoundaryAV,
IsothermalWallAV
)
from mirgecom.simutil import (
check_step,
generate_and_distribute_mesh,
Expand All @@ -72,10 +75,7 @@

from mirgecom.fluid import make_conserved
from mirgecom.steppers import advance_state
from mirgecom.boundary import (
PrescribedFluidBoundary,
IsothermalWallBoundary,
)

#from mirgecom.initializers import (Uniform, PlanarDiscontinuity)
from mirgecom.eos import IdealSingleGas
from mirgecom.transport import SimpleTransport
Expand Down Expand Up @@ -1052,9 +1052,9 @@ def _outflow_state_func(dcoll, dd_bdry, gas_model, state_minus, **kwargs):
state_minus.array_context,
_outflow_init, **kwargs)

inflow = PrescribedFluidBoundary(boundary_state_func=_inflow_state_func)
outflow = PrescribedFluidBoundary(boundary_state_func=_outflow_state_func)
wall = IsothermalWallBoundary()
inflow = PrescribedFluidBoundaryAV(boundary_state_func=_inflow_state_func)
outflow = PrescribedFluidBoundaryAV(boundary_state_func=_outflow_state_func)
wall = IsothermalWallAV()

boundaries = {
BoundaryDomainTag("inflow"): inflow,
Expand Down