*pressuresonentity
Creates a pressure load on a surface or an element.
Syntax
*pressuresonentity entity_type mark_id nodes_mark_id x y z magnitude breakangle onface
Type
HyperMesh Tcl Modify
Description
Creates a pressure load on a surface or an element.
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.
- nodes_mark_id
- The ID of the mark containing nodes that lie on the face of one or more elements (solids only).
- x
- X component of pressure.
- y
- Y component of pressure.
- z
- 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.
Example
To apply a pressure of 4 on surface 11:
*createmark surfaces,1 11
*pressuresonentity surfaces 1 1 0 0 0 4 30 1
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}