ansys-fluent-core 0.34.0__py3-none-any.whl → 0.34.1__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 (31) hide show
  1. ansys/fluent/core/__init__.py +2 -2
  2. ansys/fluent/core/file_session.py +28 -2
  3. ansys/fluent/core/generated/api_tree/api_objects.json +1 -1
  4. ansys/fluent/core/generated/datamodel_231/flicing.py +35 -35
  5. ansys/fluent/core/generated/datamodel_231/meshing.py +182 -182
  6. ansys/fluent/core/generated/datamodel_232/flicing.py +35 -35
  7. ansys/fluent/core/generated/datamodel_232/meshing.py +201 -201
  8. ansys/fluent/core/generated/datamodel_241/flicing.py +45 -45
  9. ansys/fluent/core/generated/datamodel_241/meshing.py +298 -298
  10. ansys/fluent/core/generated/datamodel_242/flicing.py +45 -45
  11. ansys/fluent/core/generated/datamodel_242/meshing.py +334 -334
  12. ansys/fluent/core/generated/datamodel_242/part_management.py +6 -6
  13. ansys/fluent/core/generated/datamodel_251/flicing.py +50 -50
  14. ansys/fluent/core/generated/datamodel_251/meshing.py +340 -340
  15. ansys/fluent/core/generated/datamodel_251/part_management.py +6 -6
  16. ansys/fluent/core/generated/datamodel_252/flicing.py +35 -35
  17. ansys/fluent/core/generated/datamodel_252/meshing.py +402 -402
  18. ansys/fluent/core/generated/datamodel_252/part_management.py +10 -10
  19. ansys/fluent/core/generated/datamodel_261/flicing.py +45 -45
  20. ansys/fluent/core/generated/datamodel_261/meshing.py +377 -377
  21. ansys/fluent/core/generated/datamodel_261/meshing_utilities.py +296 -616
  22. ansys/fluent/core/generated/datamodel_261/part_management.py +10 -10
  23. ansys/fluent/core/generated/fluent_version_261.py +3 -3
  24. ansys/fluent/core/generated/solver/settings_261.py +3023 -2378
  25. ansys/fluent/core/generated/solver/settings_261.pyi +1456 -1537
  26. ansys/fluent/core/generated/solver/tui_261.py +1436 -599
  27. ansys/fluent/core/services/field_data.py +27 -8
  28. {ansys_fluent_core-0.34.0.dist-info → ansys_fluent_core-0.34.1.dist-info}/METADATA +1 -1
  29. {ansys_fluent_core-0.34.0.dist-info → ansys_fluent_core-0.34.1.dist-info}/RECORD +31 -31
  30. {ansys_fluent_core-0.34.0.dist-info → ansys_fluent_core-0.34.1.dist-info}/LICENSE +0 -0
  31. {ansys_fluent_core-0.34.0.dist-info → ansys_fluent_core-0.34.1.dist-info}/WHEEL +0 -0
@@ -77,9 +77,9 @@ from ansys.fluent.core.utils import fldoc, get_examples_download_dir
77
77
  from ansys.fluent.core.utils.fluent_version import FluentVersion # noqa: F401
78
78
  from ansys.fluent.core.utils.setup_for_fluent import setup_for_fluent # noqa: F401
79
79
 
80
- __version__ = "0.34.0"
80
+ __version__ = "0.34.1"
81
81
 
82
- _VERSION_INFO = "Build date: July 24, 2025 15:00 UTC ShaID: 7de106f"
82
+ _VERSION_INFO = "Build date: August 05, 2025 03:19 UTC ShaID: ffa3845"
83
83
  """
84
84
  Global variable indicating the version info of the PyFluent package.
85
85
  Build timestamp and commit hash are added to this variable during packaging.
@@ -186,7 +186,20 @@ class BatchFieldData:
186
186
  | PathlinesFieldDataRequest
187
187
  ),
188
188
  ) -> Dict[int | str, Dict | np.array]:
189
- """Get the surface, scalar, vector or path-lines field data on a surface."""
189
+ """Get the surface, scalar, vector or path-lines field data on a surface.
190
+
191
+ Returns
192
+ -------
193
+ Dict[int | str, Dict | np.array]
194
+ Field data for the requested surface. If field data is unavailable for the surface,
195
+ an empty array is returned and a warning is issued. Users should always check
196
+ the array size before using the data.
197
+
198
+ Example:
199
+ data = get_field_data(field_data_request)[surface_id]
200
+ if data.size == 0:
201
+ # Handle missing data
202
+ """
190
203
  if isinstance(obj, SurfaceFieldDataRequest):
191
204
  return self._get_surface_data(**obj._asdict())
192
205
  elif isinstance(obj, ScalarFieldDataRequest):
@@ -973,7 +986,20 @@ class FileFieldData(FieldDataSource):
973
986
  | PathlinesFieldDataRequest
974
987
  ),
975
988
  ) -> Dict[int | str, Dict | np.array]:
976
- """Get the surface, scalar, vector or path-lines field data on a surface."""
989
+ """Get the surface, scalar, vector or path-lines field data on a surface.
990
+
991
+ Returns
992
+ -------
993
+ Dict[int | str, Dict | np.array]
994
+ Field data for the requested surface. If field data is unavailable for the surface,
995
+ an empty array is returned and a warning is issued. Users should always check
996
+ the array size before using the data.
997
+
998
+ Example:
999
+ data = get_field_data(field_data_request)[surface_id]
1000
+ if data.size == 0:
1001
+ # Handle missing data
1002
+ """
977
1003
  if isinstance(obj, SurfaceFieldDataRequest):
978
1004
  return self._get_surface_data(**obj._asdict())
979
1005
  elif isinstance(obj, ScalarFieldDataRequest):