oSP3D supports the Ansys Mechanical input file format specifications defined in the Command Reference and the blocked and unblocked coded database format defined in the Programmer's Reference. Support is limited to only a few commands and some of their options.
A typical file extension for an Ansys Mechanical input file is .dat. The file extension for the coded database format is usually .cdb.
Compared to the Ansys Mechanical input file syntaxes in the Command Reference and the Programmer's Reference, oSP3D supports only a very restricted number of syntax elements. The following list, not exhaustive, includes some of the limitations:
All characters of any alphabetic or alphanumeric command and of any command option name must be given. You cannot use only the first four characters. oSP3D supports only a few Ansys Workbench abbreviations.
All supported commands are valid in all processors. Most other commands are ignored. Note that this applies only for plain CDB files, not for MAPDL scripts involving loops or parameters which are not supported.
Command | Description | Supported Options | Comments |
---|---|---|---|
CLOCAL | Defines a local coordinate system relative to the active coordinate system | — | Support is limited to track the active coordinate system only. |
CMBLOCK | Defines the entities contained in a node or element component | Cname , Entity ,
NUMITEMS | — |
CS | Defines a local coordinate system by three node locations | — | Support is limited to track the active coordinate system only. |
CSKP | Defines a local coordinate system by three key point locations | Support is limited to track the active coordinate system only. | |
CSWPLA | Defines a local coordinate system at the origin of the working plane | Support is limited to track the active coordinate system only. | |
CSYS | Activates a previously defined coordinate system | — | Support is limited to track the active coordinate system only. |
EBLOCK | Defines a block of elements | NUM_NODES ,
SOLKEY | — |
ET | Defines a local element type from the element library | — | Element name (or number) support is limited to the list given in Element Routines. Other element types are listed as unsupported at the end of the import process. |
N | Defines a node | — | Only the default Cartesian coordinate system is supported. The N command in its slightly different unblocked coded database syntax is supported as well |
NBLOCK | Assigns nodes to a node set | NUMFIELD ,
SOLKEY , NDMAX ,
NDSEL | The final line of the block always has a
-1 for the node number. This is given
either in the unblocked N command syntax as typical for the
CDWRITE command or in the
NBLOCK command syntax as the first
token. Ansys Workbench uses the latter approach. |
LOCAL | Defines a local coordinate system by a location and orientation | Support is limited to track the active coordinate system only. | |
*SET | Assigns values to user-named parameters | — | The equivalent Par = VALUE format is
also supported and translated internally into the
*SET command. Due to the lack of the
*DIM star set command, only scalar
values are supported. Consequently, only one value per line is
supported. Other assignments are skipped.
Par identifier restrictions are
reduced to the character length only. Other violations are not
verified. |
\TITLE | Defines a main title | — | — |
Element Routines
The table lists the element routines that are supported. For more information, see the Element Reference.
Element Routine | Description |
---|---|
PLANE182 | 4 Node Linear 2-D Structural Solid |
PLANE183 | 8 Node Quadratic 2-D Structural Solid |
SHELL28 | 4 Node Structural Linear 3-D Shear/Twist Panel |
SHELL41 | 4 Node Structural Linear 3-D Membrane Shell |
SHELL181 | 4 Node Structural Linear Shell |
SHELL281 | 8 Node Structural Quadratic Shell |
SOLID5 | 8 Node 3-D Linear Coupled-Field Solid |
SOLID65 | 8 Node 3-D Linear Reinforced Concrete Structural Solid |
SOLID70 | 8 Node 3-D Linear Thermal Solid |
SOLID87 | 10 Node 3-D Quadratic Tetrahedral Thermal Solid |
SOLID90 | 20 Node 3-D Quadratic Thermal Solid |
SOLID96 | 8 Node 3-D Linear Magnetic Scalar Solid |
SOLID97 | 8 Node 3-D Linear Magnetic Solid |
SOLID98 | 10 Node 3-D Quadratic Tetrahedral Coupled-Field Solid |
SOLID122 | 20 Node 3-D Quadratic Electrostatic Solid |
SOLID123 | 10 Node 3-D Quadratic Tetrahedral Electrostatic |
SOLID164 | 8 Node 3-D Linear Explicit Structural Solid |
SOLID168 | 10 Node 3-D Quadratic Explicit Tetrahedral Structural Solid |
SOLID185 | 8 Node 3-D Linear Structural Solid |
SOLID186 | 20 Node 3-D Quadratic Structural Solid |
SOLID187 | 10 Node 3-D Quadratic Tetrahedral Structural Solid |
SOLID226 | 20 Node 3-D Quadratic Coupled-Field Solid |
SOLID227 | 10 Node 3-D Quadratic Coupled-Field Solid |
SOLID231 | 20 Node 3-D Quadratic Electric Solid |
SOLID232 | 10 Node 3-D Quadratic Tetrahedral Electric Solid |
SOLID236 | 20 Node 3-D Quadratic Electromagnetic Solid |
SOLID237 | 10 Node 3-D Quadratic Electromagnetic Solid |
SOLID239 | 20 Node 3-D Quadratic Diffusion Solid |
SOLID240 | 10 Node 3-D Quadratic Tetrahedral Diffusion Solid |
SOLID278 | 8 Node 3-D Linear Thermal Solid |
SOLID279 | 20 Node 3-D Quadratic Thermal Solid |
SOLSH190 | 8 Node 3-D Linear Structural Solid Shell |
Note: The oSP3D installation includes a simple Ansys Mechanical input file: ansys.cdb. For more information, see Input File Examples.