Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MMG3D(1)		    General Commands Manual		      MMG3D(1)

NAME
       mmg3d --	Adaptation and optimization of a tetrahedral mesh and implicit
       domain meshing.

SYNOPSIS
       mmg3d	  <mesh_file>	  [output_file]	    [-sol     <solution_file>]
	     [-met <metric_file>] [-h] [-v] [-m	<n>]  [-d]  [-val]  [-default]
	     [-A]  [-ar	 <x>  |	 -nr]  [-hmin  <x>]  [-hmax  <x>]  [-hsiz <x>]
	     [-hausd <x>] [-hgrad <x>]	[-hgradreq  <x>]  [-rmc	 x]  [-opnbdy]
	     [-lag  <n>]  [-ls	x]  [-lssurf x]	[-nofem] [-noinsert] [-nomove]
	     [-noswap] [-nosurf] [-nosizreq] [-nreg] [-xreg]  [-nsd]  [-optim]
	     [-optimLES] [-octree <n>] [-rn <n>]

DESCRIPTION
       The mmg3d application is	dedicated to tetrahedral remeshing.  Both sur-
       face and	volume mesh are	modified.

       By defaults it performs mesh modifications in order to control the sur-
       face approximation.
       Providing  a metric file, it adapts the mesh to the prescribed sizes at
       nodes.
       Without metric file, the	-optim option allows to	improve	the mesh qual-
       ity with	respect	to the initial mesh size.  -optimLES option allows  to
       improve strongly	the isotropic mesh quality for LES simulations.
       Providing a level-set file containing the values	of the level-set func-
       tion at the mesh	nodes, the -ls option allows to	explicitly mesh	an im-
       plicit  domain  and the -lssurf option splits mesh boundaries on	a pro-
       vided isovalue.
       Providing a displacement	file -lag option  applies  a  lagrangian  dis-
       placement to boundary mesh nodes.

COMMAND	LINE ARGUMENTS
       1.   Generic options:
	    -h			    Print help.
	    -v <n>		    Tune level of verbosity.
				    Takes values between -1 and	10.
	    -m <n>		    Set	maximal	memory size to n MBytes.
	    -d			    Turn on debug mode.
	    -default		    Write  a local parameter file (with	exten-
				    sion .mmg3d) with setted values.
	    -val		    Print the default parameters values.

       2.   File specifications:
	    -in	<mesh_file>	    Input triangulation.
	    -out <output_file>	    Output triangulation.
	    -sol <solution_file>    Load  metric,  displacement	 or  level-set
				    file.
	    -met <metric_file>	    Load metric	file in	level-set mode.

       3.   Mode specifications	(default is mesh adaptation):
	    -lag <n>		    Lagrangian	mesh displacement according to
				    mode 0 ( n=0 ), 1 (	n=1 ) or 2  (  n=2  ).
				    This  option  is  only  available with the
				    USE_ELAS compilation flag. The LinearElas-
				    ticity library must	be founded to activate
				    this flag.
	    -ls	x		    Create mesh	of isovalue x (0.0 if x	is not
				    provided).
	    -lssurf x		    Split boundary mesh	on isovalue x (0.0  if
				    x is not provided).

       4.   Parameters:
	    -A			    Enable anisotropy (without metric file).
	    -ar	<x> | -nr	    Threshold  for  angle  detection  or sharp
				    features detection disabling.
	    -hmin <x>		    Minimal mesh size.
	    -hmax <x>		    Maximal mesh size.
	    -hsiz <x>		    Constant mesh size.
	    -hausd <x>		    Control the	Hausdorff distance between the
				    surface mesh and  the  underlying  surface
				    geometry.
	    -hgrad <x>		    Control the	gradation.
	    -hgradreq <x>	    Control  the gradation from	required enti-
				    ties toward	others.
	    -rmc x		    Remove componants whose  volumic  fraction
				    is	less  than  x  (1.e-5 if x is not pro-
				    vided) of the whole	mesh volume (level-set
				    mode).
	    -opnbdy		    Preserve input triangles at	the  interface
				    of two domains of the same reference.
	    -nofem		    Do	not  force Mmg to create a finite ele-
				    ment mesh.
	    -noinsert		    No point insertion/deletion.
	    -nomove		    No point relocation
	    -nosurf		    No surface modifications.
	    -noswap		    No edge or face flipping.
	    -nosizreq		    No imposition  of  the  size  of  required
				    edges over required	vertices.
	    -nreg		    Normal  regularization  using  laplacian -
				    antilaplacian smoothing.
	    -xreg		    Vertex  coordinates	 regularization	 using
				    laplacian -	antilaplacian smoothing.
	    -nsd <n>		    Save  the subdomain	of index n (default is
				    n=0	which save all subdomains).
	    -octree <n>		    Specify the	maximal	number	of  point  per
				    octree  cell  (only	 available without the
				    PATTERN compilation	flag).
	    -optim		    Mesh improvement with respect to the  ini-
				    tial mesh size.
	    -optimLES		    Strong isotropic mesh optimization for LES
				    computations.
	    -rn	<n>		    Turn  on ( n=1 ) or	off ( n=0 ) the	renum-
				    bering  using  the	SCOTCH	library	 (only
				    available  with the	USE_SCOTCH compilation
				    flag  and  if  the	 scotch	  library   is
				    founded).

RETURN VALUES
       mmg3d returns:
          the 0 value if successful;
          the 1 value if the process fail but can save	a conform mesh;
          the 2 value if the process fail and can't save a comform mesh.

SEE ALSO
       mmgs(1) mmg2d(1)

mmg3d				 May 04, 2015			      MMG3D(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mmg3d&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>

home | help