Find more posts tagged with
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:
if it is time, switch 'magnitude' to 'curve, vector', make a curve describes time-dependent force amplitude by your mathematical formula
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.
If it's not possible with 'Forces' panel, you can write a Tcl script to do that.