TCL/TK commads for HvTrans

Akshay Manthekar
Akshay Manthekar Altair Community Member
edited August 2022 in Community Q&A

Hi guys,

I have been searching in Altair documentation for tcl/tk commands for HvTrans but I could only found HgTrans. Do anyone know where or if those commands can be found?

If they are not there, is there any way we can use automation for HvTrans to extract h3d files?

image

Your help is much appreciated!!

Answers

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited July 2022

    Can you elaborate a little bit better what are you trying to acomplish here?

    Is HVTrans the right tool for you? Why not Compose, or HyperView itself?

  • Akshay Manthekar
    Akshay Manthekar Altair Community Member
    edited July 2022

    Hi Adriano,

    Thanks for the reply.

    I am trying to develop a tool which would work on HPC cluster. It would read the op2 result file and create .h3d files for each mode shapes on the cluster itself so we can download them for reviewing the mode shapes instead of downloading op2 file (which may be very large in size).

    I hope now you got what my objective is..

    Thanks in anticipation..

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited July 2022

    Hi Adriano,

    Thanks for the reply.

    I am trying to develop a tool which would work on HPC cluster. It would read the op2 result file and create .h3d files for each mode shapes on the cluster itself so we can download them for reviewing the mode shapes instead of downloading op2 file (which may be very large in size).

    I hope now you got what my objective is..

    Thanks in anticipation..

    If I'm not wrong HVTrans has a config file that allows you to run in batch mode.

    You can probably check this option in the GUI, and export a config file to use in btach later in your HPC.

    image

  • Akshay Manthekar
    Akshay Manthekar Altair Community Member
    edited August 2022

    Hi Adriano,

    Thank you so much for the information. It really helped me to develop the program as per my requirement.

    I have one more question though. When I tick the "Output H3D for every step" box and running the hvTrans after selecting desired mode no., it is giving me one "master" file and separate file for each mode no (Please see the image below) and when I open the particular file into hyperview, it is showing error that results are not attached.

    Sometimes I need only 1 mode file instead of all the modes. Is there any way to do this?image

    Note: Results are showing properly when I open the first file, but opening other files for individual mode, it is giving error.

     

    Thanks in anticipation.

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited August 2022

    Hi Adriano,

    Thank you so much for the information. It really helped me to develop the program as per my requirement.

    I have one more question though. When I tick the "Output H3D for every step" box and running the hvTrans after selecting desired mode no., it is giving me one "master" file and separate file for each mode no (Please see the image below) and when I open the particular file into hyperview, it is showing error that results are not attached.

    Sometimes I need only 1 mode file instead of all the modes. Is there any way to do this?image

    Note: Results are showing properly when I open the first file, but opening other files for individual mode, it is giving error.

     

    Thanks in anticipation.

    Not the ideal solution, but what if you call HVTRANS multiple times, generating 1 H3D for each mode separately?

  • Akshay Manthekar
    Akshay Manthekar Altair Community Member
    edited August 2022

    Even if I call HvTrans each time, it still generates master file and the file ending with 0000.

  • Adriano A. Koga
    Adriano A. Koga
    Altair Employee
    edited August 2022

    Even if I call HvTrans each time, it still generates master file and the file ending with 0000.

    but if you call HVTRANS and uncheck 'Output H3D for each...'?

  • Akshay Manthekar
    Akshay Manthekar Altair Community Member
    edited August 2022

    Thanks for the suggestion.

    I will surely try it