:orphan: .. _examples-index: Gallery of Examples =================== First examples -------------- This gallery consists of introductory examples to read and plot OpenFoam output files with Python. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_0_field_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_0_field.py` .. raw:: html
First example
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_4_sampledfield_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_4_sampledfield.py` .. raw:: html
output field of files without header (sampling)
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_2_postprocforce_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_2_postprocforce.py` .. raw:: html
Time series of postProcessing force
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_calc_0_avgfield_thumb.png :alt: :ref:`sphx_glr_auto_examples_calc_0_avgfield.py` .. raw:: html
Postprocessing example : Spatial average
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_3_postprocprobe_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_3_postprocprobe.py` .. raw:: html
Time series of postProcessing probe
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_1_timeseries_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_1_timeseries.py` .. raw:: html
Time series of OpenFoam scalar field
.. raw:: html
.. only:: html .. image:: /auto_examples/images/thumb/sphx_glr_plot_5_postprocforcefft_thumb.png :alt: :ref:`sphx_glr_auto_examples_plot_5_postprocforcefft.py` .. raw:: html
Time series of postProcessing coefficient force
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /auto_examples/plot_0_field /auto_examples/plot_4_sampledfield /auto_examples/plot_2_postprocforce /auto_examples/calc_0_avgfield /auto_examples/plot_3_postprocprobe /auto_examples/plot_1_timeseries /auto_examples/plot_5_postprocforcefft Examples for structured mesh ---------------------------- This gallery consists of examples for structured mesh. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/structured/images/thumb/sphx_glr_plot_0_averagedfield_thumb.png :alt: :ref:`sphx_glr_auto_examples_structured_plot_0_averagedfield.py` .. raw:: html
Spatially averaged profile
.. raw:: html
.. only:: html .. image:: /auto_examples/structured/images/thumb/sphx_glr_plot_1_contour_thumb.png :alt: :ref:`sphx_glr_auto_examples_structured_plot_1_contour.py` .. raw:: html
Contour from a slice in domain
.. raw:: html
.. only:: html .. image:: /auto_examples/structured/images/thumb/sphx_glr_plot_2_boundary_thumb.png :alt: :ref:`sphx_glr_auto_examples_structured_plot_2_boundary.py` .. raw:: html
Contour and scatter from a boundary/patch
.. thumbnail-parent-div-close .. raw:: html
Examples for unstructured mesh ------------------------------ This gallery consists of examples for unstructured mesh. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/unstructured/images/thumb/sphx_glr_plot_tricontourf_unstructured_thumb.png :alt: :ref:`sphx_glr_auto_examples_unstructured_plot_tricontourf_unstructured.py` .. raw:: html
Contour from an unstructured mesh (no interpolation)
.. raw:: html
.. only:: html .. image:: /auto_examples/unstructured/images/thumb/sphx_glr_plot_contour_unstructured_thumb.png :alt: :ref:`sphx_glr_auto_examples_unstructured_plot_contour_unstructured.py` .. raw:: html
Contour and streamlines from an unstructured mesh
.. raw:: html
.. only:: html .. image:: /auto_examples/unstructured/images/thumb/sphx_glr_plot_GetCellVolume_thumb.png :alt: :ref:`sphx_glr_auto_examples_unstructured_plot_GetCellVolume.py` .. raw:: html
Get the cell centroids and cell volumes of a given box
.. raw:: html
.. only:: html .. image:: /auto_examples/unstructured/images/thumb/sphx_glr_plot_2D_mesh_thumb.png :alt: :ref:`sphx_glr_auto_examples_unstructured_plot_2D_mesh.py` .. raw:: html
Create vectorised visualisations of the mesh
.. thumbnail-parent-div-close .. raw:: html
Advanced examples ----------------- This gallery consists of advanced examples. .. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/advanced/images/thumb/sphx_glr_plot_generatedDFSEMdata_thumb.png :alt: :ref:`sphx_glr_auto_examples_advanced_plot_generatedDFSEMdata.py` .. raw:: html
Create and plot boundaryData for DFSEM from a 1D RANS simulation
.. raw:: html
.. only:: html .. image:: /auto_examples/advanced/images/thumb/sphx_glr_plot_using_openfoamsimu_thumb.png :alt: :ref:`sphx_glr_auto_examples_advanced_plot_using_openfoamsimu.py` .. raw:: html
OpenFoamSimu to post-process simulation
.. raw:: html
.. only:: html .. image:: /auto_examples/advanced/images/thumb/sphx_glr_plot_unstructured_simu_thumb.png :alt: :ref:`sphx_glr_auto_examples_advanced_plot_unstructured_simu.py` .. raw:: html
Plot bed interface from unstructured mesh
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: :includehidden: /auto_examples/structured/index.rst /auto_examples/unstructured/index.rst /auto_examples/advanced/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_