*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 entity_type mark_id 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

entity_type
Type of entity the load is applied on. (e.g. surfs or elems).
mark_id
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:
0 - Consider the edge
1 - Consider the face
10 - Same as 0 but for shells. Do not consider breakangle, and force all edge loads to have both nodes on facenodes
11 - Same as 1 but for solids. Do not consider breakangle, and force all loads to have all nodes on facenodes
20 - Same as 0 but consider hidden entities
21 - Same as 1 but consider hidden entities
30 - Same as 10 but consider hidden entities
31 - Same as 11 but consider hidden entities
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.
curve_id
The ID of a curve defining the magnitude of the load versus 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
}

Version History

2021 - Added onface values 10, 11, 20, 21, 30 and 31.