ansys-fluent-visualization 0.27.dev0__tar.gz → 0.28.0__tar.gz
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.
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/AUTHORS +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/LICENSE +2 -2
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/PKG-INFO +2 -2
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/pyproject.toml +10 -2
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/interface/__init__.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/interface/post_objects/__init__.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/interface/post_objects/check_in_notebook.py +2 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/interface/post_objects/meta.py +4 -2
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/interface/post_objects/post_helper.py +2 -2
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/interface/post_objects/post_object_definitions.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/interface/post_objects/post_objects_container.py +3 -3
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/interface/post_objects/singleton_meta.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/__init__.py +2 -2
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/base/__init__.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/base/renderer.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/config.py +3 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/containers.py +3 -2
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/contour.py +3 -7
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/graphics/__init__.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/graphics/graphics_objects.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/graphics/graphics_windows.py +2 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/graphics/graphics_windows_manager.py +3 -3
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/graphics/pyvista/__init__.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/graphics/pyvista/renderer.py +2 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/graphics/single_qt_windows.py +2 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/matplotlib/__init__.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/plotter/__init__.py +1 -1
- ansys_fluent_visualization-0.28.0/src/ansys/fluent/visualization/plotter/matplotlib/__init__.py +21 -0
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/plotter/matplotlib/renderer.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/plotter/plotter_objects.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/plotter/plotter_windows.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/plotter/plotter_windows_manager.py +1 -1
- ansys_fluent_visualization-0.28.0/src/ansys/fluent/visualization/plotter/pyvista/__init__.py +21 -0
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/plotter/pyvista/renderer.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/post_data_extractor.py +2 -4
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/pyvista/__init__.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/registrar.py +1 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/renderer.py +2 -1
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/src/ansys/fluent/visualization/visualization_windows_manager.py +1 -1
- ansys_fluent_visualization-0.27.dev0/src/ansys/fluent/visualization/plotter/matplotlib/__init__.py +0 -21
- ansys_fluent_visualization-0.27.dev0/src/ansys/fluent/visualization/plotter/pyvista/__init__.py +0 -21
- {ansys_fluent_visualization-0.27.dev0 → ansys_fluent_visualization-0.28.0}/README.rst +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2022 - 2026
|
|
3
|
+
Copyright (c) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ansys-fluent-visualization
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.28.0
|
|
4
4
|
Summary: A python wrapper for ansys Fluent visualization
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: AUTHORS
|
|
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.14
|
|
22
22
|
Provides-Extra: interactive
|
|
23
23
|
Provides-Extra: single-window
|
|
24
|
-
Requires-Dist: ansys-fluent-core (>=0.
|
|
24
|
+
Requires-Dist: ansys-fluent-core (>=0.41.0)
|
|
25
25
|
Requires-Dist: importlib-metadata (>=4.0,<5.0) ; python_version < "3.9"
|
|
26
26
|
Requires-Dist: matplotlib (>=3.6.0)
|
|
27
27
|
Requires-Dist: pyside6 (>=6.8.1,<7.0.0) ; extra == "single-window"
|
|
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
# Check https://python-poetry.org/docs/pyproject/ for all available sections
|
|
7
7
|
name = "ansys-fluent-visualization"
|
|
8
|
-
version = "0.
|
|
8
|
+
version = "0.28.0"
|
|
9
9
|
description = "A python wrapper for ansys Fluent visualization"
|
|
10
10
|
license = "MIT"
|
|
11
11
|
authors = ["ANSYS, Inc. <ansys.support@ansys.com>"]
|
|
@@ -25,7 +25,7 @@ packages = [
|
|
|
25
25
|
[tool.poetry.dependencies]
|
|
26
26
|
python = ">=3.10,<3.15"
|
|
27
27
|
importlib-metadata = {version = "^4.0", python = "<3.9"}
|
|
28
|
-
ansys-fluent-core = ">=0.
|
|
28
|
+
ansys-fluent-core = ">=0.41.0"
|
|
29
29
|
pyvista = ">=0.44.0"
|
|
30
30
|
matplotlib = ">=3.6.0"
|
|
31
31
|
pyvistaqt = { version = "~=0.11.1", optional = true }
|
|
@@ -77,3 +77,11 @@ skips = [
|
|
|
77
77
|
"B604",
|
|
78
78
|
"B607",
|
|
79
79
|
]
|
|
80
|
+
|
|
81
|
+
[tool.codespell]
|
|
82
|
+
skip = """
|
|
83
|
+
*.xml,
|
|
84
|
+
pyproject.toml,
|
|
85
|
+
CODE_OF_CONDUCT.md,
|
|
86
|
+
"""
|
|
87
|
+
ignore-words = "doc/styles/config/vocabularies/ANSYS/accept.txt"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
23
|
"""Provides a module to check if the library is being used in a Jupyter environment."""
|
|
24
|
+
|
|
24
25
|
import warnings
|
|
25
26
|
|
|
26
27
|
from ansys.fluent.core import PyFluentDeprecationWarning
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -254,7 +254,9 @@ class PyLocalBaseMeta(type):
|
|
|
254
254
|
attrs["root"] = property(lambda self: self.get_root())
|
|
255
255
|
attrs["path"] = property(lambda self: self.get_path())
|
|
256
256
|
attrs["session"] = property(lambda self: self.get_session())
|
|
257
|
-
attrs["field_data"] = property(
|
|
257
|
+
attrs["field_data"] = property(
|
|
258
|
+
lambda self: self.get_session().fields.field_data
|
|
259
|
+
)
|
|
258
260
|
attrs["monitors"] = property(lambda self: self.get_session().monitors)
|
|
259
261
|
attrs["session_handle"] = property(lambda self: self.get_session_handle())
|
|
260
262
|
return super(PyLocalBaseMeta, cls).__new__(cls, name, bases, attrs)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -60,7 +60,7 @@ class PostAPIHelper:
|
|
|
60
60
|
return local_surface_name.lower()
|
|
61
61
|
|
|
62
62
|
def _get_api_handle(self):
|
|
63
|
-
return self.obj.get_root().session.results.surfaces
|
|
63
|
+
return self.obj.get_root().session.settings.results.surfaces
|
|
64
64
|
|
|
65
65
|
def _delete_if_exists_on_server(self):
|
|
66
66
|
field_data = self.obj._api_helper.field_data()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -242,8 +242,8 @@ class Graphics(Container):
|
|
|
242
242
|
outline_mesh = meshes[outline_mesh_id]
|
|
243
243
|
outline_mesh.surfaces = [
|
|
244
244
|
k
|
|
245
|
-
for k, v in outline_mesh._api_helper.
|
|
246
|
-
.
|
|
245
|
+
for k, v in outline_mesh._api_helper._field_info()
|
|
246
|
+
._get_surfaces_info()
|
|
247
247
|
.items()
|
|
248
248
|
if v["type"] == "zone-surf" and v["zone_type"] != "interior"
|
|
249
249
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -27,7 +27,7 @@ try:
|
|
|
27
27
|
except ModuleNotFoundError:
|
|
28
28
|
import importlib_metadata
|
|
29
29
|
|
|
30
|
-
_VERSION_INFO =
|
|
30
|
+
_VERSION_INFO = None
|
|
31
31
|
__version__ = importlib_metadata.version(__name__.replace(".", "-"))
|
|
32
32
|
|
|
33
33
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
|
+
|
|
22
23
|
"""Configuration variables for visualization."""
|
|
24
|
+
|
|
23
25
|
from enum import Enum
|
|
24
26
|
import os
|
|
25
27
|
import warnings
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -21,9 +21,10 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
23
|
"""Containers for graphics."""
|
|
24
|
+
|
|
24
25
|
import warnings
|
|
25
26
|
|
|
26
|
-
from ansys.fluent.core.
|
|
27
|
+
from ansys.fluent.core.fields.live_field_data import _to_field_name_str
|
|
27
28
|
from ansys.fluent.core.utils.context_managers import _get_active_session
|
|
28
29
|
from ansys.units import VariableDescriptor
|
|
29
30
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -41,12 +41,8 @@ class Contour:
|
|
|
41
41
|
"""
|
|
42
42
|
Check field and surface names.
|
|
43
43
|
"""
|
|
44
|
-
allowed_fields = (
|
|
45
|
-
|
|
46
|
-
)
|
|
47
|
-
allowed_surfaces = (
|
|
48
|
-
solver.field_data.get_scalar_field_data.surface_name.allowed_values()
|
|
49
|
-
)
|
|
44
|
+
allowed_fields = solver.fields.field_data.scalar_fields.allowed_values()
|
|
45
|
+
allowed_surfaces = solver.fields.field_data.surfaces.allowed_values()
|
|
50
46
|
if self.field not in allowed_fields:
|
|
51
47
|
raise ValueError(
|
|
52
48
|
f"{self.field} is not valid field. Valid fields are {allowed_fields}"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
23
|
"""A wrapper to improve the user interface of graphics."""
|
|
24
|
+
|
|
24
25
|
import ansys.fluent.visualization as pyviz
|
|
25
26
|
from ansys.fluent.visualization.graphics import graphics_windows_manager
|
|
26
27
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -291,7 +291,7 @@ class GraphicsWindow(VisualizationWindow):
|
|
|
291
291
|
)
|
|
292
292
|
|
|
293
293
|
def _display_vector(self, obj, obj_dict):
|
|
294
|
-
field_data = obj.session.field_data
|
|
294
|
+
field_data = obj.session.fields.field_data
|
|
295
295
|
vectors_of = obj.vectors_of()
|
|
296
296
|
# scalar bar properties
|
|
297
297
|
try:
|
|
@@ -571,7 +571,7 @@ class GraphicsWindow(VisualizationWindow):
|
|
|
571
571
|
auto_range_on = obj.range.auto_range_on
|
|
572
572
|
if auto_range_on.global_range():
|
|
573
573
|
if filled:
|
|
574
|
-
field_data = obj.session.field_data
|
|
574
|
+
field_data = obj.session.fields.field_data
|
|
575
575
|
_mesh_dict = {
|
|
576
576
|
"data": mesh,
|
|
577
577
|
"clim": field_data.scalar_fields.range(obj.field(), False),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
23
|
"""Module for pyVista windows management."""
|
|
24
|
+
|
|
24
25
|
import numpy as np
|
|
25
26
|
import pyvista as pv
|
|
26
27
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
|
+
|
|
22
23
|
"""Module defining qt single window to add graphics."""
|
|
23
24
|
|
|
24
25
|
from PySide6.QtWidgets import (
|
ansys_fluent_visualization-0.28.0/src/ansys/fluent/visualization/plotter/matplotlib/__init__.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
3
|
+
#
|
|
4
|
+
#
|
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
# furnished to do so, subject to the following conditions:
|
|
11
|
+
#
|
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
# copies or substantial portions of the Software.
|
|
14
|
+
#
|
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
# SOFTWARE.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
3
|
+
#
|
|
4
|
+
#
|
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
# furnished to do so, subject to the following conditions:
|
|
11
|
+
#
|
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
# copies or substantial portions of the Software.
|
|
14
|
+
#
|
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
# SOFTWARE.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
import itertools
|
|
26
26
|
from typing import Dict
|
|
27
27
|
|
|
28
|
-
from ansys.fluent.core.field_data_interfaces import (
|
|
28
|
+
from ansys.fluent.core.fields.field_data_interfaces import (
|
|
29
29
|
PathlinesFieldDataRequest,
|
|
30
30
|
ScalarFieldDataRequest,
|
|
31
31
|
SurfaceDataType,
|
|
@@ -150,8 +150,6 @@ class FieldDataExtractor:
|
|
|
150
150
|
surfaces=obj.surfaces(),
|
|
151
151
|
data_types=[SurfaceDataType.Vertices, SurfaceDataType.FacesConnectivity],
|
|
152
152
|
flatten_connectivity=True,
|
|
153
|
-
*args,
|
|
154
|
-
**kwargs,
|
|
155
153
|
)
|
|
156
154
|
scalar_request = ScalarFieldDataRequest(
|
|
157
155
|
field_name=field,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026
|
|
1
|
+
# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved.
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
#
|
|
4
4
|
#
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
23
|
"""A wrapper to improve the user interface of graphics."""
|
|
24
|
+
|
|
24
25
|
import warnings
|
|
25
26
|
|
|
26
27
|
from ansys.fluent.interface.post_objects.post_object_definitions import (
|
ansys_fluent_visualization-0.27.dev0/src/ansys/fluent/visualization/plotter/matplotlib/__init__.py
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
# SPDX-License-Identifier: MIT
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
# of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
# in the Software without restriction, including without limitation the rights
|
|
8
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
# copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
# furnished to do so, subject to the following conditions:
|
|
11
|
-
#
|
|
12
|
-
# The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
# copies or substantial portions of the Software.
|
|
14
|
-
#
|
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
# SOFTWARE.
|
ansys_fluent_visualization-0.27.dev0/src/ansys/fluent/visualization/plotter/pyvista/__init__.py
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates.
|
|
2
|
-
# SPDX-License-Identifier: MIT
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
# of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
# in the Software without restriction, including without limitation the rights
|
|
8
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
# copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
# furnished to do so, subject to the following conditions:
|
|
11
|
-
#
|
|
12
|
-
# The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
# copies or substantial portions of the Software.
|
|
14
|
-
#
|
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
# SOFTWARE.
|
|
File without changes
|