Importing Ansys Mechanical Input Files

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.

CommandDescriptionSupported OptionsComments
CLOCALDefines a local coordinate system relative to the active coordinate systemSupport is limited to track the active coordinate system only.
CMBLOCKDefines the entities contained in a node or element componentCname, Entity, NUMITEMS
CSDefines a local coordinate system by three node locationsSupport is limited to track the active coordinate system only.
CSKPDefines a local coordinate system by three key point locations Support is limited to track the active coordinate system only.
CSWPLADefines a local coordinate system at the origin of the working plane Support is limited to track the active coordinate system only.
CSYSActivates a previously defined coordinate systemSupport is limited to track the active coordinate system only.
EBLOCKDefines a block of elementsNUM_NODES, SOLKEY
ETDefines a local element type from the element libraryElement 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.
NDefines a nodeOnly the default Cartesian coordinate system is supported. The N command in its slightly different unblocked coded database syntax is supported as well
NBLOCKAssigns nodes to a node setNUMFIELD, SOLKEY, NDMAX, NDSELThe 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.
LOCALDefines a local coordinate system by a location and orientation Support is limited to track the active coordinate system only.
*SETAssigns values to user-named parametersThe 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.
\TITLEDefines a main title

Element Routines

The table lists the element routines that are supported. For more information, see the Element Reference.

Element RoutineDescription
PLANE1824 Node Linear 2-D Structural Solid
PLANE1838 Node Quadratic 2-D Structural Solid
SHELL284 Node Structural Linear 3-D Shear/Twist Panel
SHELL414 Node Structural Linear 3-D Membrane Shell
SHELL1814 Node Structural Linear Shell
SHELL2818 Node Structural Quadratic Shell
SOLID58 Node 3-D Linear Coupled-Field Solid
SOLID658 Node 3-D Linear Reinforced Concrete Structural Solid
SOLID708 Node 3-D Linear Thermal Solid
SOLID8710 Node 3-D Quadratic Tetrahedral Thermal Solid
SOLID9020 Node 3-D Quadratic Thermal Solid
SOLID968 Node 3-D Linear Magnetic Scalar Solid
SOLID978 Node 3-D Linear Magnetic Solid
SOLID9810 Node 3-D Quadratic Tetrahedral Coupled-Field Solid
SOLID12220 Node 3-D Quadratic Electrostatic Solid
SOLID12310 Node 3-D Quadratic Tetrahedral Electrostatic
SOLID1648 Node 3-D Linear Explicit Structural Solid
SOLID16810 Node 3-D Quadratic Explicit Tetrahedral Structural Solid
SOLID1858 Node 3-D Linear Structural Solid
SOLID18620 Node 3-D Quadratic Structural Solid
SOLID18710 Node 3-D Quadratic Tetrahedral Structural Solid
SOLID22620 Node 3-D Quadratic Coupled-Field Solid
SOLID22710 Node 3-D Quadratic Coupled-Field Solid
SOLID23120 Node 3-D Quadratic Electric Solid
SOLID23210 Node 3-D Quadratic Tetrahedral Electric Solid
SOLID23620 Node 3-D Quadratic Electromagnetic Solid
SOLID23710 Node 3-D Quadratic Electromagnetic Solid
SOLID23920 Node 3-D Quadratic Diffusion Solid
SOLID24010 Node 3-D Quadratic Tetrahedral Diffusion Solid
SOLID2788 Node 3-D Linear Thermal Solid
SOLID27920 Node 3-D Quadratic Thermal Solid
SOLSH1908 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.