*readnodepositionsfromdynainfile

Moves nodes in the current model to positions given in a dynain file.

Syntax

*readnodepositionsfromdynainfile path options

Type

HyperMesh Tcl Modify

Description

Moves nodes in the current model to positions given in a dynain file. Optionally, initial stress of elements may be read.

A valid LS-DYNA model must be loaded.

Inputs

path
The full path and file name of the dynain file.
options
A string list of options that define which cards to read. The string may include initial_stress_beam initial_stress_shell and initial_stress_solid.

Example

To read node positions from C:/Users/default/dynain:

*readnodepositionsfromdynainfile "C:/Users/default/dynain"

To read node positions and initial_stress_solid from C:/Users/default/dynain:

*readnodepositionsfromdynainfile "C:/Users/default/dynain" "initial_stress_solid"

To read node positions and all initial_stress cards from C:/Users/default/dynain:

*readnodepositionsfromdynainfile "C:/Users/default/dynain" "initial_stress_beam initial_stress_shell initial_stress_solid"

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

2017.1