Is it possible to use a formula for the amplitude of a force?

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

Is there a way to enter a mathematical formula to regulate the amplitude of a force?

Thanks.

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2013

    If it's not possible with 'Forces' panel, you can write a Tcl script to do that.

  • tinh
    tinh Altair Community Member
    edited April 2013

    Is there a way to enter a mathematical formula to regulate the amplitude of a force?

    Thanks.

    Hi,

    Depends on what you want to regulate the force for, if it is position (coordinates x, y, z) try switching 'magnitude' to 'equation'. I have post an example here:

    http://forum.altairhyperworks.com/index.php?/topic/1458-creating-cylindrical-coordinate-system-and-selecting-nodes-in-an-area-within-certain-angular-limits-and-applying-pressure-as-an/

    if it is time, switch 'magnitude' to 'curve, vector', make a curve describes time-dependent force amplitude by your mathematical formula

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2013

    There is a macro that Altair provides with HyperMesh that lets you define forces, pressures, temperatures, etc using equation definitions.  It's located in your  HyperWorks11_install_directory\hm\scripts\dlm\mathbc.tcl.  You can add a line similar to the following to your usermacro page to launch it:


     *createbutton(2, 'FieldLoads', 0, 5, 5, BUTTON, 'Create load by equations.', 'tcl_script', 'mathbc.tcl')

    If it doesn't do exactly what you need, at least this script will give you a good starting point.