PostProcessing#
- class ansys.mapdl.core.post.PostProcessing(mapdl)#
Post-processing using an active MAPDL session
Examples
Get all the time values after loading POST1.
>>> mapdl.post1() >>> mapdl.post_processing.time_values [75.00054133588232, 75.00081189985094, 75.00121680412036, 75.00574491751847, 75.03939292229019, 75.20949687626468]
Return the number of data sets in the result file.
>>> mapdl.post_processing.nsets 1
Plot the thermal equivalent strain for the second result.
>>> mapdl.post1() >>> mapdl.set(1, 2) >>> mapdl.post_processing.plot_nodal_thermal_eqv_strain()
Nodal rotation in all dimensions for current result.
>>> mapdl.post1() >>> mapdl.set(1, 1) >>> mapdl.post_processing.nodal_rotation('ALL') array([[0., 0., 0.], [0., 0., 0.], [0., 0., 0.], ..., [0., 0., 0.], [0., 0., 0.], [0., 0., 0.]])
Nodes corresponding to the nodal rotations.
>>> mapdl.mesh.nnum_all array([ 1, 2, 3, ..., 7215, 7216, 7217], dtype=int32)
Methods
Return element displacement.
PostProcessing.element_stress
(component[, ...])Return element component or principal stress.
PostProcessing.element_temperature
([option])Return element temperature.
PostProcessing.element_values
(item[, comp, ...])Compute the element-wise values for a given item and component.
PostProcessing.nodal_component_stress
(component)Nodal component stress.
Nodal contact friction stress of the current result.
PostProcessing.nodal_displacement
([component])Nodal X, Y, or Z structural displacement.
Elastic nodal component strain
The elastic nodal equivalent strain of the current result.
Nodal elastic principal elastic strain.
The elastic nodal strain intensity of the current result.
The nodal equivalent stress of the current result.
Plastic nodal component strain.
The plastic nodal equivalent strain of the current result.
Nodal plastic principal plastic strain.
The plastic nodal strain intensity of the current result.
The nodal pressure of the current result.
PostProcessing.nodal_principal_stress
(component)Nodal principal stress.
PostProcessing.nodal_rotation
([component])Nodal X, Y, or Z structural rotation
The nodal stress intensity of the current result.
The nodal temperature of the current result.
Thermal nodal component strain
The thermal nodal equivalent strain of the current result.
Nodal thermal principal thermal strain.
The thermal nodal strain intensity of the current result.
Total nodal component strain
The total nodal equivalent strain of the current result.
Total nodal principal total strain.
The total nodal strain intensity of the current result.
PostProcessing.nodal_values
(item[, comp])Obtain the nodal values for a given item and component.
The nodal voltage of the current result.
Plot element displacement.
PostProcessing.plot_element_stress
(component)Plot element component or principal stress.
Plot element temperature.
PostProcessing.plot_element_values
(item, comp)Plot element values.
Plot nodal component stress.
Plot the nodal contact friction stress of the current result.
Plot nodal displacement
Plot nodal elastic component strain.
Plot the elastic nodal equivalent strain of the current result.
Plot elastic nodal principal strain.
Plot the elastic nodal strain intensity of the current result.
Plot nodal equivalent stress of the current result.
Plot nodal plastic component strain.
Plot the plastic nodal equivalent strain of the current result.
Plot plastic nodal principal strain.
Plot the plastic nodal strain intensity of the current result.
Plot nodal pressure of the current result.
Plot nodal principal stress.
PostProcessing.plot_nodal_rotation
(component)Plot nodal rotation.
Plot the nodal stress intensity of the current result.
Plot nodal temperature of the current result.
Plot nodal thermal component strain.
Plot the thermal nodal equivalent strain of the current result.
Plot thermal nodal principal strain.
Plot the thermal nodal strain intensity of the current result.
Plot nodal total component starin.
Plot the total nodal equivalent strain of the current result.
Plot total nodal principal strain.
Plot the total nodal strain intensity of the current result.
PostProcessing.plot_nodal_values
(item, comp)Plot nodal values
Plot nodal voltage of the current result.
Attributes
Return the current result file name without extension.
Freqneyc associated with current result in the database.
Return an array of the frequency values for all result sets.
Current load step number
Number of data sets on result file.
Mask of the selected elements.
Mask of the selected nodes.
Current step number
Current sub step number
Time associated with current result in the database.
Return an array of the time values for all result sets.