Skip to content

Commit 6893e65

Browse files
authored
Corrected few mistakes (#63)
1 parent c284fa6 commit 6893e65

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

doc/source/api/visualization/matplot_windows_manager.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ time step.
3636
monitor1.plot("window-2")
3737
3838
#Create callback which refreshes window-1 and window-2.
39-
def auto_refersh_plot(session_id, event_info):
39+
def auto_refresh_plot(session_id, event_info):
4040
matplot_windows_manager.refresh_windows(session_id, ["window-1", "window-2"])
4141
4242
#Register this callback with server events.
43-
cb_init_id = session.events_manager.register_callback('InitializedEvent', auto_refersh_plot)
44-
cb_data_read_id = session.events_manager.register_callback('DataReadEvent', auto_refersh_plot)
45-
cb_time_step_ended_id = session.events_manager.register_callback('TimestepEndedEvent', auto_refersh_plot)
43+
cb_init_id = session.events_manager.register_callback('InitializedEvent', auto_refresh_plot)
44+
cb_data_read_id = session.events_manager.register_callback('DataReadEvent', auto_refresh_plot)
45+
cb_time_step_ended_id = session.events_manager.register_callback('TimestepEndedEvent', auto_refresh_plot)
4646
4747
4848
.. autoclass:: ansys.fluent.visualization.matplotlib.matplot_windows_manager.MatplotWindowsManager

doc/source/api/visualization/pyvista_windows_manager.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ will create animation.
2929
contour1.display("window-1")
3030
3131
#Create callback which refreshes window-1.
32-
def auto_refersh_contour(session_id, event_info):
32+
def auto_refresh_contour(session_id, event_info):
3333
pyvista_windows_manager.refresh_windows(session_id, ["window-1"])
3434
3535
#Register this callback with server events.
36-
cb_init_id = session.events_manager.register_callback('InitializedEvent', auto_refersh_contour)
37-
cb_data_read_id = session.events_manager.register_callback('DataReadEvent', auto_refersh_contour)
38-
cb_time_step_ended_id = session.events_manager.register_callback('TimestepEndedEvent', auto_refersh_contour)
36+
cb_init_id = session.events_manager.register_callback('InitializedEvent', auto_refresh_contour)
37+
cb_data_read_id = session.events_manager.register_callback('DataReadEvent', auto_refresh_contour)
38+
cb_time_step_ended_id = session.events_manager.register_callback('TimestepEndedEvent', auto_refresh_contour)
3939
4040
#Create animation for window-1
4141
pyvista_windows_manager.animate_windows(session.id, ["window-1"])

examples/00-postprocessing/post_processing_exhaust_manifold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
###############################################################################
3131
# First, download the case and data file and start Fluent as a service with
32-
# Meshing mode, double precision, number of processors: 2
32+
# Solver mode, double precision, number of processors: 2
3333

3434
import_case = examples.download_file(
3535
filename="exhaust_system.cas.h5", directory="pyfluent/exhaust_system"

0 commit comments

Comments
 (0)