*nodecreatebetweennodes

Create nodes or points on line or surface between given list of nodes.

Syntax

*nodecreatebetweennodes entity_type entity_id node_list num_intervals_array array_size biasstyle biasintensity options

Type

HyperMesh Tcl Modify

Description

This command creates nodes or points at points on given line or surface, between given nodes. The input nodes are first projected onto the line or surface. The nodes/points are created between these projected points.

Inputs

entity_type
Valid types are “line” or “surf”.
entity_id
ID of the surface or the line, on which nodes are going to be created.
node_list
List of nodes, between which additional nodes are going to be created.
num_intervals_array
Array containing the number of intervals to be created between each node in the node_list.
array_size
Size of the array num_intervals_array. Note that this size must be always one less than the number of nodes in the node_list.
biasstyle
The type of biasing to use:
  • 0 – Linear biasing
  • 1 – Exponential biasing
  • 2 – Bell-curve biasing
biasintensity
The biasing intensity value. This value must be between -20 and 20.
options
Parameter specifying whether nodes or points are created. Valid values are:
  • 0 – Nodes created.
  • 1 – Points created.

Example

To create nodes on line 12, between nodes 8, 10 and 11, such that we want 20 intervals between nodes 8 and 10, and 5 intervals between nodes 10 and 11:

*createlist nodes 1 8 10 11 
*createarray 2 20 5
*nodecreatebetweennodes lines 12 1 1 2 0 0 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

10.0