Professional Documents
Culture Documents
Go to the Next Chapter Go to the Table of Contents for This Manual Go to the Guides Master Index Chapter 1 * Chapter 2 * Chapter 3 * Chapter 4 * Chapter 5 * Chapter 6 * Chapter 7 * Chapter 8 * Chapter 9 * Chapter 10 * Chapter 11 * Chapter 12 * Chapter 13 * Chapter 14 * Chapter 15 * Chapter 16 * Chapter 17 * Chapter 18 * Chapter 19
By using the initial jobname entry option when you enter the ANSYS program, either via the launcher or on the ANSYS execution command. For details, see the ANSYS Operations Guide. From within the ANSYS program, you can use either of the following: Command(s): /FILNAME GUI: Utility Menu>File>Change Jobname The /FILNAME command is valid only at the Begin level. It lets you change the jobname even if you specified an initial jobname at ANSYS entry. However, the jobname applies only to files you open after using /FILNAME. Files opened before you use /FILNAME, such as the log file, Jobname.LOG, and error file Jobname.ERR, will still have the initial jobname.
PIPE
The element type determines, among other things: The degree-of-freedom set (which in turn implies the discipline-structural, thermal, magnetic, electric, quadrilateral, brick, etc.) Whether the element lies in two-dimensional or three-dimensional space. BEAM4, for example, has six structural degrees of freedom (UX, UY, UZ, ROTX, ROTY, ROTZ), is a line element, and can be modeled in 3-D space. PLANE77 has a thermal degree of freedom (TEMP), is an eight-node quadrilateral element, and can be modeled only in 2-D space. You must be in PREP7, the general preprocessor, to define element types. To do so, you use the ET family of commands (ET, ETCHG, etc.) or their GUI path equivalents; see the ANSYS Commands Reference for details. You define the element type by name and give the element a type reference number. For example, the commands shown below define two element types, BEAM4 and SHELL63, and assign them type reference numbers 1 and 2 respectively.
E T , 1 , B E A M 4 E T , 2 , S H E L L 6 3
This table of type reference number versus element name is called the element type table. While defining the actual elements, you point to the appropriate type reference number using the TYPE command (Main Menu>Preprocessor> Create>Elements>Elem Attributes ). Many element types have additional options, known as KEYOPTs, and are referred to as KEYOPT(1), KEYOPT(2), etc. For example, KEYOPT(9) for BEAM4 allows you to choose results to be calculated at intermediate locations on each element, and KEYOPT(3) for SHELL63 allows you to suppress extra displacement shapes. You can specify KEYOPTs using the ET command, the KEYOPT command (Main Menu>Preprocessor>Element Type> Add/Edit/Delete ).
reference number) for each element type. The ANSYS program issues a warning message if multiple element types reference the same real constant set. However, a single element type may reference several real constant sets. To verify your real constant input, use the RLIST and ELIST commands, with RKEY=1 (shown below). RLIST lists real constant values for all sets. The command ELIST,,,,,1 produces an easierto-read list that shows, for each element, the real constant labels and their values. Command(s): ELIST GUI: Utility Menu>List>Elements>Attributes + RealConst Utility Menu>List>Elements>Attributes Only Utility Menu>List>Elements>Nodes + Attributes Utility Menu>List>Elements>Nodes + Attributes + RealConst Command(s): RLIST GUI: Utility Menu>List>Properties>All Real Constants Utility Menu>List>Properties>Specified Real Const For line and area elements that require geometry data (cross-sectional area, thickness, diameter, etc.) to be specified as real constants, you can verify the input graphically by using the following commands in the order shown: Command(s): /ESHAPE and EPLOT GUI: Utility Menu>PlotCtrls>Style>Size and Shape Utility Menu>Plot>Elements ANSYS displays the elements as solid elements, using a rectangular cross-section for link and shell elements and a circular cross-section for pipe elements. The cross-section proportions are determined from the real constant values.
The next few paragraphs describe how to create and read material library files. For additional information, see the descriptions of the /MPLIB, MPREAD, and MPWRITE commands in the ANSYS Commands Reference.
Filename is the name to assign to the material library file. Issue MPWRITE (Main Menu>Preprocessor> Material Props>Material Library>Export Library) and specify the filename for the material library file.
Issuing MPWRITE writes the material data specified by material number MAT into the named file in the current working directory. (If you previously specified a material library write path by issuing the /MPLIB command (Main Menu> Preprocessor>Material Props>Material Library>Library Path), ANSYS writes the file to that location instead.) Naming conventions for a material library file are as follows: The name of the file is the name you specify on the MPWRITE command. If you do not specify a filename, the default name is JOBNAME. The extension of a material library filename follows the pattern .xxx _MPL, where xxx identifies the system of units for this material property sets. For example, if the system of units is the CGS system, the file extension is .CGS_MPL. The default extension, used if you do not specify a units system before creating the material library file, is .USER_MPL. (This indicates a user-defined system of units.)
Besides the defaults for Y- and Z-direction properties (which default to the X-direction properties), other material property defaults are built in to reduce the amount of input. For example, Poisson's ratio (NUXY) defaults to 0.3, shear modulus (GXY) defaults to EX/2(1+NUXY)), and emissivity (EMIS) defaults to 1.0. See the ANSYS Elements Reference for details. You can choose constant, isotropic, linear material properties from a material library available through the GUI. Young's modulus, density, coefficient of thermal expansion, Poisson's ratio, thermal conductivity and specific heat are available for 10 materials in four unit systems. Caution: The property values in the material library are provided for your convenience. They are typical values for the materials you can use for preliminary analyses and non-critical applications. As always, the user is responsible for all data input to the ANSYS program. To define temperature-dependent material properties, you can use the MP command in combination with the MPTEMP or MPTGEN command (Main Menu> Preprocessor>Material Props>property type and Main Menu>Preprocessor> Material Props>Temp Table or Main Menu>Preprocessor>Material Props> Generate Temp). You also can use the MPTEMP and MPDATA commands (Main Menu>Preprocessor>Material Props>Temp Table or Main Menu> Preprocessor>Material Props>Prop Table ). The MP command allows you to define a property-versustemperature function in the form of a polynomial. The polynomial may be linear, quadratic, cubic, or quartic:
Cn are the coefficients and T is the temperature. You enter the coefficients using the C0, C1, C2, C3, and C4 arguments on the MP command. If you specify just C0, the material property is constant; if you specify C0 and C1, the material property varies linearly with temperature; and so on. When you specify a temperature-dependent property in this manner, the program internally evaluates the polynomial at discrete temperature points with linear interpolation between points (that is, piece-wise linear representation) and a constant-valued extrapolation beyond the extreme points. You must use the MPTEMP or MPTGEN command before the MP command for second and higher-order properties to define appropriate temperature steps.
The second way to define temperature-dependent material properties is to use a combination of MPTEMP and MPDATA commands. MPTEMP (or MPTGEN) defines a series of temperatures, and MPDATA defines corresponding material property values. For example, the following commands define a temperaturedependent enthalpy for material 4:
M P T E M P , 1 , 1 6 0 0 , 1 8 0 0 , 2 0 0 0 , 2 3 2 5 , 2 3 2 6 , 2 3 3 5 !6t e m p e r a t u r e s( t e m p s1 6 ) M P T E M P , 7 , 2 3 4 5 , 2 3 5 5 , 2 3 6 5 , 2 3 7 4 , 2 3 7 5 , 3 0 0 0 !6m o r et e m p s( t e m p s7 1 2 ) M P D A T A , E N T H , 4 , 1 , 5 3 . 8 1 , 6 1 . 2 3 , 6 8 . 8 3 , 8 1 . 5 1 , 8 1 . 5 5 , 8 2 . 3 1 !C o r r e s p o n d i n g M P D A T A , E N T H , 4 , 7 , 8 4 . 4 8 , 8 9 . 5 3 , 9 9 . 0 5 , 1 1 2 . 1 2 , 1 1 3 . 0 0 , 1 3 7 . 4 0 !e n t h a l p yv a l u e s
If an unequal number of property data points and temperature data points are defined, the ANSYS program uses only those locations having both points defined for the property function table. To define a different set of temperatures for the next material property, you should first erase the current temperature table by issuing MPTEMP (without any arguments) and then define new temperatures (using additional MPTEMP or MPTGEN commands). The MPPLOT command (Main Menu>Preprocessor>Material Props>Graph) displays a graph of material property versus temperature. Figure 1-1 shows a plot of the enthalpy-temperature curve defined in the example above. The MPLIST command (Main Menu>Preprocessor>Material Props>List), lists material properties. Figure 1-1 A sample MPPLOT display
Below are some notes about temperature-dependent material properties: To modify a property data point on an existing curve, simply redefine the desired data point by issuing MPDATA with the appropriate location number. For example, to change the ENTH value in location 6 of the above enthalpy-temperature curve from 82.31 to 83.09, the command would be
M P D A T A , E N T H , 4 , 6 , 8 3 . 0 9
To modify a temperature data point on an existing curve, you need two commands: MPTEMP with the appropriate location number to specify the new temperature value, and MPDRES (Main Menu>Preprocessor> Material Props>Modify Temps) to associate the new temperature table with the material property. For example, to change the temperature in location 7 of the above enthalpy-temperature curve from 2345 to 2340, the commands would be:
M P T E M P , 7 , 2 3 4 0 M P D R E S , E N T H , 4
!M o d i f i e sl o c a t i o n7 ,r e t a i n so t h e rl o c a t i o n s !A s s o c i a t e sE N T Hf o rm a t e r i a l4w i t hn e wt e m p s
The reason for the MPDRES command is this: Whenever you define a temperature-dependent property, the temperature-property data pairs are immediately stored in the database. Modifying the temperature data points affects only material properties that are subsequently defined, not what is already stored. The MPDRES command forces modification of what is already stored in the database. Two additional fields on MPDRES allow you to modify a stored property and store it under a new label or a new material reference number. The MPTRES command (Main Menu>Preprocessor>Material Props>Restore Temps ) allows you to replace the current temperature table with that of a previously defined material property in the database. You can then use the previous temperature data points for another property. For temperature-dependent thermal expansion coefficients (ALPX, ALPY, ALPZ), if the base temperature for which they are defined (the definition temperature) differs from the reference temperature (the temperature at which zero thermal strains exist, defined by MP,REFT or TREF), then use the MPAMOD command to convert the data to the reference temperature. For GUI paths equivalent to this command, see the MPAMOD description in the ANSYS Commands Reference. The ANSYS program takes temperature-dependent material properties into account during solution when element matrices are formulated. The program first calculates the temperature at the center of each element (or, for thermal elements, at the integration points of each element), determines the corresponding material property value by linear interpolation of the property-temperature table, and then uses this value to formulate the element matrices. If an element's temperature falls below or above the defined range of tabular data, then the defined extreme minimum or maximum value, respectively, is assumed for the material property outside the defined range. You can save linear material properties (whether they are temperature-dependent or constant) to a file or restore them from a text file. (See Section 1.2.4 for a discussion of material library files.) You also can use either of the following to write both linear and nonlinear material properties to a file: Command(s): CDWRITE,MAT GUI: Main Menu>Preprocessor>Archive Model>Write Note-If you are using the CDWRITE command in any of the ANSYS-derived products (ANSYS/Emag, ANSYS/Thermal, etc.), you must edit the Jobname.CDB file that CDWRITE creates to remove commands which are not available in the derived product. You must do this before reading the Jobname.CDB file.
To enter the tabular data, use the TBPT command (Main Menu>Preprocessor> Material Props>Data Tables>Edit Active ). For example, the following commands define a B-H curve:
T B P T , D E F I , 1 5 0 , . 2 1 T B P T , D E F I , 3 0 0 , . 5 5 T B P T , D E F I , 4 6 0 , . 8 0 T B P T , D E F I , 6 4 0 , . 9 5 T B P T , D E F I , 7 2 0 , 1 . 0 T B P T , D E F I , 8 9 0 , 1 . 1 T B P T , D E F I , 1 0 2 0 , 1 . 1 5 T B P T , D E F I , 1 2 8 0 , 1 . 2 5 T B P T , D E F I , 1 9 0 0 , 1 . 4
You can verify the data table through displays and listings using the following: Command(s): TBPLOT, TBLIST GUI: Main Menu>Preprocessor>Material Props>Data Tables>Graph Main Menu>Preprocessor>Material Props>Data Tables>List Figure 1-2 shows a sample TBPLOT (of the B-H curve defined above): Figure 1-2 A sample TBPLOT display
coefficient matrix using the TBDATA command. Be sure to verify your input with the TBLIST command. See Section 2.5 of the ANSYS Elements Reference manual and the appropriate element descriptions for more information.
There are two methods to create the finite element model: solid modeling and direct generation. With solid modeling, you describe the geometric shape of your model, then instruct the ANSYS program to automatically mesh the geometry with nodes and elements. You can control the size and shape of the elements that the program creates. With direct generation, you "manually" define the location of each node and the connectivity of each element. Several convenience operations, such as copying patterns of existing nodes and elements, symmetry reflection, etc. are available. Details of the two methods and many other aspects related to model generation-coordinate systems, working planes, coupling, constraint equations, etc.-are described in the ANSYS Modeling and Meshing Guide.
each discipline and the procedures to do those analyses. Analysis options allow you to customize the analysis type. Typical analysis options are the method of solution, stress stiffening on or off, and Newton-Raphson options. To define the analysis type and analysis options, use the ANTYPE command (Main Menu>Preprocessor>Loads>New Analysis or Main Menu> Preprocessor>Loads>Restart) and the appropriate analysis option commands (TRNOPT, HROPT, MODOPT, SSTIF, NROPT, etc.). For GUI equivalents for the other commands, see their descriptions in the ANSYS Commands Reference. You can specify either a new analysis or a restart, but a new analysis is the choice in most cases. Restarts are available only for static (steady-state), harmonic (2-D magnetic only), and transient analyses. The various analysis guides discuss details of restarts. You cannot change the analysis type and analysis options after the first solution. A sample input listing for a structural transient analysis is shown below. Remember that the discipline (structural, thermal, magnetic, etc.) is implied by the element types used in the model.
A N T Y P E , T R A N S T R N O P T , F U L L S S T I F , O N N L G E O M , O N
Once you have defined the analysis type and analysis options, the next step is to apply loads. Some structural analysis types require other items to be defined first, such as master degrees of freedom and gap conditions. The ANSYS Structural Analysis Guide describes these items where necessary.
purposes in transient and nonlinear analyses. Substeps are also known as time steps-steps taken over a period of time. Note-The ANSYS program uses the concept of time in transient analyses as well as static (or steady-state) analyses. In a transient analysis, time represents actual time, in seconds, minutes, or hours. In a static or steady-state analysis, time simply acts as a counter to identify load steps and substeps.
You use POST1, the general postprocessor, to review results at one substep (time step) over the entire model or selected portion of the model. The command to enter POST1 is /POST1 (Main Menu>General Postproc), valid only at the Begin level. You can obtain contour displays, deformed shapes, and tabular listings to review and interpret the results of the analysis. POST1 offers many other capabilities, including error estimation, load case combinations, calculations among results data, and path operations. You use POST26, the time history postprocessor, to review results at specific points in the model over all time steps. The command to enter POST26 is /POST26 (Main Menu>TimeHist Postpro), valid only at the Begin level. You can obtain graph plots of results data versus time (or frequency) and tabular listings. Other POST26 capabilities include arithmetic calculations and complex algebra. Details of POST1 and POST26 capabilities and how to use them are described in chapters later in this document. Go to the beginning of this chapter