Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/mapdl-dpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ jobs:
xvfb-run make html
pymapdl stop --all

- name: (DOCS) Adapt the documentation paths
if: needs.is-only-docs-required.outputs.only-docs == 'true' && matrix.ansys-release == env.ANSYS_RELEASE_FOR_DOCS
run: "find . -type f -exec sed -i 's|/__w/pyansys-workflows/pyansys-workflows/doc/source/_static/mapdl-dpf/|./_static/mapdl-dpf/|g' {} + \n #magic___^_^___line\n"

- name: (DOCS) Upload docs artifacts
if: needs.is-only-docs-required.outputs.only-docs == 'true' && matrix.ansys-release == env.ANSYS_RELEASE_FOR_DOCS
uses: actions/upload-artifact@v5
Expand Down
File renamed without changes
2 changes: 2 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import os
import re

import ansys.tools.visualization_interface as viz_interface
from ansys_sphinx_theme import ansys_favicon, pyansys_logo_white
import pyvista as pv
from pyvista.plotting.utilities.sphinx_gallery import DynamicScraper
Expand All @@ -35,6 +36,7 @@
os.environ["PYANSYS_VISUALIZER_DOC_MODE"] = "true"
pv.OFF_SCREEN = True
pv.BUILDING_GALLERY = True
viz_interface.DOCUMENTATION_BUILD = True

# If PyMechanical is installed, enable building gallery
try:
Expand Down
6 changes: 4 additions & 2 deletions mapdl-dpf/wf_mapdl-dpf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@
- Total displacement of -1 mm in the Y-direction at the top surface,
ramped linearly over 10 timesteps

.. image:: ../_static/bvp.png
.. figure:: ../../_static/mapdl-dpf/bvp.png
:width: 500
:alt: Problem Sketch
:align: center

Problem sketch

Modeling notes:
- At each timestep, the global model is solved with the specified boundary
Expand Down