*createsolverkeyword
Creates an entity by specifying the solver keyword.
Syntax
*createsolverkeyword ?keyword? ?entitytype? ?includeFileName?
Type
HyperMesh Tcl Modify Command
Description
This command creates an entity that has a mapped solver keyword by just specifying the keyword. The keywords are sourced from the solver browser.
Inputs
- keyword
- The string specifying the keyword.
- entitytype
- An optional argument to specify the entity type if the mapping is predetermined. If the same keyword is featured in two different entity types, then the entity type can be specified.
- includeFileName
- An optional argument to specify the include file name in which this keyword is to be created. If include file name is not specified it will be created in current include.
Examples
To create CONTACT entity in OptiStruct:
*createsolverkeyword "CONTACT"
To create *SURFACE INTERACTION in Abaqus:
*createsolverkeyword "\*SURFACE INTERACTION"
To create *NSET in Abaqus in include
“load_data”:
*createsolverkeyword "\*NSET" sets "load_data"
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
2025.1