Export Deformed Mesh for Harmonic Analysis

amusthaf
amusthaf Member Posts: 14
Name Dropper First Comment
edited June 2023 in Structures

I want to export the deformed body mesh at a particular frequency and particular phase angle for a harmonic analysis as a .cdb file.

  • Harmonic Analysis - Ansys Mechanical
  • 2021R1

Best Answers

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 712
    First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
    Answer ✓

    You will need to use SET command first and then UPGEOM. UPGEOM updates the deformation based on the current result set.

  • Mike.Thompson
    Mike.Thompson Member, Employee Posts: 234
    First Anniversary First Comment 5 Likes Ansys Employee
    Answer ✓

    UPGEOM will update the geometry based on the SET command.

    You first use SET to process the results at the proper load step, sub step, and phase angle. After you issue that command using the UPGEOM command will update the nodes to that deformed location.

    CDWRITE will then be used to write the .cdb file as binary data

Answers

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 712
    First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer

    @AKD-Scripting-Team can someone help here please? Many thanks

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 712
    First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer

    Hi @amusthaf , my two cents here, I think exporting a .cdb file would be easier through an APDL command snippet.

    You can look into the following commands:

    SET -> this defines the result set

    UPGEOM -> to update the mesh to its deformed configuration

    CDWRITE -> to export the .cdb file

    The screenshot below was created for a static structural analysis but you should be able to adapt it for your analysis.


  • amusthaf
    amusthaf Member Posts: 14
    Name Dropper First Comment

    Thank you for the tips, Pernelle!

    Using UPGEOM I am not able to define the phase angle for a particular Loadstep and Substep. Using Set commands, I am able to define the angle for the particular frequency, but how do I update the geometry to its deformed configuration and export the CDB?