NodeAdder
#
- class ansys.dpf.core.nodes.NodeAdder#
Adds a new node to a meshed region.
Examples
Create a meshed region from scratch.
>>> import ansys.dpf.core as dpf >>> meshed_region = dpf.MeshedRegion(num_nodes=4,num_elements=1) >>> i=0 >>> for node in meshed_region.nodes.add_nodes(4): ... node.id = i+1 ... node.coordinates = [float(i), float(i), 0.0] ... i=i+1
Overview#
ID of the node. |
|
Coordinates of the node. |
Import detail#
from ansys.dpf.core.nodes import NodeAdder
Property detail#
- property NodeAdder.id#
ID of the node.
- property NodeAdder.coordinates#
Coordinates of the node.