:orphan:
.. _gallery:
========
Examples
========
End-to-end examples show how to use PyDPF-Post. If PyDPF-Post is installed
on your machine, you can download these examples as Jupyter notebooks, Python files,
or ZIP files and run them locally.
.. raw:: html
.. thumbnail-parent-div-open
.. thumbnail-parent-div-close
.. raw:: html
PyDPF-Post analysis types
~~~~~~~~~~~~~~~~~~~~~~~~~
These examples show how to postprocess different simulation types using PyDPF-Post.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/00-Different-analysis-types/images/thumb/sphx_glr_01-static-simulation_thumb.png
:alt:
:ref:`sphx_glr_examples_00-Different-analysis-types_01-static-simulation.py`
.. raw:: html
Postprocess a static mechanical simulation
.. raw:: html
.. only:: html
.. image:: /examples/00-Different-analysis-types/images/thumb/sphx_glr_02-modal-simulation_thumb.png
:alt:
:ref:`sphx_glr_examples_00-Different-analysis-types_02-modal-simulation.py`
.. raw:: html
Postprocess a modal mechanical simulation
.. raw:: html
.. only:: html
.. image:: /examples/00-Different-analysis-types/images/thumb/sphx_glr_03-transient-simulation_thumb.png
:alt:
:ref:`sphx_glr_examples_00-Different-analysis-types_03-transient-simulation.py`
.. raw:: html
Postprocess a transient mechanical simulation with animation
.. raw:: html
.. only:: html
.. image:: /examples/00-Different-analysis-types/images/thumb/sphx_glr_04-harmonic-complex-results_thumb.png
:alt:
:ref:`sphx_glr_examples_00-Different-analysis-types_04-harmonic-complex-results.py`
.. raw:: html
Postprocess a harmonic mechanical simulation
.. raw:: html
.. only:: html
.. image:: /examples/00-Different-analysis-types/images/thumb/sphx_glr_05-fluid-simulation_thumb.png
:alt:
:ref:`sphx_glr_examples_00-Different-analysis-types_05-fluid-simulation.py`
.. raw:: html
Postprocess a fluid simulation
.. thumbnail-parent-div-close
.. raw:: html
PyDPF-Post features
~~~~~~~~~~~~~~~~~~~
These examples show how to use PyDPF-Post features.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/01-Detailed-Examples/images/thumb/sphx_glr_00-dataframe-manipulation_thumb.png
:alt:
:ref:`sphx_glr_examples_01-Detailed-Examples_00-dataframe-manipulation.py`
.. raw:: html
Create and manipulate a DPF dataframe
.. raw:: html
.. only:: html
.. image:: /examples/01-Detailed-Examples/images/thumb/sphx_glr_01-named-selections-modal-simulation_thumb.png
:alt:
:ref:`sphx_glr_examples_01-Detailed-Examples_01-named-selections-modal-simulation.py`
.. raw:: html
Extract results on named selections (modal simulation)
.. raw:: html
.. only:: html
.. image:: /examples/01-Detailed-Examples/images/thumb/sphx_glr_02-modal-extract-sub-results_thumb.png
:alt:
:ref:`sphx_glr_examples_01-Detailed-Examples_02-modal-extract-sub-results.py`
.. raw:: html
Extract components of results (modal simulation)
.. raw:: html
.. only:: html
.. image:: /examples/01-Detailed-Examples/images/thumb/sphx_glr_03-explore-result-data-harmonic_thumb.png
:alt:
:ref:`sphx_glr_examples_01-Detailed-Examples_03-explore-result-data-harmonic.py`
.. raw:: html
Explore the data of a result with the dataframe (harmonic simulation)
.. raw:: html
.. only:: html
.. image:: /examples/01-Detailed-Examples/images/thumb/sphx_glr_04-invariants_thumb.png
:alt:
:ref:`sphx_glr_examples_01-Detailed-Examples_04-invariants.py`
.. raw:: html
Extract stress and strain invariants (static simulation)
.. raw:: html
.. only:: html
.. image:: /examples/01-Detailed-Examples/images/thumb/sphx_glr_05-export_data_thumb.png
:alt:
:ref:`sphx_glr_examples_01-Detailed-Examples_05-export_data.py`
.. raw:: html
Export data in a dataframe to another format
.. raw:: html
.. only:: html
.. image:: /examples/01-Detailed-Examples/images/thumb/sphx_glr_05-mesh-exploration_thumb.png
:alt:
:ref:`sphx_glr_examples_01-Detailed-Examples_05-mesh-exploration.py`
.. raw:: html
Explore and manipulate the mesh
.. raw:: html
.. only:: html
.. image:: /examples/01-Detailed-Examples/images/thumb/sphx_glr_06-compute-min-max_thumb.png
:alt:
:ref:`sphx_glr_examples_01-Detailed-Examples_06-compute-min-max.py`
.. raw:: html
Compute the minimum and maximum of a dataframe
.. thumbnail-parent-div-close
.. raw:: html
PyDPF-Post performance improvements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
These examples show how to improve computation performance of PyDPF-Post when necessary.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/02-Performance-Improvements/images/thumb/sphx_glr_01-mesh-external-layer_thumb.png
:alt:
:ref:`sphx_glr_examples_02-Performance-Improvements_01-mesh-external-layer.py`
.. raw:: html
Reduce model size by using the mesh external layer for result and mesh extraction
.. raw:: html
.. only:: html
.. image:: /examples/02-Performance-Improvements/images/thumb/sphx_glr_02-mesh-skin_thumb.png
:alt:
:ref:`sphx_glr_examples_02-Performance-Improvements_02-mesh-skin.py`
.. raw:: html
Reduce model size by using the mesh skin for result and mesh extraction
.. raw:: html
.. only:: html
.. image:: /examples/02-Performance-Improvements/images/thumb/sphx_glr_03-mesh-external-layer-compare_thumb.png
:alt:
:ref:`sphx_glr_examples_02-Performance-Improvements_03-mesh-external-layer-compare.py`
.. raw:: html
Validate external layer results with the full mesh
.. thumbnail-parent-div-close
.. raw:: html
PyDPF-Post cyclic symmetry examples
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
These examples show how to use PyDPF-Post features for cyclic symmetry models.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/03-Cyclic-Examples/images/thumb/sphx_glr_01-cyclic-results_thumb.png
:alt:
:ref:`sphx_glr_examples_03-Cyclic-Examples_01-cyclic-results.py`
.. raw:: html
Extract cyclic results
.. raw:: html
.. only:: html
.. image:: /examples/03-Cyclic-Examples/images/thumb/sphx_glr_02-multi-stage-cyclic-results_thumb.png
:alt:
:ref:`sphx_glr_examples_03-Cyclic-Examples_02-multi-stage-cyclic-results.py`
.. raw:: html
Extract multi-stage cyclic results
.. raw:: html
.. only:: html
.. image:: /examples/03-Cyclic-Examples/images/thumb/sphx_glr_03-cyclic-mesh-external-layer_thumb.png
:alt:
:ref:`sphx_glr_examples_03-Cyclic-Examples_03-cyclic-mesh-external-layer.py`
.. raw:: html
Reduce cyclic model size by using the mesh external layer for result and mesh extraction
.. raw:: html
.. only:: html
.. image:: /examples/03-Cyclic-Examples/images/thumb/sphx_glr_04-cyclic-mesh-skin_thumb.png
:alt:
:ref:`sphx_glr_examples_03-Cyclic-Examples_04-cyclic-mesh-skin.py`
.. raw:: html
Reduce cyclic model size by using the mesh skin for result and mesh extraction
.. raw:: html
.. only:: html
.. image:: /examples/03-Cyclic-Examples/images/thumb/sphx_glr_05-modal_cyclic_no_expansion_thumb.png
:alt:
:ref:`sphx_glr_examples_03-Cyclic-Examples_05-modal_cyclic_no_expansion.py`
.. raw:: html
Get base and duplicate sector results for a modal cyclic symmetry model
.. thumbnail-parent-div-close
.. raw:: html
PyDPF-Post fluid examples
~~~~~~~~~~~~~~~~~~~~~~~~~~~
These examples show how to use PyDPF-Post features for fluid models.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/04-Fluid-Examples/images/thumb/sphx_glr_00-explore-fluid-simulation_thumb.png
:alt:
:ref:`sphx_glr_examples_04-Fluid-Examples_00-explore-fluid-simulation.py`
.. raw:: html
Exctarct fluid simulation results
.. thumbnail-parent-div-close
.. raw:: html
PyDPF-Post legacy examples
~~~~~~~~~~~~~~~~~~~~~~~~~~
These examples show how you use the legacy PyDPF-Post API.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_00-overview_example_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_00-overview_example.py`
.. raw:: html
Use basic features
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_01-get_data_from_static_simulation_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_01-get_data_from_static_simulation.py`
.. raw:: html
Get data from a static simulation
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_01-introduction_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_01-introduction.py`
.. raw:: html
Load a solution
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_02-static-analysis_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_02-static-analysis.py`
.. raw:: html
Postprocess a result file for a static analysis
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_03-modal-analysis_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_03-modal-analysis.py`
.. raw:: html
Postprocess the result file for a modal analysis
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_04-harmonic-analysis_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_04-harmonic-analysis.py`
.. raw:: html
Postprocess the result file for a harmonic analysis
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_05-transient-analysis_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_05-transient-analysis.py`
.. raw:: html
Postprocess a result file for a transient analysis
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_06-complex_results_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_06-complex_results.py`
.. raw:: html
Access complex results from a modal or harmonic analysis
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_07-result_keywords_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_07-result_keywords.py`
.. raw:: html
Use keywords to get a more precise result
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_08-result_on_path_of_coordinates_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_08-result_on_path_of_coordinates.py`
.. raw:: html
Request a result on a specific path of coordinates
.. raw:: html
.. only:: html
.. image:: /examples/05-Legacy/images/thumb/sphx_glr_09-basics_thumb.png
:alt:
:ref:`sphx_glr_examples_05-Legacy_09-basics.py`
.. raw:: html
Get and use a Result object
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
:includehidden:
/examples/00-Different-analysis-types/index.rst
/examples/01-Detailed-Examples/index.rst
/examples/02-Performance-Improvements/index.rst
/examples/03-Cyclic-Examples/index.rst
/examples/04-Fluid-Examples/index.rst
/examples/05-Legacy/index.rst
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery