XML Format

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi, I meshed my geometry and now I want to export my mesh in XML format. what should I do? I need BCs to be in one XML file and also my whole domain to another XML file. please help me with this

Tagged:

Answers

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited February 2018

    If Hypermesh can't export to your XML format, you can always make yourself a customized template for that.

    Show us your XML files if you want some help.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2018

    What do you mean by showing my XML files? because I did not make it yet. Also, could you pleas tell me that how I can make customized template? should I write Code for that? and what type of language should I use?

    sincerely

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited February 2018

    But you have to have some idea about this XML, right?

    Here's an example for XML used by Siemens NX:

     <Nodes Mime='' Url=''>     <Node Num='1' X='-1.23978216E3' Y='2.511229351E2' Z='25427.' />     <Node Num='2' X='-1.22156307E3' Y='2.532948137E2' Z='25427.' />     <Node Num='3' X='-1.21863544E3' Y='2.513540115E2' Z='25427.' />     <Node Num='4' X='-1.2166752E3' Y='2.484453106E2' Z='25427.' />     <Node Num='5' X='-1.21021802E3' Y='2.511229351E2' Z='25427.' />     <Node Num='6' X='-1.21368638E3' Y='2.563137087E2' Z='25427.' />     <Node Num='7' X='-1.21887716E3' Y='2.597820727E2' Z='25427.' />     <Node Num='8' X='-1.22500009E3' Y='2.610000002E2' Z='25427.' />     <Node Num='9' X='-1225.' Y='254.' Z='25427.' /> </Nodes>  <Elements Mime='' Url=''>     <Element Num='1' Family='TNS_4' Type='MINDLIN' Nodes='22;21;24;23'/>     <Element Num='2' Family='TNS_4' Type='MINDLIN' Nodes='21;20;25;24'/>     <Element Num='3' Family='TNS_4' Type='MINDLIN' Nodes='20;19;26;25'/>     <Element Num='4' Family='TNS_4' Type='MINDLIN' Nodes='19;18;27;26'/>     <Element Num='5' Family='TNS_4' Type='MINDLIN' Nodes='13;12;15;14'/>     <Element Num='6' Family='TNS_4' Type='MINDLIN' Nodes='12;11;16;15'/>     <Element Num='7' Family='TNS_4' Type='MINDLIN' Nodes='11;10;17;16'/>     <Element Num='8' Family='TNS_4' Type='MINDLIN' Nodes='10;22;23;17'/> </Elements>

    So this XML format should be in .... your brain firstly!

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited February 2018

    Here's my note about XML export from HM:

     

    https://www2.gdtech.eu/wp/2018/02/from-hypermesh-to-xml-format/

     

    HTH,