Skip to content

Commit

Permalink
Update fluent nozzle example (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoNegri authored Feb 11, 2024
1 parent d3d0c13 commit 9d6a629
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 431 deletions.
1 change: 0 additions & 1 deletion archive_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def archive_examples():
],
"fluent_nozzle": [
"project_setup.py",
"exec_fluent.py",
"solve.jou",
"nozzle.cas",
],
Expand Down
9 changes: 2 additions & 7 deletions doc/source/examples/ex_fluent_nozzle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Fluent nozzle
=============

This example shows how to submit a Fluent nozzle model for solving on HPS.
This example shows how to submit a Fluent nozzle model for solving on Ansys HPC Platform Services.

.. only:: builder_html

Expand All @@ -18,9 +18,4 @@ Here is the ``project_setup.py`` script for this example:
:lines: 23-
:caption: project_setup.py

The example uses an ``exec_fluent.py`` execution script instead of a solver command line.

.. literalinclude:: ../../../examples/fluent_nozzle/exec_fluent.py
:language: python
:lines: 23-
:caption: exec_fluent.py
The example uses an execution script stored server side.
2 changes: 1 addition & 1 deletion examples/fluent_2d_heat_exchanger/project_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def create_project(

if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("-n", "--name", type=str, default="Fluent 2D Heat Exchanger")
parser.add_argument("-n", "--name", type=str, default="Fluent 2D heat exchanger")
parser.add_argument("-es", "--use-exec-script", default=False, type=bool)
parser.add_argument("-U", "--url", default="https://localhost:8443/hps")
parser.add_argument("-u", "--username", default="repuser")
Expand Down
Loading

0 comments on commit 9d6a629

Please sign in to comment.