# ::hwat::utils::CreateRigidWallBarrier

Creates a Rigid Wall barrier, both flat or angled.

## Syntax

::hwat::utils::CreateRigidWallBarrier barrierName gap JNode JHeightVehicle friction location angle numOfWalls {wallDims} assemName bcicType

## 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 name of the HWAT vehicle assembly.
Default = Vehicle.
bcicType
The BCIC type.
Default = FRONT.
Only FRONT is currently supported.

Success
1
Failure
{}

## Example

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