Poor scaling performance in block assignments

Use this forum to talk about enhancements and fixes.

Poor scaling performance in block assignments

Postby gvernon » Wed Aug 15, 2018 12:23 pm

I've got thousands of surfaces that I need to mesh and assign to a block. The following script is representative of the issue I'm having in Trelis 16.5:

Code: Select all
reset
brick x 1
volume all copy move x 1.1 y 0.0 z 0.0 repeat 9
volume all copy move x 0.0 y 1.1 z 0.0 repeat 9
volume all copy move x 0.0 y 0.0 z 1.1 repeat 9
block 1 surf all  # or "block 1 vol all"


This should create 1000 volumes and 6000 total surfaces. After a couple hundred surfaces (or volumes) have been added to the block, the assignment begins to noticeably slow down. By ~3500 surfaces it has slowed to adding a couple surfaces per second to the block and by ~4500 surfaces it's only adding ~ 1 surface per second. Is it possible to improve the scalability of these assignments?
gvernon
 
Posts: 2
Joined: Wed Oct 25, 2017 7:52 am

Re: Poor scaling performance in block assignments

Postby csimsoft Moderator » Wed Aug 15, 2018 4:35 pm

I reproduced the slowing as large numbers of entities are added to a block and submitted this issue for fix. It appears that Trelis might be looking to see if the entity is already in the block before adding. The more entities in the block slows down the process. Thanks for submitting this.
csimsoft
csimsoft Moderator
 
Posts: 292
Joined: Tue Feb 14, 2012 5:59 pm
Location: American Fork, UT


Return to Feature Requests and Fixes

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Search / Mark

User Control Panel

Login

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 83 on Tue Nov 13, 2018 11:44 am

Users browsing this forum: No registered users and 1 guest