Node.add
From Nemesis
The following article describes the use of the node.add command. This command is used to introduce a new node to the domain.
Contents |
Syntax
node.add(id,x,y,z)
Parameters
Parameter | description | type | default |
---|---|---|---|
id | The nodal id | integer | - |
x | x coordinate | integer | - |
y | y coordinate | integer | 0. |
z | z coordinate | integer | 0. |
Examples
Create node with id 7 at (3., 0., 0.).
node.add( 7, 3.)
Create node with id 7 at (3., 45., 0.).
node.add( 7, 3., 45.)
Create node with id 7 at (3., 45., 21.).
node.add( 7, 3., 45., 21.)