get_dpf_material_id_by_analyis_ply_map#

ansys.dpf.composites.layup_info.get_dpf_material_id_by_analyis_ply_map(mesh, data_source_or_streams_provider)#

Get Dict that maps analysis ply names to dpf_material_ids.

Parameters:
  • mesh (MeshedRegion) – DPF Meshed region enriched with lay-up information

  • data_source_or_streams_provider (DataSources | Operator) – DPF data source with rst file or streams_provider. The streams provider is available from CompositeModel.core_model (under metadata.streams_provider).

Notes

Cache the output because the computation can be performance-critical.

Return type:

dict[str, int64]