2. Mesh Refinement

It is often desirable to refine existing meshes, which is done by subdividing the elements into smaller elements. Up to now, the refinement only works for hexahedra with linear edges. For meshes containing other element types than hexahedra, this option is not applicable. The feature is controlled by the flag nFineHexa=x, where x specifies the number of subdivisions of each element in each spatial direction.

../Hopr_nfine1.png

Fig. 2.1 Standard mesh

../Hopr_nfine2.png

Fig. 2.2 All elements refined by a factor of 2

Parameter File

To test this feature, add nFineHexa=2 to the parameter file, which is also found in

tutorials/2-01-external_meshes_sphere/parameter.ini