Closed agvarghe closed 3 weeks ago
When quering for multiple cell quality parameters, Volume search appears to be crashing.
CC: @waltersma
vol_mesh_statistics = prime.VolumeSearch(model) quality_summary = vol_mesh_statistics.get_volume_quality_summary( params=prime.VolumeQualitySummaryParams( model, cell_quality_measures=[ prime.CellQualityMeasure.SKEWNESS, prime.CellQualityMeasure.ASPECTRATIO, prime.CellQualityMeasure.ELEMENTQUALITY, ], scope=prime.ScopeDefinition(model, part_expression=part.name), quality_limit=[0.999,250,0.3] ) ) max_skewness = quality_summary.quality_results_part[0].max_quality max_aspect_ratio = quality_summary.quality_results_part[1].max_quality min_element_quality = quality_summary.quality_results_part[2].min_quality print(max_skewness) print(max_aspect_ratio) print(min_element_quality)
Windows
2024R2
3.10
ansys-meshing-prime==0.6.0.dev7
APS 1031380
Fixed for 0.6.1
π Before submitting the issue
π Description of the bug
When quering for multiple cell quality parameters, Volume search appears to be crashing.
CC: @waltersma
π Steps to reproduce
vol_mesh_statistics = prime.VolumeSearch(model) quality_summary = vol_mesh_statistics.get_volume_quality_summary( params=prime.VolumeQualitySummaryParams( model, cell_quality_measures=[ prime.CellQualityMeasure.SKEWNESS, prime.CellQualityMeasure.ASPECTRATIO, prime.CellQualityMeasure.ELEMENTQUALITY, ], scope=prime.ScopeDefinition(model, part_expression=part.name), quality_limit=[0.999,250,0.3] ) ) max_skewness = quality_summary.quality_results_part[0].max_quality max_aspect_ratio = quality_summary.quality_results_part[1].max_quality min_element_quality = quality_summary.quality_results_part[2].min_quality print(max_skewness) print(max_aspect_ratio) print(min_element_quality)
π» Which operating system are you using?
Windows
π Which ANSYS version are you using?
2024R2
π Which Python version are you using?
3.10
π¦ Installed packages