esol#
- Mapdl.esol(nvar='', elem='', node='', item='', comp='', name='', **kwargs)#
Specify element data to be stored from the results file.
/POST26 APDL Command: ESOL
- Parameters:
- nvar
Arbitrary reference number assigned to this variable (2 to NV [NUMVAR]). Overwrites any existing results for this variable.
- elem
Element for which data are to be stored.
- node
Node number on this element for which data are to be stored. If blank, store the average element value (except for FMAG values, which are summed instead of averaged).
- item
Label identifying the item. General item labels are shown in Table 134: ESOL - General Item and Component Labels below. Some items also require a component label.
- comp
Component of the item (if required). General component labels are shown in Table 134: ESOL - General Item and Component Labels below. If Comp is a sequence number (n), the NODE field will be ignored.
- name
Thirty-two character name for identifying the item on the printout and displays. Defaults to a label formed by concatenating the first four characters of the Item and Comp labels.
- Return type:
Notes
See Table: 134:: ESOL - General Item and Component Labels for a list of valid item and component labels for element (except line element) results.
The ESOL command defines element results data to be stored from a results file (FILE). Not all items are valid for all elements. To see the available items for a given element, refer to the input and output summary tables in the documentation for that element.
Two methods of data access are available via the ESOL command. You can access some simply by using a generic label (component name method), while others require a label and number (sequence number method).
Use the component name method to access general element data (that is, element data generally available to most element types or groups of element types).
The sequence number method is required for data that is not averaged (such as pressures at nodes and temperatures at integration points), or data that is not easily described in a generic fashion (such as all derived data for structural line elements and contact elements, all derived data for thermal line elements, and layer data for layered elements).
Element results are in the element coordinate system, except for layered elements where results are in the layer coordinate system. Element forces and moments are in the nodal coordinate system. Results are obtainable for an element at a specified node. Further location specifications can be made for some elements via the SHELL, LAYERP26, and FORCE commands.
For more information on the meaning of contact status and its possible values, see Reviewing Results in POST1 in the Contact Technology Guide.
Examples
Switch to the time-history postprocessor
>>> mapdl.post26()
Store the stress in the X direction for element 1 at node 1
>>> nvar = 2 >>> mapdl.esol(nvar, 1, 1, 'S', 'X')
Move the value to an array and access it via mapdl.parameters
>>> mapdl.dim('ARR', 'ARRAY', 1) >>> mapdl.vget('ARR', nvar) >>> mapdl.parameters['ARR'] array(-1991.40234375)