Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Scaling of geometry finalization

Please login with a confirmed email address before reporting spam

I am running some large models that result in several thousand domains.
Geometry finalization (create union) can take over a day to complete.
I wonder what the scaling is here. How does the final geometry build time scale with the number of domains?
Does it matter that all of the geometry is guaranteed to be rectilinear? All boundaries are parallel to x,y,z axes.
Thanks, Campbell

1 Reply Last Post 2013年10月30日 GMT-4 04:32
Daniel Bertilsson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2013年10月30日 GMT-4 04:32
The build time is larger than C*N^2, where N is the number of geometry objects. In the forthcoming release 4.4, we have improved the constant C in the case when the objects are disjoint (the code is about 5-10 times faster). The quadratic dependence on N holds both for planar and curved boundaries. We will continue to speed up this algorithm in future releases.

Best regards,
Daniel Bertilsson
COMSOL Development
The build time is larger than C*N^2, where N is the number of geometry objects. In the forthcoming release 4.4, we have improved the constant C in the case when the objects are disjoint (the code is about 5-10 times faster). The quadratic dependence on N holds both for planar and curved boundaries. We will continue to speed up this algorithm in future releases. Best regards, Daniel Bertilsson COMSOL Development

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.