PostProcessing#

class ansys.mapdl.core.post.PostProcessing(mapdl)[source]#

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

PostProcessing.element_displacement([...])

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.

PostProcessing.nodal_contact_friction_stress()

Nodal contact friction stress of the current result.

PostProcessing.nodal_displacement([component])

Nodal X, Y, or Z structural displacement.

PostProcessing.nodal_elastic_component_strain(...)

Elastic nodal component strain

PostProcessing.nodal_elastic_eqv_strain()

The elastic nodal equivalent strain of the current result.

PostProcessing.nodal_elastic_principal_strain(...)

Nodal elastic principal elastic strain.

PostProcessing.nodal_elastic_strain_intensity()

The elastic nodal strain intensity of the current result.

PostProcessing.nodal_eqv_stress()

The nodal equivalent stress of the current result.

PostProcessing.nodal_plastic_component_strain(...)

Plastic nodal component strain.

PostProcessing.nodal_plastic_eqv_strain()

The plastic nodal equivalent strain of the current result.

PostProcessing.nodal_plastic_principal_strain(...)

Nodal plastic principal plastic strain.

PostProcessing.nodal_plastic_strain_intensity()

The plastic nodal strain intensity of the current result.

PostProcessing.nodal_pressure()

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

PostProcessing.nodal_stress_intensity()

The nodal stress intensity of the current result.

PostProcessing.nodal_temperature()

The nodal temperature of the current result.

PostProcessing.nodal_thermal_component_strain(...)

Thermal nodal component strain

PostProcessing.nodal_thermal_eqv_strain()

The thermal nodal equivalent strain of the current result.

PostProcessing.nodal_thermal_principal_strain(...)

Nodal thermal principal thermal strain.

PostProcessing.nodal_thermal_strain_intensity()

The thermal nodal strain intensity of the current result.

PostProcessing.nodal_total_component_strain(...)

Total nodal component strain

PostProcessing.nodal_total_eqv_strain()

The total nodal equivalent strain of the current result.

PostProcessing.nodal_total_principal_strain(...)

Total nodal principal total strain.

PostProcessing.nodal_total_strain_intensity()

The total nodal strain intensity of the current result.

PostProcessing.nodal_values(item[, comp])

Obtain the nodal values for a given item and component.

PostProcessing.nodal_voltage()

The nodal voltage of the current result.

PostProcessing.plot_element_displacement([...])

Plot element displacement.

PostProcessing.plot_element_stress(component)

Plot element component or principal stress.

PostProcessing.plot_element_temperature([...])

Plot element temperature.

PostProcessing.plot_element_values(item, comp)

Plot element values.

PostProcessing.plot_nodal_component_stress(...)

Plot nodal component stress.

PostProcessing.plot_nodal_contact_friction_stress([...])

Plot the nodal contact friction stress of the current result.

PostProcessing.plot_nodal_displacement([...])

Plot nodal displacement

PostProcessing.plot_nodal_elastic_component_strain(...)

Plot nodal elastic component strain.

PostProcessing.plot_nodal_elastic_eqv_strain([...])

Plot the elastic nodal equivalent strain of the current result.

PostProcessing.plot_nodal_elastic_principal_strain(...)

Plot elastic nodal principal strain.

PostProcessing.plot_nodal_elastic_strain_intensity([...])

Plot the elastic nodal strain intensity of the current result.

PostProcessing.plot_nodal_eqv_stress([...])

Plot nodal equivalent stress of the current result.

PostProcessing.plot_nodal_plastic_component_strain(...)

Plot nodal plastic component strain.

PostProcessing.plot_nodal_plastic_eqv_strain([...])

Plot the plastic nodal equivalent strain of the current result.

PostProcessing.plot_nodal_plastic_principal_strain(...)

Plot plastic nodal principal strain.

PostProcessing.plot_nodal_plastic_strain_intensity([...])

Plot the plastic nodal strain intensity of the current result.

PostProcessing.plot_nodal_pressure([...])

Plot nodal pressure of the current result.

PostProcessing.plot_nodal_principal_stress(...)

Plot nodal principal stress.

PostProcessing.plot_nodal_rotation(component)

Plot nodal rotation.

PostProcessing.plot_nodal_stress_intensity([...])

Plot the nodal stress intensity of the current result.

PostProcessing.plot_nodal_temperature([...])

Plot nodal temperature of the current result.

PostProcessing.plot_nodal_thermal_component_strain(...)

Plot nodal thermal component strain.

PostProcessing.plot_nodal_thermal_eqv_strain([...])

Plot the thermal nodal equivalent strain of the current result.

PostProcessing.plot_nodal_thermal_principal_strain(...)

Plot thermal nodal principal strain.

PostProcessing.plot_nodal_thermal_strain_intensity([...])

Plot the thermal nodal strain intensity of the current result.

PostProcessing.plot_nodal_total_component_strain(...)

Plot nodal total component starin.

PostProcessing.plot_nodal_total_eqv_strain([...])

Plot the total nodal equivalent strain of the current result.

PostProcessing.plot_nodal_total_principal_strain(...)

Plot total nodal principal strain.

PostProcessing.plot_nodal_total_strain_intensity([...])

Plot the total nodal strain intensity of the current result.

PostProcessing.plot_nodal_values(item, comp)

Plot nodal values

PostProcessing.plot_nodal_voltage([...])

Plot nodal voltage of the current result.

Attributes

PostProcessing.filename

Return the current result file name without extension.

PostProcessing.freq

Freqneyc associated with current result in the database.

PostProcessing.frequency_values

Return an array of the frequency values for all result sets.

PostProcessing.load_step

Current load step number

PostProcessing.nsets

Number of data sets on result file.

PostProcessing.selected_elements

Mask of the selected elements.

PostProcessing.selected_nodes

Mask of the selected nodes.

PostProcessing.step

Current step number

PostProcessing.sub_step

Current sub step number

PostProcessing.time

Time associated with current result in the database.

PostProcessing.time_values

Return an array of the time values for all result sets.