OutNicVec()
Print out the NIC appropriate commands from the given coordinate nodes (node as a vector (X,Y,Z)) in the .inp file.
Usage
OutNicVec( fileName=None, nodeX=None, nodeY=None, nodeZ=None)
Parameters
- fileName (string)
- The .inp file name.
- nodeX (string)
- Data base path of the node including the X coordinate.
- nodeY (string)
- Data base path of the node including the Y coordinate.
- nodeZ (string)
- Data base path of the node including the Z coordinate.
Return Value
None
Errors
- The nodeX, nodeY, nodeZ must exist in the data base.
- The fileName must not be None.
Description
nodeNic = ROOT + RS + 'NODAL_INITIAL_CONDITION'
OutNicVec( fileName= "." + name + ".nic",
nodeX = nodeNic + RS + 'x_velocity',
nodeY = nodeNic + RS + 'y_velocity',
nodeZ = nodeNic + RS + 'z_velocity')