Skip to content

Commit

Permalink
Fixing doc build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Oct 2, 2023
1 parent 9ecc14d commit 942ff03
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/00-mapdl-examples/3d_notch.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
# We use nanmean here because mid-side nodes have no stress
mask = result.mesh.nodes[:, 0] == length
far_field_stress = np.nanmean(von_mises[mask])
print("Far field von mises stress: %e" % far_field_stress)
print("Far field von Mises stress: %e" % far_field_stress)
# Which almost exactly equals the analytical value of 10000000.0 Pa


Expand Down
16 changes: 8 additions & 8 deletions examples/00-mapdl-examples/bracket_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
mapdl.lplot(vtk=True, cpos="xy", show_line_numbering=True)

###############################################################################
# Then use :meth:`mapdl.al() <ansys.mapdl.core.Mapdl.al>`command to create the areas
# Then use :meth:`mapdl.al() <ansys.mapdl.core.Mapdl.al>` command to create the areas
# from the lines.
#

Expand Down Expand Up @@ -358,8 +358,8 @@
#
# .. note::
# Some of these areas are set to parameters to use later in the analysis.
# This allows you to use the lines to create the areas with the
# :meth:`mapdl.asll() <ansys.mapdl.core.Mapdl.asll>` command.
# This allows you to use the lines to create the areas with
# the :meth:`mapdl.asll() <ansys.mapdl.core.Mapdl.asll>` command.

###############################################################################
# Create second pin hole
Expand Down Expand Up @@ -593,8 +593,9 @@

###############################################################################
#
# Once you have the correct line, use the :meth:`mapdl.sf() <ansys.mapdl.core.Mapdl.sf>`
# command to load the line with the varying surface load.
# Once you have the correct line, use
# the :meth:`mapdl.sf() <ansys.mapdl.core.Mapdl.sf>` command
# to load the line with the varying surface load.
#

# Here you load the left side of the lower half of second pin hole.
Expand Down Expand Up @@ -683,9 +684,8 @@
# Plot the von Mises equivalent stress
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# You can also generate stress plots using the
# :meth:`mapdl.plot_principal_nodal_stress() <ansys.mapdl.core.Mapdl.plot_principal_nodal_stress>`
# command.
# You can also generate stress plots using
# the :meth:`mapdl.plot_principal_nodal_stress() <ansys.mapdl.core.Mapdl.plot_principal_nodal_stress>` command.
#

result.plot_principal_nodal_stress(
Expand Down

0 comments on commit 942ff03

Please sign in to comment.