Command file/node number

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi all,

I am currently setting up a parameter optimization which combines Catia, Hypermesh, Bathmesher, and Ansys.

I am having the following problm right now:

When I generate a command file to set up the external loads I have to know the nodal forces, as I cannot type in the global force.

As my node numbers vary from design to design, I somehow have to divide the global force by the node number and use this value for the load. I came up with a TCL script, which can deal with this, but is there a possibility to do this with a command file?

*createmark nodes 1 'displayed'

set NoNodes2 [hm_count nodes displayed 0 0]

set ForcePerNode [expr {$Force / double($NoNodes1)}]

Hope someone can help.

Find more posts tagged with

Sort by:
1 - 1 of 11