Skip to content

Commit fe45abb

Browse files
committed
Update only example.
1 parent bd5a050 commit fe45abb

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

examples/00-post_processing/post_processing.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,9 @@
205205
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206206
# Create a temperature contour on the mid-plane and the outlet.
207207

208-
# temperature_contour = Contour(
209-
# solver=solver_session,
210-
# field="temperature",
211-
# surfaces=[surf_mid_plane_x.name, surf_outlet_plane.name],
212-
# )
208+
temperature_contour = Contour(solver=solver_session)
209+
temperature_contour.field = "temperature"
210+
temperature_contour.surfaces = [surf_mid_plane_x.name, surf_outlet_plane.name]
213211
graphics_window.add_graphics(mesh, position=(0, 1))
214212

215213
###############################################################################
@@ -239,7 +237,7 @@
239237

240238
velocity_vector = Vector(
241239
solver=solver_session,
242-
field="velocity",
240+
field="x-velocity",
243241
# color_by="x-velocity",
244242
surfaces=["solid_up:1:830"],
245243
scale=20,

0 commit comments

Comments
 (0)