To export a model from the ANSYS program to another application, use menu path or the CDWRITE command within the general preprocessor, PREP7. This produces a coded database file called Jobname.cdb. You specify the jobname using or the /FILNAME command. If you supply no jobname, the ANSYS program uses the default name "file".
The Jobname.cdb file contains selected geometry (nodes and elements), load items, and other model data in terms of ANSYS input commands. (For a complete list of data in the file, see the CDWRITE description in the Command Reference.) You can convert this information to a format compatible with the program into which you are importing it. The next few pages describe special considerations and commands you may need to do this conversion.
Note: Files created by the CDWRITE command have the active coordinate system set to Cartesian (CSYS, 0).
ANSYS may create parameters in the CDWRITE file that start with an underscore (_), usually an “_z.” Such parameters are for ANSYS internal use and pass information to the ANSYS GUI.
The ANSYS program uses a set of default labels for the degrees of freedom. You use these labels when entering boundary conditions, or ANSYS uses the labels when writing the Jobname.cdb file.
You can change the labels to reflect the degrees of freedom of the other program by issuing the command /DFLAB. If you are customizing the DOF labels, /DFLAB must be the first command you enter within the ANSYS program. You may want to include the command in your START.ANSfile. You can use /DFLAB only at the Begin processing level.
/DFLAB assigns or reassigns the "displacement" and "force" labels in the ANSYS DOF list. For example, degree of number 1 is predefined to have a displacement label of UX and a force label of FX, but you can assign new labels to this DOF using by issuing /DFLAB. Changing predefined labels generates a warning message.
The format for the /DFLAB command is:
/DFLAB,NDOF,LabD,LabFNDOF
ANSYS degree of freedom number (1 to 32)
LabD
Displacement degree of freedom label to be assigned (up to four characters)
LabF
Force label to be assigned (up to four characters)
You can also use /DFLAB to assign labels to spare degree of freedom numbers. Spare displacement and force labels are from 13 to 18 and from 27 to 32. All other DOF numbers are predefined, as follows:
| DOF Number | Corresponding Displacement Label | Corresponding Force Label |
|---|---|---|
| 1 | UX | FX |
| 2 | UY | FY |
| 3 | UZ | FZ |
| 4 | ROTX | MX |
| 5 | ROTY | MY |
| 6 | ROTZ | MZ |
| 7 | AX | CSGX |
| 8 | AY | CSGY |
| 9 | AZ | CSGZ |
| 10 | VX | VFX |
| 11 | VY | VFY |
| 12 | VZ | VFZ |
| 19 | PRES | FLOW |
| 20 | TEMP | HEAT |
| 21 | VOLT | AMPS |
| 22 | MAG | FLUX |
| 23 | ENKE | NPKE |
| 24 | ENDS | NPDS |
| 25 | EMF | CURT |