|
For general information about the two methods see The Time-Explicit Algorithms in the COMSOL Multiphysics Reference Manual.
|
|
1
|
For 3D meshes, always use the Avoid elements that are too small option in the Element Quality Optimization settings on the Free Tetrahedral nodes in the mesh. The Optimization Level can be set to different degrees: Basic, Medium, or High. Using this option can greatly improve the mesh for dG applications and thus speed up the computation significantly. It is recommended to avoid mesh elements with short edges, since these are bad for the dG method.
|
|
2
|
For 2D meshes, a possible strategy is to create a mapped mesh. This will give a uniform mesh distribution. This however only works if a mapped mesh can be constructed. In general the mesh can be optimized by adding an Adapt node after meshing (one for each region with a given mesh size). In the Adaptation section set Solution to None, Type of expression to Absolute size, and then in the Size expression enter the mesh size for the domain. Then set the Maximum number of refinements to 0. This operation will move mesh vertices around to try to maximize the mesh size and try to remove small mesh elements.
|
|
3
|
Avoid small edges and surfaces in the geometry as these control the mesh. Several tools exist to remedy this by using the Virtual Operations in the geometry.
|
|
4
|
Curved surfaces and boundaries need to be resolved adequately to ensure numerical stability. Typically using a Curvature factor of 0.3 to 0.4 will work well. A curved boundary that is not adequately resolved may result in internal time steps that are too large. At the same time, elements that are too small should of course be avoided. Note that, the curvature factor will automatically be set to 0.3 if the Calibrate for option on the size nodes is set to Time-explicit wave propagation.
|
|
For general information about optimizing quality see Element Quality Optimization in the COMSOL Multiphysics Reference Manual.
For information about virtual operations see Virtual Geometry and Mesh Control Operations in the COMSOL Multiphysics Reference Manual.
|