File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/ansys/dpf/composites/layup_info Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -145,13 +145,19 @@ def get_material_operators(
145145 # Combines the material support in the engineering data XML file and the unit system.
146146 # Its output can be used to evaluate material properties.
147147 material_provider = Operator ("eng_data::ans_mat_material_provider" )
148- material_provider .inputs .data_sources = engineering_data_source
149148 material_provider .inputs .unit_system_or_result_info (unit_system )
150149 material_provider .inputs .abstract_field_support (
151150 material_support_provider .outputs .abstract_field_support
152151 )
153152 material_provider .inputs .Engineering_data_file (engineering_data_source )
154153
154+ # pylint: disable=protected-access
155+ if version_equal_or_later (rst_data_source ._server , "9.0" ):
156+ # BUG 1060154: Mechanical adds materials to the MAPDL model for flexible
157+ # Remote Points etc. These materials should be skipped by adding
158+ # materials without properties.
159+ material_provider .inputs .skip_missing_materials (True )
160+
155161 return MaterialOperators (
156162 material_provider = material_provider ,
157163 material_support_provider = material_support_provider ,
You can’t perform that action at this time.
0 commit comments