Skip to content

Commit

Permalink
Example updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajain-work committed Jul 3, 2022
1 parent f9a7ff8 commit 64e1227
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions examples/00-postprocessing/post_processing_exhaust_manifold.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,33 @@
mesh1.show_edges = False
mesh1.display("window-2")

###############################################################################
# Create plane-surface XY plane

surf_xy_plane = graphics.Surfaces["xy-plane"]
surf_xy_plane.definition.type = "plane-surface"
plane_surface_xy = surf_xy_plane.definition.plane_surface
plane_surface_xy.z = -0.0441921
plane_surface_xy.display("window-3")

###############################################################################
# Create plane-surface YZ plane

surf_yz_plane = graphics.Surfaces["yz-plane"]
surf_yz_plane.definition.type = "plane-surface"
plane_surface_yz = surf_yz_plane.definition.plane_surface
plane_surface_yz.x = -0.174628
plane_surface_yz.display("window-4")

###############################################################################
# Create plane-surface ZX plane

surf_zx_plane = graphics.Surfaces["zx-plane"]
surf_zx_plane.definition.type = "plane-surface"
plane_surface_zx = surf_zx_plane.definition.plane_surface
plane_surface_zx.y = -0.0627297
plane_surface_zx.display("window-5")

###############################################################################
# Create iso-surface on the outlet plane

Expand Down

0 comments on commit 64e1227

Please sign in to comment.