Running MMG inside the studio vs outside

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • csoconnor
    Junior Member
    • Apr 2022
    • 18

    Running MMG inside the studio vs outside

    Hello,

    In the past I have used the MMG remesh tool in the Studio to generate a higher quality tetrahedral mesh. Recently, I have tried to reproduce the results from running MMG inside the Studio vs MMG from their website. However, I am having trouble matching the input parameters, FEBio Studio takes 4 parameters:
    image.png
    But I unable to find the Element size parameter. These are the parameters I have available for the mmg3d executable,
    -A enable anisotropy (without metric file).
    -ar val angle detection
    -nr no angle detection
    -hausd val control Hausdorff distance
    -hgrad val control gradation
    -hmax val maximal mesh size
    -hmin val minimal mesh size
    -hsiz val constant mesh size
    -rmc [val] enable the removal of componants whose volume fraction is less than val (1e-5 if not given) of the mesh volume (ls mode).
    -opnbdy preserve input triangles at the interface of two domains of the same reference.
    -octree val specify the max number of points per octree cell
    -nofem do not force Mmg to create a finite element mesh
    -nosurf no surface modifications
    -noinsert no point insertion/deletion
    -nomove no point relocation
    -noswap no edge or face flipping
    -nreg normal regul.
    -xreg vertex regul.
    -nsd val save the subdomain number val (0==all subdomain)
    -optim mesh optimization
    -optimLES enable skewness improvement (for LES computations)​

    I am able to run without the element size but the computation time is greatly increased. Any assistance would be helpful!

    Thanks again,
    Caleb
  • maas
    Lead Code Developer
    • Nov 2007
    • 3829

    #2
    Hi Caleb,

    The Element Size is not a mmg parameter. It is used to set the local desired element size for each node on the mesh. MMG uses this information when it needs to do local refinement, e.g. when you only want to refine a certain area. Because of this, it might be difficult to get the exact same mesh as running the mmg tool by itself.

    Best,

    Steve
    Department of Bioengineering, University of Utah
    Scientific Computing and Imaging institute, University of Utah

    Comment

    • csoconnor
      Junior Member
      • Apr 2022
      • 18

      #3
      I see, thanks for the assistance!

      Caleb

      Comment

      Working...
      X