What is the difference between the Compose and the Hypermaths in Hyperworks?Are there any similarities also?

Adarsh Kumar
Adarsh Kumar Altair Community Member
edited July 2021 in Community Q&A

I want to understand in detail because I find them very similar.How one has the edge over the other.

Tagged:

Answers

  • robertavarela
    robertavarela New Altair Community Member
    edited October 2020

    OML (Open-Matrix Language) is one of Compose's languages, which is a derivation of HyperMath. HyperMath will be discontinued as of 2020 and therefore OML must be used instead. The latest versions of HyperWorks already support OML scripts in applications such as HyperMesh, HyperView and so on. Please refer to this topic for more information on this matter:

    https://community.altair.com/community?id=community_question&sys_id=33560cf61b2bd0908017dc61ec4bcbfa

    The languages are very similar, again because OML was born from HyperMath. Therefore there is a utility called H2O, which is a tool used to convert scripts from Altair HyperMath HML language to Altair Compose OML language. H2O is an assistant to convert the scripts, because there are some minor differences in syntax and supported functions between HML and OML.

     

    Regards,

     

    Roberta

  • João Marabisa
    João Marabisa
    Altair Employee
    edited July 2021

    Hi everybody,

    We had a recent question about how to use H2O to convert .hml to .oml. It is pretty easy, below there is a quick step-by-step:

    1 - Move the .hml to the h2o.exe's directory:

    image

    2 - Execute the following command on cmd:

    image

    Then the .hml will be converted to .oml:

    image

    Hope it helps you.

    João.