Node ids and corresponding Coordinates (X,Y and Z) in .pch file

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

Hi,

I want to get Node ids and corresponding Coordinates (X,Y and Z) in .pch file

Please suggest how to get.

Thanks.

Answers

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited September 2020

    I'm not sure if this is possible in the pch file.

    Can you explain a little better what is your target? Maybe there's a workaround.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2020

    k   Adriano A.koga

    Actually i want to optimize the nodal coordinate positions through hyperstudy.

    For that only i need, another suggestions also welcome.

    Thanks.

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited September 2020

    Can't you use HyperMorph and create some shape variables? (For OS opt directly or HSt).

     

    In HSt if your node coordinates are your variables, you can just parametrize your .fem file and transform the desired coordinates i. design variables.

    There are a few tutorials in HSt help showing how to create a parametrized file (.tpl) and then using it to regenerate your .fem file with the new parameters.

    In OptiStruct, just take care with formatting, as it uses 8 character formatting.

    Or you can wirte your model using free format:

     

    GRID,1,0.0,10.0,0.5

    Then transform it in parametrized file in HSt.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2020

    Thank you Adriano A.koga,

    I am working on this.

    Thanks for your support.