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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ env:
# You should go up in number, if you go down (or repeat a previous value)
# you might end up reusing a previous cache if it haven't been deleted already.
# It applies 7 days retention policy by default.
RESET_PIP_CACHE: 2
RESET_EXAMPLES_CACHE: 2
RESET_DOC_BUILD_CACHE: 2
RESET_AUTOSUMMARY_CACHE: 2
RESET_PIP_CACHE: 3
RESET_EXAMPLES_CACHE: 3
RESET_DOC_BUILD_CACHE: 3
RESET_AUTOSUMMARY_CACHE: 3

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
Binary file not shown.
39 changes: 39 additions & 0 deletions doc/source/examples/extended_examples/dash/dash_example.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.. _dash_example:

Use Dash to build a PyMAPDL web app
===================================

This example shows how to use Dash to build a web app for a simple FEA problem.

Dash is a low-code framework for building data apps which are rendered in a web browser.
For Dash documentation, refer to: https://dash.plotly.com/


Required modules
----------------

For this example, install modules as needed:

* ``dash``
* ``dash_bootstrap_components``
* ``plotly.express``
* ``webbrowser``
* ``pandas``

Structure
---------

* Description page. Read the problem statement
* Simulation Page.
Allow to change the input values, solve the problem and plot the results.
* Data Page :
Allow to plot data in a table and graph


Usage
-----

Download the zip file from the link below and unzip it to a folder.
Run the Python file ``BimetallicStrip.py`` which launches the app in your default browser.

:download:`ANSYS Licensing Guide <dash-vm35.zip>`
3 changes: 3 additions & 0 deletions doc/source/examples/extended_examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ with other programs, libraries, and features in development.
+----------------------------+---------------------------------------------------------------------------------------------------------+
| :ref:`krylov_example` | Demonstrates the usage of the Krylov method for solving a customized harmonic analysis. |
+----------------------------+---------------------------------------------------------------------------------------------------------+
| :ref:`dash_example` | Demonstrates the use of PyMAPDL with Dash. |
+----------------------------+---------------------------------------------------------------------------------------------------------+


.. _Cart-Pole Simulation: https://pyansys.github.io/ml-rl-cartpole/ml-rl-notebook.html
1 change: 1 addition & 0 deletions doc/source/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ The documentation to the exposed examples can be found in the
extended_examples/ex_01-gmsh_example/ex_01-gmsh_example
extended_examples/Python_UPF/python_upf_examples
extended_examples/Krylov/krylov_example
extended_examples/dash/dash_example

.. include:: extended_examples/index.rst
:start-line: 2
Expand Down
4 changes: 2 additions & 2 deletions doc/source/learning/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ Resources
These are versions valid during a year and with limited capabilities
regarding number of nodes, elements, etc.

- View and download `PyMAPDL cheatsheet <pymapdl_cheatsheet_>`_.
- View and download `PyMAPDL cheatsheet <pymapdl_cheatsheet_>`.


Courses
=======
===============

Ansys has prepared high quality courses to guide you through the learning process.

Expand Down