HEX to TET conversion

 

The present page describes the datafile used to read the HEX geometry generated during the previous step and mesh it using TET elements. The example files are provided in ParaGeo Examples\General Examples\Ex_009\03_Hex_2_Tet\Data

 

 

 

Ex_009_Hex_2_Tet_conversion.dat

 

Data File

 

 

* Mesh_generation_variables

! ---------------------------------

 Node_insert_perturb_fact  0.1

 

 

 

* Geometry_data

! ---------------------------------

 File_name      Ex_009_geom.geo

 File_format                hdf

 

 

 

* Mesh_control_data

! ---------------------------------

 Generation_algorithm    2

 Mesh_generation_flag    0                  

 

* Unstructured_mesh_data

! ---------------------------------

 Default_element_size        500

 Element_size_bounds IDM=2

  /Max. Element Size/       500

  /Min. Element Size/       250

 

 

 

* Util_convert_hex2tet_mesh

! ---------------------------------

 File_name     Ex_009_TET

 

1Geometry_data is used to read the .geo file containing the HEX meshed geometry

 

2Mesh_control_data using Generation_algorithm 2 (unstructured mesh) is defined

 

3In Unstructured_mesh_data the minimum and maximum element sizes are defined

 

4Mesh_generation_variables is used to set Node_insert_perturb_fact to 0.1. This enables the generation of a less regular mesh with nodes slightly mis-aligned.

 

5Util_convert_hex2tet_mesh data structure is used to enable conversion of the HEX mesh to a TET mesh. Definition of the output (.geo) file name is required.

 

 

 

Results

 

The results are provided in ParaGeo Examples\General Examples\Ex_009\03_Hex_2_Tet\Results. Those comprise:

 

Ex_009_TET.geo file containing the geometry and TET mesh in ParaGeo format

Ex_009_TET.GeoSumm file containing the summary of the geometry after conversion in ASCII format

Ex_009_Hex_2_Tet_conversion_001.msh file containing the mesh plot file. This can be visualised in ParaView by opening the file Ex_009_Hex_2_Tet_conversion_mesh_001.xmf

Ex_009_Hex_2_Tet_conversion_001.gmr file containing the geometry plot file. This can be visualised in ParaView by opening the file Ex_009_Hex_2_Tet_conversion_gmr_001.xmf

 

 

 

Ex_009_fig01

View of the converted TET mesh