add_layup_info_to_mesh#
- ansys.dpf.composites.layup_info.add_layup_info_to_mesh(data_sources, material_operators, mesh, unit_system=None, composite_definition_label=None, rst_stream_provider=None)#
Add lay-up information to the mesh.
Creates a lay-up provider operator that is run and returned.
- Parameters:
data_sources (
CompositeDataSources) – DPF data sources available from theCompositeModel.data_sourcesattribute.mesh (
MeshedRegion) – DPF meshed region available from theCompositeModel.get_mesh()method.material_operators (
MaterialOperators) – MaterialOperators object available from theCompositeModel.material_operatorsattribute.unit_system (
Optional[Union[UnitSystem,Operator]], default:None) – Unit system specificationcomposite_definition_label (
Optional[str], default:None) – Label of the composite definition, which is the dictionary key in theContinuousFiberCompositesFiles.compositeattribute. This parameter is only required for assemblies. See the note about assemblies in the description for theCompositeModelclass.rst_stream_provider (
Optional[Operator], default:None) – Pass RST stream to load the section data directly from the RST file. This parameter is supported in DPF version 8.0 (2024 R2) and later.
- Return type: