HyperWorks Tools

::hwat::utils::CreateRoad

::hwat::utils::CreateRoad

Previous topic Next topic No expanding text in this topic  

::hwat::utils::CreateRoad

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::utils::CreateRoad - Creates a road in HWAT.

 

SYNTAX

::hwat::utils::CreateRoad  name assemname groundlevel template

 

ARGUMENTS

barrierName

Name to give the barrier.  Finite barriers will be named barriername.0, barriername.1, etc.

gap

The distance between the barrier and the vehicle.

JNode

The ID of the JNode.

JHeightVehicle

The true J height of the vehicle.

friction

The contact friction.

location

The location of the template file.

angle

The angle of the wall about the global z-axis (default = 0.0).

numOfWalls

The number of walls in the barrier.  If 0, then an infinite barrier is created (default = 0).

wallDims

A Tcl list of lists defining the position and dimensions of the walls.  If the numOfWalls is greater than 0, this argument is a must.  Each list should be of the form relative Y base point, relative Z base point, Y dimension, Z dimension (default = "").

For example, if the number of walls is 6:

[list [list 0.0 0.0 30.0 30.0] [list 30.0 0.0 30.0 30.0] [list 60.0 0.0 30.0 30.0] [list 0.0 30.0 30.0 30.0] [list 30.0 30.0 30.0 30.0] [list 60.0 30.0 30.0 30.0] ]

assemName

The vehicle assembly name (default = "VEHICLE").

bcicType

The BCIC type (default = FRONT).  Only FRONT is currently supported.

 

RETURNS

1 if successful, {} otherwise.

 

EXAMPLE

::hwat::utils::CreateRigidWallBarrier HWATFrontRW 10.0 1003 100.0 1.2 "D:/Altair/templates/feoutput/ls-dyna/dyna.key" 45.0 0

 

Comments

Implements RIGIDWALL algorithm.  This function slaves the assembly to the rigid wall.

 

See also

Utils Functions

 

Syntax

 

Arguments

name

The name of the road.

 

assemname

The HWAT assembly name (component entity set) for which to create the road.

 

groundlevel

The ground level (Z height) on which to create the road.

 

template

The location of the template.

Returns

ID of the group created for the road if successful and {} if not.

Example

::hwat::utils::CreateRoad "FRONT1" "TIRE" 2400.00 "D:/Altair/feoutput/templates/ls-dyna/dyna.key".

Comments

Caller should determine Z height from end user or bounding box before calling this function.

 

See also

::hwat::utils::BoundingBox

Utils Functions