ansys-fluent-core 0.14.dev1__py3-none-any.whl → 0.14.dev2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ansys-fluent-core might be problematic. Click here for more details.

Files changed (76) hide show
  1. ansys/fluent/core/__init__.py +12 -12
  2. ansys/fluent/core/_version.py +1 -1
  3. ansys/fluent/core/docs/README.rst +26 -26
  4. ansys/fluent/core/examples/downloads.py +28 -16
  5. ansys/fluent/core/filereader/case_file.py +20 -11
  6. ansys/fluent/core/launcher/fluent_container.py +1 -1
  7. ansys/fluent/core/launcher/fluent_launcher_options.json +10 -0
  8. ansys/fluent/core/launcher/launcher.py +29 -15
  9. ansys/fluent/core/meshing/tui_231.py +7265 -7265
  10. ansys/fluent/core/services/datamodel_se.py +142 -110
  11. ansys/fluent/core/services/meshing_queries.py +920 -361
  12. ansys/fluent/core/session_pure_meshing.py +4 -5
  13. ansys/fluent/core/solver/flobject.py +20 -2
  14. ansys/fluent/core/solver/settings_222/change_type.py +1 -1
  15. ansys/fluent/core/solver/settings_222/clear_generated_data.py +1 -1
  16. ansys/fluent/core/solver/settings_222/compute_2.py +1 -1
  17. ansys/fluent/core/solver/settings_222/delete_design_points.py +1 -1
  18. ansys/fluent/core/solver/settings_222/position_1.py +1 -1
  19. ansys/fluent/core/solver/settings_222/setup_unsteady_statistics.py +1 -1
  20. ansys/fluent/core/solver/settings_222/target.py +1 -1
  21. ansys/fluent/core/solver/settings_222/up_vector.py +1 -1
  22. ansys/fluent/core/solver/settings_222/update_selected.py +1 -1
  23. ansys/fluent/core/solver/settings_222/write_1.py +1 -1
  24. ansys/fluent/core/solver/settings_222/write_views.py +1 -1
  25. ansys/fluent/core/solver/settings_231/abaqus.py +2 -2
  26. ansys/fluent/core/solver/settings_231/activate_cell_zone.py +1 -1
  27. ansys/fluent/core/solver/settings_231/calculate_patch.py +2 -2
  28. ansys/fluent/core/solver/settings_231/change_type.py +1 -1
  29. ansys/fluent/core/solver/settings_231/clear_generated_data.py +1 -1
  30. ansys/fluent/core/solver/settings_231/compute_1.py +1 -1
  31. ansys/fluent/core/solver/settings_231/convert_skewed_cells_1.py +1 -1
  32. ansys/fluent/core/solver/settings_231/custom_heat_flux.py +1 -1
  33. ansys/fluent/core/solver/settings_231/customize_fmg_initialization.py +2 -2
  34. ansys/fluent/core/solver/settings_231/delete_design_points.py +1 -1
  35. ansys/fluent/core/solver/settings_231/export_1.py +1 -1
  36. ansys/fluent/core/solver/settings_231/export_modifications.py +1 -1
  37. ansys/fluent/core/solver/settings_231/film_heat_transfer.py +1 -1
  38. ansys/fluent/core/solver/settings_231/film_mass_flow.py +1 -1
  39. ansys/fluent/core/solver/settings_231/forces.py +4 -4
  40. ansys/fluent/core/solver/settings_231/heat_transfer_1.py +1 -1
  41. ansys/fluent/core/solver/settings_231/heat_transfer_sensible.py +1 -1
  42. ansys/fluent/core/solver/settings_231/mass_flow_1.py +1 -1
  43. ansys/fluent/core/solver/settings_231/mechanical_apdl.py +1 -1
  44. ansys/fluent/core/solver/settings_231/mechanical_apdl_input.py +2 -2
  45. ansys/fluent/core/solver/settings_231/modified_setting.py +1 -1
  46. ansys/fluent/core/solver/settings_231/moments.py +2 -2
  47. ansys/fluent/core/solver/settings_231/number_density.py +2 -2
  48. ansys/fluent/core/solver/settings_231/particle_summary.py +1 -1
  49. ansys/fluent/core/solver/settings_231/position_1.py +1 -1
  50. ansys/fluent/core/solver/settings_231/pressure_work_1.py +1 -1
  51. ansys/fluent/core/solver/settings_231/print_histogram.py +1 -1
  52. ansys/fluent/core/solver/settings_231/projected_surface_area.py +2 -2
  53. ansys/fluent/core/solver/settings_231/rad_heat_trans.py +1 -1
  54. ansys/fluent/core/solver/settings_231/read_journal.py +1 -1
  55. ansys/fluent/core/solver/settings_231/rotate.py +2 -2
  56. ansys/fluent/core/solver/settings_231/sample_1.py +4 -4
  57. ansys/fluent/core/solver/settings_231/set_ambient_color.py +1 -1
  58. ansys/fluent/core/solver/settings_231/set_light.py +2 -2
  59. ansys/fluent/core/solver/settings_231/setup_unsteady_statistics.py +1 -1
  60. ansys/fluent/core/solver/settings_231/surface_integrals.py +1 -1
  61. ansys/fluent/core/solver/settings_231/taitherm.py +1 -1
  62. ansys/fluent/core/solver/settings_231/target.py +1 -1
  63. ansys/fluent/core/solver/settings_231/translate.py +1 -1
  64. ansys/fluent/core/solver/settings_231/up_vector.py +1 -1
  65. ansys/fluent/core/solver/settings_231/update_selected.py +1 -1
  66. ansys/fluent/core/solver/settings_231/viscous_work.py +1 -1
  67. ansys/fluent/core/solver/settings_231/volume_integrals.py +1 -1
  68. ansys/fluent/core/solver/settings_231/write_1.py +1 -1
  69. ansys/fluent/core/solver/settings_231/write_histogram.py +1 -1
  70. ansys/fluent/core/solver/settings_231/write_views.py +1 -1
  71. ansys/fluent/core/solver/tui_231.py +36777 -37552
  72. {ansys_fluent_core-0.14.dev1.dist-info → ansys_fluent_core-0.14.dev2.dist-info}/METADATA +29 -29
  73. {ansys_fluent_core-0.14.dev1.dist-info → ansys_fluent_core-0.14.dev2.dist-info}/RECORD +76 -76
  74. {ansys_fluent_core-0.14.dev1.dist-info → ansys_fluent_core-0.14.dev2.dist-info}/LICENSE +0 -0
  75. {ansys_fluent_core-0.14.dev1.dist-info → ansys_fluent_core-0.14.dev2.dist-info}/WHEEL +0 -0
  76. {ansys_fluent_core-0.14.dev1.dist-info → ansys_fluent_core-0.14.dev2.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ansys-fluent-core
3
- Version: 0.14.dev1
3
+ Version: 0.14.dev2
4
4
  Summary: Pythonic interface to Ansys Fluent
5
- Home-page: https://github.com/pyansys/pyfluent
5
+ Home-page: https://github.com/ansys/pyfluent
6
6
  Author: ANSYS, Inc.
7
7
  Author-email: pyansys.core@ansys.com
8
8
  Maintainer: PyAnsys developers
@@ -12,7 +12,7 @@ Classifier: Development Status :: 4 - Beta
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: License :: OSI Approved :: MIT License
14
14
  Classifier: Operating System :: OS Independent
15
- Requires-Python: >=3.7
15
+ Requires-Python: >=3.8
16
16
  Description-Content-Type: text/x-rst
17
17
  License-File: LICENSE
18
18
  Requires-Dist: ansys-api-fluent (==0.3.12)
@@ -37,12 +37,12 @@ PyFluent
37
37
  :target: https://pypi.org/project/ansys-fluent-core
38
38
  :alt: PyPI
39
39
 
40
- .. |GH-CI| image:: https://github.com/pyansys/pyfluent/actions/workflows/ci.yml/badge.svg
41
- :target: https://github.com/pyansys/pyfluent/actions/workflows/ci.yml
40
+ .. |GH-CI| image:: https://github.com/ansys/pyfluent/actions/workflows/ci.yml/badge.svg
41
+ :target: https://github.com/ansys/pyfluent/actions/workflows/ci.yml
42
42
  :alt: GH-CI
43
43
 
44
- .. |codecov| image:: https://codecov.io/gh/pyansys/pyfluent/branch/main/graph/badge.svg
45
- :target: https://codecov.io/gh/pyansys/pyfluent
44
+ .. |codecov| image:: https://codecov.io/gh/ansys/pyfluent/branch/main/graph/badge.svg
45
+ :target: https://codecov.io/gh/ansys/pyfluent
46
46
 
47
47
  .. |MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg
48
48
  :target: https://opensource.org/licenses/MIT
@@ -52,8 +52,8 @@ PyFluent
52
52
  :target: https://github.com/psf/black
53
53
  :alt: Black
54
54
 
55
- .. |pre-commit| image:: https://results.pre-commit.ci/badge/github/pyansys/pyfluent/main.svg
56
- :target: https://results.pre-commit.ci/latest/github/pyansys/pyfluent/main
55
+ .. |pre-commit| image:: https://results.pre-commit.ci/badge/github/ansys/pyfluent/main.svg
56
+ :target: https://results.pre-commit.ci/latest/github/ansys/pyfluent/main
57
57
  :alt: pre-commit.ci status
58
58
 
59
59
  Overview
@@ -71,14 +71,14 @@ Documentation and issues
71
71
  For comprehensive information on PyFluent, see the latest release
72
72
  `documentation <https://fluent.docs.pyansys.com>`_.
73
73
 
74
- On the `PyFluent Issues <https://github.com/pyansys/pyfluent/issues>`_ page, you can create
74
+ On the `PyFluent Issues <https://github.com/ansys/pyfluent/issues>`_ page, you can create
75
75
  issues to submit questions, report bugs, and request new features. To reach
76
76
  the project support team, email `pyansys.core@ansys.com <pyansys.core@ansys.com>`_.
77
77
 
78
78
  Installation
79
79
  ------------
80
- The ``ansys-fluent-core`` package supports Python 3.7 through Python
81
- 3.10 on Windows and Linux.
80
+ The ``ansys-fluent-core`` package supports Python 3.8 through Python
81
+ 3.11 on Windows and Linux.
82
82
 
83
83
  Install the latest release from `PyPI
84
84
  <https://pypi.org/project/ansys-fluent-core/>`_ with:
@@ -92,7 +92,7 @@ the latest release with:
92
92
 
93
93
  .. code:: console
94
94
 
95
- git clone https://github.com/pyansys/pyfluent.git
95
+ git clone https://github.com/ansys/pyfluent.git
96
96
  cd pyfluent
97
97
  pip install pip -U
98
98
  pip install -e .
@@ -101,7 +101,22 @@ the latest release with:
101
101
  Dependencies
102
102
  ------------
103
103
  You must have a licensed copy of Ansys Fluent installed locally. PyFluent
104
- supports Fluent 2022 R2 and later.
104
+ supports Fluent 2022 R2 and later. The Windows installation of Ansys Fluent automatically
105
+ sets the required environment variables so that PyFluent can find the Ansys Fluent
106
+ installation. Using Fluent 2023 R1 (or 23.1) installed in the default directory as an
107
+ example, the installer automatically sets the ``AWP_ROOT231`` environment variable to point
108
+ to ``C:\Program Files\ANSYS Inc\v231``.
109
+
110
+ On Linux, the required environment variable is not set automatically, and can be set for the
111
+ current user in the current shell session, using Fluent 2023 R1 in the default installation
112
+ directory as an example, before running PyFluent, with:
113
+
114
+ .. code:: console
115
+
116
+ export AWP_ROOT231=/usr/ansys_inc/v231
117
+
118
+ For this setting to persist between different shell sessions for the current user, the same
119
+ export command can instead be added to the user's ``~/.profile`` file.
105
120
 
106
121
  Getting started
107
122
  ---------------
@@ -116,21 +131,6 @@ To launch Fluent from Python, use the ``launch_fluent`` method:
116
131
  solver_session = pyfluent.launch_fluent(mode="solver")
117
132
  solver_session.health_check_service.is_serving
118
133
 
119
- On Windows systems the environment variable ``AWP_ROOT<ver>`` is configured
120
- when Fluent is installed, where ``<ver>`` is the Fluent release number such as
121
- ``231`` for release 2023 R1. PyFluent automatically uses this environment
122
- variable to locate the latest Fluent installation. On Linux systems configure
123
- ``AWP_ROOT<ver>`` to point to the absolute path of an Ansys installation such as
124
- ``/apps/ansys_inc/v231``.
125
-
126
- To use a non-default installation location set ``AWP_ROOT<ver>`` or set the
127
- ``PYFLUENT_FLUENT_ROOT`` environment variable to the ``<install location>/<version>/fluent`` directory,
128
- where ``<version>`` is the Fluent release that you would like to use.
129
- For example, ``v231`` uses release 2023 R1.
130
-
131
- For information on other ways of specifying the Fluent location for PyFluent,
132
- see `Frequently asked questions <https://fluent.docs.pyansys.com/release/0.12/getting_started/faqs.html>`_.
133
-
134
134
  Basic usage
135
135
  ~~~~~~~~~~~
136
136
  You can use the ``solver_session.tui`` interface to run all Fluent TUI commands: