***auto_adaptation
#
Description#
On going work …
This command drives an automatic mesh adaptation procedure during a
computation without stopping it. The auto_adaptation
syntax is
mainly divided into:
mesher commands controlling the remesh process.
timing commands that trigger the automatic remeshing.
transfer commands that specify how to transfer data between the original and the modified mesh.
Syntax#
The command has the following syntax:
***auto_adaptation
\(~\,\) **remeshing_trigger
criterion
\(~\,\) **
mesher_commands
[ **frequency
]
[ **do_transfer
]
[ **use_deformed_mesh
]
[ **do_it_again_after_remesh
]
[ **output_after_remesh
]
remeshing_trigger
activates remeshing when a quantity of interest is higher than a given threshold. For now, only one criterion is available :
**remeshing_trigger
global_error
**threshold
double-value
**estimator_name
error-estimator-name
**
mesher_commandscan define initial mesh modifications, remeshing options and modifications of the adapted mesh . See for available commands.
**frequency
used to trigger the remeshing process, for more sub options see
**do_transfer
activates the transfer of all nodal and integration points fields computed on the initial mesh to the adapted one.
**use_deform_mesh
deformes the mesh before transfer. By default, the initial configuration is used.
**output_after_remesh
when used, the result of the transfer.
**do_it_again_after_remesh
when used, the current increment is recomputed on the new mesh.
Example#
***auto_adaptation
**do_it_again_after_remesh
**output_after_remesh
**frequency *increment 1
**remeshing_trigger global_error
*threshold .1
*estimator_name relative_energy_error_hole
**mmg3d
*min_size .01
*max_size 4.
*verbose 10
*hgrad 2.
*hausd 1.
*preserve_elsets_start_with eset
*preserve_bsets right front left
*corners_start_with corn
*metric uniform_from_field
field relative_energy_error_hole
accuracy 0.1
*output_mesher_files