Format of OS files

CrisWu
CrisWu New Altair Community Member
edited October 2020 in Community Q&A

According to the FEKO user manual, the os file ( surface current density) format is  following:

 

Num X Y Z Re(Jx) Im(Jx) Re(Jy) Im(Jy) Re(Jz) Im(Jz) ...
... Abs(Jcorn1) Abs(Jcorn2) Abs(Jcorn3) ...
... Re(Jx_c1) Im(Jx_c1) Re(Jy_c1) Im(Jy_c1) Re(Jz_c1) Im(Jz_c1) ...
... Re(Jx_c2) Im(Jx_c2) Re(Jy_c2) Im(Jy_c2) Re(Jz_c2) Im(Jz_c2) ...
... Re(Jx_c3) Im(Jx_c3) Re(Jy_c3) Im(Jy_c3) Re(Jz_c3) Im(Jz_c3)

 

My question is  what does  c1,c2,c3 means ?  The current at three corners of triangles?  The X Y Z value seems to be the center of triangle( i checked with mesh file) . 

 

if they corners of triangles , how to determine their coordinates. Does any one have a clue ?

 

Thanks. 

 

Cris 

 

 

Tagged:

Answers

  • Johan_Huysamen
    Johan_Huysamen
    Altair Employee
    edited March 2016

    Dear Cris

     

    Yes, c1, c2 and c3 refers to corner1, corner2 and corner3.

     

    The locations of the corners can be written to the FEKO *.out file using the 'Export to the FEKO *.out file' option for Geometry under the General tab of the Solver settings in CADFEKO.

     

    Your FEKO *.out file should then contain a section such as below:


     

                              DATA OF THE METALLIC TRIANGLES   no.       label     x1 in m     y1 in m     z1 in m       edges            medium     x2 in m     y2 in m     z2 in m           medium     x3 in m     y3 in m     z3 in m                        nx          ny          nz          area in m*m         1 Cuboid   1.0000E+00  0.0000E+00  1.0000E+00            1         2         3                                Free s   9.2172E-01  7.3931E-02  1.0000E+00           Free s   9.1669E-01  0.0000E+00  1.0000E+00                    0.0000E+00  0.0000E+00  1.0000E+00      3.0797E-03         2 Cuboid   1.0000E+00  8.3374E-02  1.0000E+00           -1         4         5                                Free s   9.2172E-01  7.3931E-02  1.0000E+00           Free s   1.0000E+00  0.0000E+00  1.0000E+00

    In the above corner1 is given by (x1,y1,z1), corner2 by (x2,y2,z2) etc.

  • CrisWu
    CrisWu New Altair Community Member
    edited November 2020

     

    Dear John, 

     

    Thanks. By looking at the out file, i can find the corrdinates for each corner of a triangle,  However, something is strange when it comes to the OS file.  

    As you can see from the out file, the second corner of trinagle 1 is also the second corner of triangle 2, but in the OS file , the electric current density at corner 2  of triangle1 and 2 are different. This doesn't make sense to me, they are at the same position, so their current density should be the same.

     

     


                             DATA OF THE METALLIC TRIANGLES

     no.       label     x1 in m     y1 in m     z1 in m       edges 
              medium     x2 in m     y2 in m     z2 in m
              medium     x3 in m     y3 in m     z3 in m
                           nx          ny          nz          area in m*m
            1 Union1   0.0000E+00  1.3900E-01  0.0000E+00            1         2                               
                        0   1.9586E-03  1.3710E-01  0.0000E+00
                        0   2.8494E-03  1.3900E-01  0.0000E+00
                             0.0000E+00  0.0000E+00  1.0000E+00      2.7097E-06
            2 Union1   0.0000E+00  1.3601E-01  0.0000E+00           -1         3                               
                        0   1.9586E-03  1.3710E-01  0.0000E+00
                        0   0.0000E+00  1.3900E-01  0.0000E+00
                             0.0000E+00  0.0000E+00  1.0000E+00      2.9245E-06
            3 Union1   2.5267E-02  1.3900E-01  0.0000E+00            4      

     

     

     

    #Characteristic Mode Index: 1
    #No. of Header Lines: 1
    #                 'Num'             'X'               'Y'               'Z'               'Re(Jx)'          'Im(Jx)'          'Re(Jy)'          'Im(Jy)'          'Re(Jz)'          'Im(Jz)'          'Abs(Jcorn1)'     'Abs(Jcorn2)'     'Abs(Jcorn3)'     'Re(Jx_c1)'       'Im(Jx_c1)'       'Re(Jy_c1)'       'Im(Jy_c1)'       'Re(Jz_c1)'       'Im(Jz_c1)'       'Re(Jx_c2)'       'Im(Jx_c2)'       'Re(Jy_c2)'       'Im(Jy_c2)'       'Re(Jz_c2)'       'Im(Jz_c2)'       'Re(Jx_c3)'       'Im(Jx_c3)'       'Re(Jy_c3)'       'Im(Jy_c3)'       'Re(Jz_c3)'       'Im(Jz_c3)'       
                      1                 1.60267301E-03    1.38366026E-01    0.00000000E+00    -6.00105204E-01   0.00000000E+00    -1.46378183E-01   0.00000000E+00    0.00000000E+00    0.00000000E+00    9.70146150E-01    6.79031533E-01    3.12246041E-01    -9.70146150E-01   0.00000000E+00    0.00000000E+00    0.00000000E+00    0.00000000E+00    0.00000000E+00    -5.17923422E-01   0.00000000E+00    -4.39134548E-01   0.00000000E+00    0.00000000E+00    0.00000000E+00    -3.12246041E-01   0.00000000E+00    0.00000000E+00    0.00000000E+00    0.00000000E+00    0.00000000E+00    
                      2                 6.52869335E-04    1.37370583E-01    0.00000000E+00    1.47271182E-01    0.00000000E+00    -1.30962443E+00   0.00000000E+00    0.00000000E+00    0.00000000E+00    1.61571009E+00    1.44052091E+00    9.42068288E-01    0.00000000E+00    0.00000000E+00    -1.61571009E+00   0.00000000E+00    0.00000000E+00    0.00000000E+00    4.41813547E-01    0.00000000E+00    -1.37109492E+00   0.00000000E+00    0.00000000E+00    0.00000000E+00    0.00000000E+00    0.00000000E+00    -9.42068288E-01   0.00000000E+00    0.00000000E+00    0.00000000E+00    

     

     

     

    Unable to find an attachment - read this blog