File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
doc/source/user_guide/tutorials/plot Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Plotting data on specific placements
1414.. |Points | replace :: :class: `Points <ansys.dpf.core.geometry.Points> `
1515.. |Plane | replace :: :class: `Plane <ansys.dpf.core.geometry.Plane> `
1616.. |mapping | replace :: :class: `mapping <ansys.dpf.core.operators.mapping.on_coordinates.on_coordinates> `
17+
1718This tutorial shows how to plot data on specific placements of a mesh:
1819
1920- :ref: `plot_specific_path `
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Printing the model displays the available results.
5656 print(my_model)
5757
5858We need to extract the data we want to plot. Mind that the results location must be of
59- type ``Elemental `` or ``Nodal ``. Fot more information about extracting results from a
59+ type ``Elemental `` or ``Nodal `` for plotting . Fot more information about extracting results from a
6060result file check the :ref: `ref_tutorials_import_data ` tutorials section.
6161
6262Here we choose to get the XX stress tensor component result. We start by extracting the stress results:
@@ -76,8 +76,7 @@ Here we choose to get the XX stress tensor component result. We start by extract
7676 my_stress = my_model.results.stress()
7777 print(my_stress.eval())
7878
79- As the stress result is in a ``ElementalNodal `` location we have to change it
80- (for plotting the location needs to be of type ``Elemental `` or ``Nodal ``).
79+ As the stress result is in a ``ElementalNodal `` location we have to change it.
8180
8281Here we define the new location with a input of the
8382:class: `stress() <ansys.dpf.core.operators.result.stress.stress> ` operator.
You can’t perform that action at this time.
0 commit comments