File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
examples/00-post_processing Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 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 ]
213211graphics_window .add_graphics (mesh , position = (0 , 1 ))
214212
215213###############################################################################
239237
240238velocity_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 ,
You can’t perform that action at this time.
0 commit comments