Get Node Coordinates with DGRIDB in DRESP3 card

Marcel_21661
Marcel_21661 Altair Community Member
edited September 2021 in Community Q&A

Hello Guys,

I am currently working on implementing an external response via DRESP3 into my optimization model. For the calculations in Altair Compose I need to pass the coordinates of certain nodes as input parameters onto compose. I want to do that with the definition of DGRIDB-Nodes. Unfortunately only the x-coordinate and the ID of each selected node "arrives" in Compose in the rparam Vector. But I need to have all three Coordinates there. Does anyone know this problem or has a solution for it?

 

Thanks

Answers

  • Andrew Atkinson
    Andrew Atkinson Altair Community Member
    edited August 2021

    Did you ever find a solution to this? I am having similar trouble

  • Marcel_21661
    Marcel_21661 Altair Community Member
    edited September 2021

    Did you ever find a solution to this? I am having similar trouble

    Yes I have got the solution. To get all three coordinates you have to create three DGRIDB data entries for each node. The structure of the DGRIDB in the solver deck looks like that: + DGRIDB [node ID] [component] while the component marks which coordinate you want to use (1=X; 2=Y; 3=Z). When you want to pass on the XYZ coordinates of node 1 in the rparam vector, the code should look like that: + DGRIDB 1 1 + DGRIDB 1 2 + DGRIDB 1 3 However, the DGRIDB is not able to transfer the coordinates of the nodes after the load was applied. It can be used for the change in coordinates after shape alternation. Hope I could help.