get_ply_wise_data#
- ansys.dpf.composites.ply_wise_data.get_ply_wise_data(field, ply_name, mesh, spot_reduction_strategy=SpotReductionStrategy.AVG, requested_location='ElementalNodal', component=0)#
Get ply-wise data from a field.
- Parameters:
field (
Field
) – Field to extract data from.ply_name (
str
) – Name of the ply to extract data from.mesh (
MeshedRegion
) – Meshed region that needs to be enriched with composite information. Use theCompositeModel.get_mesh()
method to get the meshed region.spot_reduction_strategy (
SpotReductionStrategy
, default:<SpotReductionStrategy.AVG: 'AVG'>
) – Reduction strategy for getting from spot values (BOT, MID, TOP) to a single value per corner node and layer. The default isAVG
.requested_location (
str
, default:'ElementalNodal'
) – Location of the output field. Important: The function always averages nodal values for"elemental"
or"nodal"
locations, irrespective of"spot_reduction_strategy"
. Options are"elemental"
,"elemental_nodal"
, and"nodal"
. The default is"elemental_nodal"
.component (
IntEnum
|int
, default:0
) – Component to extract data from. The default is0
.
- Return type: