ElementInfoProvider#
- class ansys.dpf.composites.layup_info.ElementInfoProvider(mesh, layer_indices, element_types_mapdl, element_types_dpf, keyopt_8_values, keyopt_3_values, material_ids, solver_material_ids=None, no_bounds_checks=False)#
Provider for
ElementInfofor MAPDL models.Use
get_element_info_provider()to createElementInfoProviderobjects.Initialize the class before a loop and call
get_element_info()for each element.Note that the
ElementInfoProviderclass is not fully supported for distributed RST files. Theget_element_info()method will raise an exception if the DPF server version does not support reading the required information.- Parameters:
mesh (
MeshedRegion)layer_indices (
PropertyField)element_types_mapdl (
PropertyField)element_types_dpf (
PropertyField)keyopt_8_values (
PropertyField)keyopt_3_values (
PropertyField)material_ids (
PropertyField)solver_material_ids (
Optional[PropertyField], default:None)no_bounds_checks (
bool, default:False) – Disable bounds checks. Results in better performance but potentially cryptic error messages
Methods
ElementInfoProvider.get_element_info(element_id)Get
ElementInfofor a given element id.