3

Possible Duplicate:
Is there a general-purpose library for structured grid adaptive mesh refinement?

I'm looking for a quality, open source, maintained, scalable automated mesh refinement library to integrate with a FEM library. It would be best if it could do both simplices and quads/hexes. I have a list of about a dozen but have little experience using any of them. What are the communities recommendations?

aterrel
  • 3,644
  • 24
  • 26
  • This was sort of discussed before http://scicomp.stackexchange.com/questions/861/is-there-a-general-purpose-library-for-structured-grid-adaptive-mesh-refinement/ – stali Jun 12 '12 at 23:15

1 Answers1

2

Well, I'm biased, but I would recommend deal.II. It's got the AMR plus all of the finite element stuff you'll ever need plus more documentation than you can read in a lifetime. It also scales to 10,000+ processors. It only supports quads/hexes, though. (Disclaimer: I'm the principal author of it, along with a couple dozen other co-authors from around the world.)

There are other libraries that have other combinations of feature sets:

  • libmesh: Very similar in many regards.
  • FEniCS: More targeted to higher level problem descriptions. Meant to be used on a more intuitive level. I don't know how well it supports AMR or scales to large machines.
  • There are a number of packages that are more targeted to individual kinds of problems (e.g. LifeV and OpenFOAM for fluid dynamics problems).

I will gladly let others join in to add more links to more libraries. I think that even taking into account my own bias, the ones above are what a neutral person today would want to look at.

On the other hand, if the goal is to simply have a library that can manage the adaptive mesh, possibly widely distributed, then I would recommend p4est. It's occasionally a bit clumsy in its use, but it's lightweight, well written, and scales further than any other mesh project I can think of.

Wolfgang Bangerth
  • 55,373
  • 59
  • 119
  • I think he is looking for an AMR library to integrate with his own FE code. Deal.II/Libmesh would be the perfect choice otherwise. – stali Jun 12 '12 at 23:32
  • Well there is a branch of FEniCS that supports AMR but we wanted to make it more full featured. Hence the interest in AMR packages rather than FEM packages. – aterrel Jun 13 '12 at 05:37
  • @aterrel: I now realize how pointless my answer was because I didn't look who asked the question -- you of course knew all of this before. If you're only interested in AMR, have you taken a look at p4est? It's very lightweight, doesn't offer much, but has exactly the right abstractions. We use it inside deal.II for parallel computations. – Wolfgang Bangerth Jun 13 '12 at 07:22
  • @WolfgangBangerth - I might suggest that you delete your answer or edit it to reflect your understanding of the question. – Aron Ahmadia Jun 13 '12 at 08:55
  • @WolfgangBangerth Well I was hoping to see if there were any real competitors to p4est. It's probably what I will use but its good to be thorough about these things. – aterrel Jun 13 '12 at 10:52
  • @aterrel: I don't know of any similar libraries. There's the Interoperable Technologies for Advanced Petascale Simulations (ITAPS) project but that's not lightweight and small either. – Wolfgang Bangerth Jun 13 '12 at 17:02