CONVERTOR
Software converts topology
from T3D to SIFEL
format, from T3D to GiD
format and SIFEL format to GiD format. The syntax for use is following
./convertor input_file.con, where input_file.con includes keywords for conversion of the topology from one format to another one. The file consists of two sections - the first section with includes description of input topology and the second section includes description of output topology. The structure of the first section is following: topology_file file.txt - file with input topology mesh_format sifel | t3d - type of the input file.
The structure of the second section is following: output_file_name out_top.xub, where out_top.xub is name of output file/files from convertor. In the case of conversion of topology for parallel computing the output files will be in format out_top1.xub - out_top??.xub, where ?? is number of files. conversion_type T3D2SIFEL | T3D2GID | SIFEL2GID
processing seq | paral
Example for sequential mesh. The file most.txt include T3D 3D mesh. The content of the file most.txt is here. begsec_files topology_file most.txt mesh_format t3d edge_numbering 1 endsec_files begsec_convert output_file_name most.top conversion_type T3D2SIFEL processing seq endsec_convert The result - most.top contains of reordered mesh in SIFEL topology format. The content of the file most.top is here. Example for decomposed meshes. The files file1.top, file2.top, file3.top and file4.top include meshes with SIFEL topology format. file1.top: 9 1 0.000000e+00 0.000000e+00 0.0 5 1 1 2 1 2 4 3 1 4 1 2 0.000000e+00 5.000000e-01 0.0 3 2 4 3 1 4 1 3 0.000000e+00 1.000000e+00 0.0 3 2 4 3 1 4 1 4 5.000000e-01 0.000000e+00 0.0 3 2 1 3 1 4 1 5 5.000000e-01 5.000000e-01 0.0 2 3 1 4 1 6 5.000000e-01 1.000000e+00 0.0 2 3 1 4 1 7 1.000000e+00 0.000000e+00 0.0 3 2 1 3 1 4 1 8 1.000000e+00 5.000000e-01 0.0 2 3 1 4 1 9 1.000000e+00 1.000000e+00 0.0 2 3 1 4 1 4 1 5 1 4 5 2 1 1 0 0 4 1 2 5 2 5 6 3 1 0 0 0 4 1 3 5 4 7 8 5 1 1 0 0 0 1 4 5 5 8 9 6 1 0 0 0 0 1 1 0 2 0 3 1 4 0 5 0 6 2 7 3 8 4 9 5 file2.top 9 1 0.000000e+00 1.000000e+00 0.0 3 2 4 3 2 4 1 2 0.000000e+00 1.500000e+00 0.0 3 2 4 3 2 4 1 3 0.000000e+00 2.000000e+00 0.0 5 1 4 2 3 2 4 3 2 4 1 4 5.000000e-01 1.000000e+00 0.0 2 3 2 4 1 5 5.000000e-01 1.500000e+00 0.0 2 3 2 4 1 6 5.000000e-01 2.000000e+00 0.0 3 2 3 3 2 4 1 7 1.000000e+00 1.000000e+00 0.0 2 3 2 4 1 8 1.000000e+00 1.500000e+00 0.0 2 3 2 4 1 9 1.000000e+00 2.000000e+00 0.0 3 2 3 3 2 4 1 4 1 5 1 4 5 2 1 0 0 0 4 2 2 5 2 5 6 3 1 0 0 3 4 2 3 5 4 7 8 5 1 0 0 0 0 2 4 5 5 8 9 6 1 0 0 3 0 2 1 1 2 0 3 0 4 2 5 0 6 0 7 5 8 6 9 7 file3.top 9 1 1.000000e+00 0.000000e+00 0.0 3 2 1 3 3 4 1 2 1.000000e+00 5.000000e-01 0.0 2 3 3 4 1 3 1.000000e+00 1.000000e+00 0.0 2 3 3 4 1 4 1.500000e+00 0.000000e+00 0.0 3 2 1 3 3 4 1 5 1.500000e+00 5.000000e-01 0.0 2 3 3 4 1 6 1.500000e+00 1.000000e+00 0.0 2 3 3 4 1 7 2.000000e+00 0.000000e+00 0.0 5 1 2 2 1 2 2 3 3 4 1 8 2.000000e+00 5.000000e-01 0.0 3 2 2 3 3 4 1 9 2.000000e+00 1.000000e+00 0.0 3 2 2 3 3 4 1 4 1 5 1 4 5 2 1 1 0 0 0 3 2 5 2 5 6 3 1 0 0 0 0 3 3 5 4 7 8 5 1 1 2 0 0 3 4 5 5 8 9 6 1 0 2 0 0 3 1 3 2 4 3 5 4 0 5 0 6 8 7 0 8 0 9 9 file4.top 9 1 1.000000e+00 1.000000e+00 0.0 2 3 4 4 1 2 1.000000e+00 1.500000e+00 0.0 2 3 4 4 1 3 1.000000e+00 2.000000e+00 0.0 3 2 3 3 4 4 1 4 1.500000e+00 1.000000e+00 0.0 2 3 4 4 1 5 1.500000e+00 1.500000e+00 0.0 2 3 4 4 1 6 1.500000e+00 2.000000e+00 0.0 3 2 3 3 4 4 1 7 2.000000e+00 1.000000e+00 0.0 3 2 2 3 4 4 1 8 2.000000e+00 1.500000e+00 0.0 3 2 2 3 4 4 1 9 2.000000e+00 2.000000e+00 0.0 5 1 3 2 2 2 3 3 4 4 1 4 1 5 1 4 5 2 1 0 0 0 0 4 2 5 2 5 6 3 1 0 0 3 0 4 3 5 4 7 8 5 1 0 2 0 0 4 4 5 5 8 9 6 1 0 2 3 0 4 1 5 2 6 3 7 4 8 5 0 6 0 7 9 8 0 9 0 File convert.pr contains: begsec_files topology_file file.top mesh_format t3d edge_numbering 1 endsec_files begsec_convert output_file_name file.msh conversion_type SIFEL2GID processing paral number_of_files 4 endsec_convert The results - file1.msh file2.msh file3.msh file4.msh contain of mesh in GID topology format. file1.msh MESH "1-Quads4" dimension 3 Elemtype Quadrilateral Nnode 4 Coordinates 1 0.000000e+00 0.000000e+00 0.000000e+00 2 0.000000e+00 5.000000e-01 0.000000e+00 3 0.000000e+00 1.000000e+00 0.000000e+00 4 5.000000e-01 0.000000e+00 0.000000e+00 5 5.000000e-01 5.000000e-01 0.000000e+00 6 5.000000e-01 1.000000e+00 0.000000e+00 7 1.000000e+00 0.000000e+00 0.000000e+00 8 1.000000e+00 5.000000e-01 0.000000e+00 9 1.000000e+00 1.000000e+00 0.000000e+00 end Coordinates Elements 1 1 4 5 2 1 2 2 5 6 3 1 3 4 7 8 5 1 4 5 8 9 6 1 end Elements file2.msh MESH "5-Quads4" dimension 3 Elemtype Quadrilateral Nnode 4 Coordinates 10 0.000000e+00 1.000000e+00 0.000000e+00 11 0.000000e+00 1.500000e+00 0.000000e+00 12 0.000000e+00 2.000000e+00 0.000000e+00 13 5.000000e-01 1.000000e+00 0.000000e+00 14 5.000000e-01 1.500000e+00 0.000000e+00 15 5.000000e-01 2.000000e+00 0.000000e+00 16 1.000000e+00 1.000000e+00 0.000000e+00 17 1.000000e+00 1.500000e+00 0.000000e+00 18 1.000000e+00 2.000000e+00 0.000000e+00 end Coordinates Elements 5 10 13 14 11 1 6 11 14 15 12 1 7 13 16 17 14 1 8 14 17 18 15 1 end Elements file3.msh MESH "9-Quads4" dimension 3 Elemtype Quadrilateral Nnode 4 Coordinates 19 1.000000e+00 0.000000e+00 0.000000e+00 20 1.000000e+00 5.000000e-01 0.000000e+00 21 1.000000e+00 1.000000e+00 0.000000e+00 22 1.500000e+00 0.000000e+00 0.000000e+00 23 1.500000e+00 5.000000e-01 0.000000e+00 24 1.500000e+00 1.000000e+00 0.000000e+00 25 2.000000e+00 0.000000e+00 0.000000e+00 26 2.000000e+00 5.000000e-01 0.000000e+00 27 2.000000e+00 1.000000e+00 0.000000e+00 end Coordinates Elements 9 19 22 23 20 1 10 20 23 24 21 1 11 22 25 26 23 1 12 23 26 27 24 1 end Elements file4.msh MESH "13-Quads4" dimension 3 Elemtype Quadrilateral Nnode 4 Coordinates 28 1.000000e+00 1.000000e+00 0.000000e+00 29 1.000000e+00 1.500000e+00 0.000000e+00 30 1.000000e+00 2.000000e+00 0.000000e+00 31 1.500000e+00 1.000000e+00 0.000000e+00 32 1.500000e+00 1.500000e+00 0.000000e+00 33 1.500000e+00 2.000000e+00 0.000000e+00 34 2.000000e+00 1.000000e+00 0.000000e+00 35 2.000000e+00 1.500000e+00 0.000000e+00 36 2.000000e+00 2.000000e+00 0.000000e+00 end Coordinates Elements 13 28 31 32 29 1 14 29 32 33 30 1 15 31 34 35 32 1 16 32 35 36 33 1 end Elements Jaroslav Broz 2010-11-11 |