-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added sphinx hook and mordern download buttons (#500)
- Loading branch information
Showing
11 changed files
with
192 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
.. _example_fluent_2d_heat_exchanger: | ||
|
||
.. note:: | ||
|
||
Go to the `bottom of this page`_ to download the ZIP file for the Fluent 2D heat exchanger example. | ||
|
||
Fluent 2D heat exchanger | ||
======================== | ||
|
||
This example shows how to submit a simple Fluent solve job to Ansys HPS. The model consists of a 2D heat exchanger. | ||
|
||
.. only:: builder_html | ||
|
||
You can download the :download:`ZIP file <../../../build/fluent_2d_heat_exchanger.zip>` for the Fluent 2D heat | ||
exchanger example and use a tool such as 7-Zip to extract the files. | ||
|
||
Here is the ``project_setup.py`` script for this example: | ||
|
||
.. literalinclude:: ../../../examples/fluent_2d_heat_exchanger/project_setup.py | ||
:language: python | ||
:lines: 23- | ||
:caption: project_setup.py | ||
|
||
Download the ZIP file for the fluent 2D heat exchanger example and use | ||
a tool such as 7-Zip to extract the files. | ||
|
||
.. _bottom of this page: | ||
|
||
.. button-link:: ../_downloads/fluent_2d_heat_exchanger.zip | ||
:color: black | ||
:expand: | ||
|
||
Download ZIP file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,30 @@ | ||
.. _example_fluent_nozzle: | ||
|
||
.. note:: | ||
|
||
Go to the `bottom of this page`_ to download the ZIP file for the Fluent nozzle example. | ||
|
||
Fluent nozzle | ||
============= | ||
|
||
This example shows how to submit a Fluent nozzle model for solving on Ansys HPC Platform Services. | ||
|
||
.. only:: builder_html | ||
|
||
You can download the :download:`ZIP file <../../../build/fluent_nozzle.zip>` for the | ||
Fluent nozzle example and use a tool such as 7-Zip to extract the files. | ||
|
||
Here is the ``project_setup.py`` script for this example: | ||
|
||
|
||
.. literalinclude:: ../../../examples/fluent_nozzle/project_setup.py | ||
:language: python | ||
:lines: 23- | ||
:caption: project_setup.py | ||
|
||
The example uses an execution script stored server side. | ||
The example uses an execution script stored server side. | ||
|
||
Download the ZIP file for the fluent nozzle example and use | ||
a tool such as 7-Zip to extract the files. | ||
|
||
.. _bottom of this page: | ||
|
||
.. button-link:: ../_downloads/fluent_nozzle.zip | ||
:color: black | ||
:expand: | ||
|
||
Download ZIP file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
.. _example_mapdl_motorbike_frame_query: | ||
|
||
.. note:: | ||
|
||
Go to the `bottom of this page`_ to download the ZIP file for the MAPDL motorbike frame example. | ||
|
||
MAPDL motorbike frame: Project query | ||
==================================== | ||
|
||
This example builds upon the :ref:`example_mapdl_motorbike_frame` example. | ||
It shows how to query resources of an existing project and how to download output files. | ||
|
||
.. only:: builder_html | ||
|
||
.. only:: builder_html | ||
|
||
You can download the :download:`ZIP file <../../../build/mapdl_motorbike_frame.zip>` for the MAPDL | ||
motorbike frame example and use a tool such as 7-Zip to extract the files. | ||
|
||
Here is the ``project_setup.py`` file for this project: | ||
|
||
.. literalinclude:: ../../../examples/mapdl_motorbike_frame/project_query.py | ||
:language: python | ||
:lines: 23- | ||
:caption: project_query.py | ||
:caption: project_query.py | ||
|
||
Download the ZIP file for the MAPDL motorbike frame example and use | ||
a tool such as 7-Zip to extract the files. | ||
|
||
.. _bottom of this page: | ||
|
||
.. button-link:: ../_downloads/mapdl_motorbike_frame.zip | ||
:color: black | ||
:expand: | ||
|
||
Download ZIP file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.