ansys.fluent.core.services.field_data.FieldData.get_surface_data#
- FieldData.get_surface_data(data_type, surface_ids=None, surface_name=None, overset_mesh=False)
Get surface data (vertices, faces connectivity, centroids, and normals).
- Parameters:
- data_type
SurfaceDataType
SurfaceDataType Enum member.
- surface_ids
List
[int
],optional
List of surface IDs for the surface data.
- surface_name
str
,optional
Surface name for the surface data.
- overset_meshbool,
optional
Whether to provide the overset method. The default is
False
.
- data_type
- Returns:
Union
[Vertices
,FacesConnectivity
,FacesNormal
, FacesCentroid,Dict
[int
,Union
[Vertices
,FacesConnectivity
,FacesNormal
,FacesCentroid
]]]If a surface name is provided as input, face vertices, connectivity data, and normal or centroid data are returned. If surface IDs are provided as input, a dictionary containing a map of surface IDs to face vertices, connectivity data, and normal or centroid data is returned.