*pressuresonentity_curve

Creates a pressure load on a mark of elements, surfaces, components or sets, potentially with its magnitude defined by a curve.

Syntax

*pressuresonentity_curve geomtype markmask facenodes x_comp y_comp z_comp magnitude breakangle onface xlocation ylocation zlocation curve_id x_scale

Type

HyperMesh Tcl Modify Command

Description

Creates a pressure load on a mark of elements, surfaces, components or sets, potentially with its magnitude defined by a curve.

Inputs

geomtype
Type of entity the load is applied on. (e.g. surfs or elems).
markmask
The ID of the mark of entities on which to apply the pressure.
facenodes
The ID of the mark containing nodes that lie on the face of one or more elements (solids only).
x_comp
The x-component of pressure.
y_comp
The y-component of pressure.
z_comp
The z-component of pressure.
magnitude
The magnitude of the pressure.
breakangle
The break angle of a solid face.
onface
A logical which determines whether pressures are being applied to faces.
xlocation, ylocation, zlocation
For loads on components or sets, you may wish to supply a display location for where HyperMesh should draw the graphical image for the load. If these three values are 999999, or more than one entity is selected, HyperMesh will generate a display location from the contents of the components or sets.
magnitude
The magnitude of the pressure.
curve_id
The ID of a curve defining the magnitude of the load vs time.
x_scale
A scale factor applied to the x-axis (or time axis) of the curve.

Example

To apply a pressure of 4 to the elements of a component, using the curve with ID 9 to vary this magnitude over time:

*createmark(components,1) "container"
*createmark(nodes,1)
*pressuresonentity_curve(comps,1,1, 0,0,0, 4,30,1, 0,0,0, 9, 1.0)

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}