'read' [<geo-file> 'rep'|'add']| [<mesh-file> <setname>]| [<list-file> '-n'|'-e'&<column>]This keyword is used to read commands from a file. Most commands can be read from a file but not all of them. In general all basic commands to create geometry are understood and up to know this is the only way to read pre defined geometry or a mesh during run-time. To read commands from a file like pnt, line, node, or seta and so on, type
If a mesh already exists, it is possible to read files written in the mesh format during runtime to define sets of nodes or elements. The command
read mesh.frd part
will create a set of the name part and all nodes and elements listed in the file mesh.frd will be added to that set. But this will not create the nodes and elements described in that file. All nodes and elements must already exist in the database of the program. If a file with the numbers of nodes or elements are not available in the mesh format (.frd) then a so called list-file could be read instead. In such a file either numbers of nodes or elements can be defined. The specified column of numbers is interpreted as a node- or element-number. If ``-n'' is specified the numbers are interpreted as nodes and if ``-e'' is specified the numbers are interpreted as elements. For example
read list-file.txt -e3
will define a set storing names of elements from the third column of file list-file.txt. The created set-name is always the name of the file. This command is especially helpful to visualize the nodes stored in a file defining a certain *BONDARY condition. To generate such a file see send.