ansys-fluent-core 0.14.dev0__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.
- ansys/fluent/core/__init__.py +12 -12
- ansys/fluent/core/_version.py +1 -1
- ansys/fluent/core/docs/README.rst +26 -26
- ansys/fluent/core/examples/downloads.py +28 -16
- ansys/fluent/core/filereader/case_file.py +20 -11
- ansys/fluent/core/fluent_connection.py +21 -1
- ansys/fluent/core/launcher/fluent_container.py +1 -1
- ansys/fluent/core/launcher/fluent_launcher_options.json +10 -0
- ansys/fluent/core/launcher/launcher.py +29 -15
- ansys/fluent/core/meshing/tui_231.py +7642 -7642
- ansys/fluent/core/services/datamodel_se.py +142 -110
- ansys/fluent/core/services/field_data.py +278 -29
- ansys/fluent/core/services/meshing_queries.py +1795 -0
- ansys/fluent/core/services/settings.py +1 -1
- ansys/fluent/core/services/svar.py +606 -0
- ansys/fluent/core/session_pure_meshing.py +4 -5
- ansys/fluent/core/solver/flobject.py +59 -2
- ansys/fluent/core/solver/settings_222/change_type.py +1 -1
- ansys/fluent/core/solver/settings_222/clear_generated_data.py +1 -1
- ansys/fluent/core/solver/settings_222/compute_2.py +1 -1
- ansys/fluent/core/solver/settings_222/delete_design_points.py +1 -1
- ansys/fluent/core/solver/settings_222/position_1.py +1 -1
- ansys/fluent/core/solver/settings_222/setup_unsteady_statistics.py +1 -1
- ansys/fluent/core/solver/settings_222/target.py +1 -1
- ansys/fluent/core/solver/settings_222/up_vector.py +1 -1
- ansys/fluent/core/solver/settings_222/update_selected.py +1 -1
- ansys/fluent/core/solver/settings_222/write_1.py +1 -1
- ansys/fluent/core/solver/settings_222/write_views.py +1 -1
- ansys/fluent/core/solver/settings_231/abaqus.py +2 -2
- ansys/fluent/core/solver/settings_231/activate_cell_zone.py +1 -1
- ansys/fluent/core/solver/settings_231/calculate_patch.py +2 -2
- ansys/fluent/core/solver/settings_231/change_type.py +1 -1
- ansys/fluent/core/solver/settings_231/clear_generated_data.py +1 -1
- ansys/fluent/core/solver/settings_231/compute_1.py +1 -1
- ansys/fluent/core/solver/settings_231/convert_skewed_cells_1.py +1 -1
- ansys/fluent/core/solver/settings_231/custom_heat_flux.py +1 -1
- ansys/fluent/core/solver/settings_231/customize_fmg_initialization.py +2 -2
- ansys/fluent/core/solver/settings_231/delete_design_points.py +1 -1
- ansys/fluent/core/solver/settings_231/export_1.py +1 -1
- ansys/fluent/core/solver/settings_231/export_modifications.py +1 -1
- ansys/fluent/core/solver/settings_231/film_heat_transfer.py +1 -1
- ansys/fluent/core/solver/settings_231/film_mass_flow.py +1 -1
- ansys/fluent/core/solver/settings_231/forces.py +4 -4
- ansys/fluent/core/solver/settings_231/heat_transfer_1.py +1 -1
- ansys/fluent/core/solver/settings_231/heat_transfer_sensible.py +1 -1
- ansys/fluent/core/solver/settings_231/mass_flow_1.py +1 -1
- ansys/fluent/core/solver/settings_231/mechanical_apdl.py +1 -1
- ansys/fluent/core/solver/settings_231/mechanical_apdl_input.py +2 -2
- ansys/fluent/core/solver/settings_231/modified_setting.py +1 -1
- ansys/fluent/core/solver/settings_231/moments.py +2 -2
- ansys/fluent/core/solver/settings_231/number_density.py +2 -2
- ansys/fluent/core/solver/settings_231/particle_summary.py +1 -1
- ansys/fluent/core/solver/settings_231/position_1.py +1 -1
- ansys/fluent/core/solver/settings_231/pressure_work_1.py +1 -1
- ansys/fluent/core/solver/settings_231/print_histogram.py +1 -1
- ansys/fluent/core/solver/settings_231/projected_surface_area.py +2 -2
- ansys/fluent/core/solver/settings_231/rad_heat_trans.py +1 -1
- ansys/fluent/core/solver/settings_231/read_journal.py +1 -1
- ansys/fluent/core/solver/settings_231/rotate.py +2 -2
- ansys/fluent/core/solver/settings_231/sample_1.py +4 -4
- ansys/fluent/core/solver/settings_231/set_ambient_color.py +1 -1
- ansys/fluent/core/solver/settings_231/set_light.py +2 -2
- ansys/fluent/core/solver/settings_231/setup_unsteady_statistics.py +1 -1
- ansys/fluent/core/solver/settings_231/surface_integrals.py +1 -1
- ansys/fluent/core/solver/settings_231/taitherm.py +1 -1
- ansys/fluent/core/solver/settings_231/target.py +1 -1
- ansys/fluent/core/solver/settings_231/translate.py +1 -1
- ansys/fluent/core/solver/settings_231/up_vector.py +1 -1
- ansys/fluent/core/solver/settings_231/update_selected.py +1 -1
- ansys/fluent/core/solver/settings_231/viscous_work.py +1 -1
- ansys/fluent/core/solver/settings_231/volume_integrals.py +1 -1
- ansys/fluent/core/solver/settings_231/write_1.py +1 -1
- ansys/fluent/core/solver/settings_231/write_histogram.py +1 -1
- ansys/fluent/core/solver/settings_231/write_views.py +1 -1
- ansys/fluent/core/solver/tui_231.py +36423 -36423
- {ansys_fluent_core-0.14.dev0.dist-info → ansys_fluent_core-0.14.dev2.dist-info}/METADATA +30 -30
- {ansys_fluent_core-0.14.dev0.dist-info → ansys_fluent_core-0.14.dev2.dist-info}/RECORD +80 -78
- {ansys_fluent_core-0.14.dev0.dist-info → ansys_fluent_core-0.14.dev2.dist-info}/LICENSE +0 -0
- {ansys_fluent_core-0.14.dev0.dist-info → ansys_fluent_core-0.14.dev2.dist-info}/WHEEL +0 -0
- {ansys_fluent_core-0.14.dev0.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.
|
|
3
|
+
Version: 0.14.dev2
|
|
4
4
|
Summary: Pythonic interface to Ansys Fluent
|
|
5
|
-
Home-page: https://github.com/
|
|
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,10 +12,10 @@ 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.
|
|
15
|
+
Requires-Python: >=3.8
|
|
16
16
|
Description-Content-Type: text/x-rst
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: ansys-api-fluent (==0.3.
|
|
18
|
+
Requires-Dist: ansys-api-fluent (==0.3.12)
|
|
19
19
|
Requires-Dist: ansys-platform-instancemanagement (~=1.0)
|
|
20
20
|
Requires-Dist: grpcio (>=1.30.0)
|
|
21
21
|
Requires-Dist: numpy (>=1.21.5)
|
|
@@ -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/
|
|
41
|
-
:target: https://github.com/
|
|
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/
|
|
45
|
-
:target: https://codecov.io/gh/
|
|
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/
|
|
56
|
-
:target: https://results.pre-commit.ci/latest/github/
|
|
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/
|
|
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.
|
|
81
|
-
3.
|
|
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/
|
|
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:
|