MmgTools / mmg

open source software for bidimensional and tridimensional remeshing
http://www.mmgtools.org
Other
365 stars 118 forks source link

Remeshing computational complexity #65

Closed salazardetroya closed 4 years ago

salazardetroya commented 4 years ago

What's the usual cost of remeshing compared to a finite element solve? There's been a lot of work on immersed type finite element methods to avoid remeshing. I wonder if the algorithms in this library are more optimized and make the need for immersed finite element methods unnecessary. I am aware this library has been used in topology optimization. What is your experience? How does the cost of remeshing grow with the number of degrees of freedom?

prj- commented 4 years ago

What is the fraction of the volume to be remeshed with respect to the full domain? What are you solving with finite elements? You can look at this document (page 236) to get an element of answer, but this is highly problem-dependent. I can send you documents in private if you want some other examples.

salazardetroya commented 4 years ago

What is the fraction of the volume to be remeshed with respect to the full domain? What are you solving with finite elements? You can look at this document (page 236) to get an element of answer, but this is highly problem-dependent. I can send you documents in private if you want some other examples.

It is also a topology optimization problem like the one in the document, thanks for the link. Quoting from there:

We had difficulties in going to mesh sizes reaching the million ofvertices because the cost of remeshing becomes prohibitive. So far, this step is performed sequentially;future works could benefit from making this step run in parallel as well.

Is the parallel version ready? It seems that the complexity of the remeshing algorithm is not good.

prj- commented 4 years ago

Is the parallel version ready? It seems that the complexity of the remeshing algorithm is not good.

It's work in progress, in the sense that it's already available in the sister project ParMmg, but cannot handle yet level-set and surface remeshing, which is almost mandatory for topology optimization. Should be good in June, hopefully.

Algiane commented 4 years ago

Hi @salazardetroya,

To complete the answers of @prj-:

In fact, it also depends on what you are expecting. For some users, few minutes is very long because they have fast simulations, for others it doesn't matter because their simulations are time consuming...

Regarding the parallel version, it is not fully ready but we are working on it.

You are right, with our kind of algo, we don't expect to have a very good scalability and we target test cases that lasts at least few minutes. Our main aim is to provide to our users:

I hope that it will help you,

Regards,

Algiane