extract 1d element surface geometry

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

is it possible to extract the external surface of 1D cbeam element?

section and size are defined with pbeaml property

Tagged:

Answers

  • Udhay Rohith
    Udhay Rohith Altair Community Member
    edited May 2017

    Hi Leox,

     

    I think you can use solid map for this. First at the end of the 1D elements put 2D elements with dia at the end of the wire and create Solid (hex) elements by using node path option. select  beam nodes as node path. 

     

    After that you can use sureface--> from Geometry option to create geometry in hypermesh.

     

     

    <?xml version="1.0" encoding="UTF-8"?>fresh1.PNG

     

    <?xml version="1.0" encoding="UTF-8"?>fresh2.PNG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2017

    @leox

     

    You can try below script whcih works with PBARL and PBEAML elements. 

    <?xml version="1.0" encoding="UTF-8"?>BARtoShell.PNG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2017

    Hi Leox,

    There is no direct option available to extract the geometry from 1D elements. 

    Similarly as the option above you can also try with the drag option (2D>Drag)  to create a surface and/or mesh by dragging a series of nodes or lines, or to create elements by dragging selected elements.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    thanks to all for your replies.

    I found a way to export geometry from all CBEAM elements of model automatically. It works perfect with circular section elements.

     

     

  • Udhay Rohith
    Udhay Rohith Altair Community Member
    edited August 2017

    Hi leox,

     

    Is it possible to share ?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    is a c++ code that i wrote, working from .fem file.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    Hi Leox, could you tell where are the information of 1d element geometry (coordinates or? ) in .fem file? I just found the coordinates of notes. I am trying mapping a 1d bar element to 2d element.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    Hi Leox, could you tell where are the information of 1d element geometry (coordinates or? ) in .fem file? I just found the coordinates of notes. I am trying mapping a 1d bar element to 2d element.

    Hi Bin,

    you can find information about coordinates and element ID in 'Bulk data' section of Hypermesh user guide.

    how much 1D elements are in your .fem file?

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    Hi Bin,

    you can find information about coordinates and element ID in 'Bulk data' section of Hypermesh user guide.

    how much 1D elements are in your .fem file?

     

    hi Leox,

     

    Thank you for your answer. I just got the result of 1d optimization, and do not formally start my work. But the number of 1d elements should be not large. 

     

    In your method, with  your c++ code the fem file will be modified, and when you input it back to hypermesh, the 3d geometry is ready? Could you tell me your process? Because I would like to get a 2d geometry of optimization based on 1d beam, then modify it and mesh it to a new 2d model for calculation. If I use a cad software for the middle step, it seems that  I cannot get a automatisch process.  Now I am thinking of different ideas without help of a cad software. For example, Prakash above also mentioned the method with a script. 

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    hi Leox,

     

    Thank you for your answer. I just got the result of 1d optimization, and do not formally start my work. But the number of 1d elements should be not large. 

     

    In your method, with  your c++ code the fem file will be modified, and when you input it back to hypermesh, the 3d geometry is ready? Could you tell me your process? Because I would like to get a 2d geometry of optimization based on 1d beam, then modify it and mesh it to a new 2d model for calculation. If I use a cad software for the middle step, it seems that  I cannot get a automatisch process.  Now I am thinking of different ideas without help of a cad software. For example, Prakash above also mentioned the method with a script. 

    In my method the FEM file is converted in IGES file.

    The whole geometry of the model is ready (1d and 3d elements) and you can eventually edit on CAD software before importing on HM again.

    You get 3d geometry of 1d CBEAM elements, with assigned PBEAML property.

    Actually i m not sharing it.

    If you want to test you can send me the .fem file and i will send you back IGES.

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    In my method the FEM file is converted in IGES file.

    The whole geometry of the model is ready (1d and 3d elements) and you can eventually edit on CAD software before importing on HM again.

    You get 3d geometry of 1d CBEAM elements, with assigned PBEAML property.

    Actually i m not sharing it.

    If you want to test you can send me the .fem file and i will send you back IGES.

     

     

    Hi Leox,

     

    Thank you for your help. Right now I do not need to test something, but focus on different ideas.

    Have you known or tried 'ossmooth' for this process? 

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2018

    @leox

     

    You can try below script whcih works with PBARL and PBEAML elements. 

    <?xml version="1.0" encoding="UTF-8"?>BARtoShell.PNG

    this script does not work for my model

    it says, the properties are not valid Nastran PBEAML T-beams

    i tried both nastran and optistruct 

     

    i am using HW2017

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2018

    can anybody help this item?

  • selman djeffal
    selman djeffal Altair Community Member
    edited June 2020

    Hi Leox,

     

    I think you can use solid map for this. First at the end of the 1D elements put 2D elements with dia at the end of the wire and create Solid (hex) elements by using node path option. select  beam nodes as node path. 

     

    After that you can use sureface--> from Geometry option to create geometry in hypermesh.

     

     

    <?xml version="1.0" encoding="UTF-8"?>fresh1.PNG

     

    <?xml version="1.0" encoding="UTF-8"?>fresh2.PNG

    is there a tutorial on how you made  it  !!! 

  • Satyanegara
    Satyanegara Altair Community Member
    edited August 2020

    /index.php?/profile/46476-leox/&do=hovercard' data-mentionid='46476' href='<___base_url___>/index.php?/profile/46476-leox/' rel=''>@leox

     

    You can try below script whcih works with PBARL and PBEAML elements. 

    <?xml version="1.0" encoding="UTF-8"?>BARtoShell.PNG

    Where did you get this script? I can't find it

  • Satyanegara
    Satyanegara Altair Community Member
    edited August 2020

    /index.php?/profile/46476-leox/&do=hovercard' data-mentionid='46476' href='<___base_url___>/index.php?/profile/46476-leox/' rel=''>@leox

     

    You can try below script whcih works with PBARL and PBEAML elements. 

    <?xml version="1.0" encoding="UTF-8"?>BARtoShell.PNG

    I'm sorry, where did you find these? How do I access it?

  • Satyanegara
    Satyanegara Altair Community Member
    edited August 2020

    thanks to all for your replies.

    I found a way to export geometry from all CBEAM elements of model automatically. It works perfect with circular section elements.

     

     

    Hi leox,

     

    Could you help me with how you do it? Because my fem file have a lot of 1D element that I want to convert to 2D shell element