:orphan: .. _ref_example_gallery: ========= Examples ========= End-to-end examples show how you can use PyTwin. If the ``pytwin`` package is installed on your machine, you can download these examples as Python files or Jupyter notebooks and run them locally. .. raw:: html
.. raw:: html
Twin evaluation examples ========================= These examples show how to use the evaluation workflow in a TWIN file. Included are multiple workflow demonstrations such as single evaluation of a dynamic model, parametric sweep analysis (static/dynamic models), evaluation with states saving and loading. .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/01-twin_examples/images/thumb/sphx_glr_00-coupledClutches_thumb.png :alt: :ref:`sphx_glr_examples_01-twin_examples_00-coupledClutches.py` .. raw:: html
Twin evaluation
.. raw:: html
.. only:: html .. image:: /examples/01-twin_examples/images/thumb/sphx_glr_01-electricRange_thumb.png :alt: :ref:`sphx_glr_examples_01-twin_examples_01-electricRange.py` .. raw:: html
Parametric dynamic twin evaluation
.. raw:: html
.. only:: html .. image:: /examples/01-twin_examples/images/thumb/sphx_glr_02-heatExchangerRS_thumb.png :alt: :ref:`sphx_glr_examples_01-twin_examples_02-heatExchangerRS.py` .. raw:: html
Parametric twin evaluation of a response surface ROM
.. raw:: html
.. only:: html .. image:: /examples/01-twin_examples/images/thumb/sphx_glr_03-scalarDROM_thumb.png :alt: :ref:`sphx_glr_examples_01-twin_examples_03-scalarDROM.py` .. raw:: html
Twin evaluation of a scalar dynamic ROM
.. raw:: html
TBROM evaluation examples ========================= These examples show how to use PyTwin to evaluate field results from TBROM included in a TWIN file. Multiple workflows are demonstrated such as image and field data generation (with possible processing of data to other Ansys tools like Fluent or Mechanical), TBROM evaluation with input field parameterization, output field visualization for detailed post processing (including projection on CFD/FEA meshes). .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/02-tbrom_examples/images/thumb/sphx_glr_00-TBROM_images_thumb.png :alt: :ref:`sphx_glr_examples_02-tbrom_examples_00-TBROM_images.py` .. raw:: html
3D field ROM example for images generation
.. raw:: html
.. only:: html .. image:: /examples/02-tbrom_examples/images/thumb/sphx_glr_01-TBROM_dataTransfer_pyMAPDL_thumb.png :alt: :ref:`sphx_glr_examples_02-tbrom_examples_01-TBROM_dataTransfer_pyMAPDL.py` .. raw:: html
Twin evaluation of a 3D field ROM and data transfer to FEA model inputs
.. raw:: html
.. only:: html .. image:: /examples/02-tbrom_examples/images/thumb/sphx_glr_02-TBROM_input_field_thumb.png :alt: :ref:`sphx_glr_examples_02-tbrom_examples_02-TBROM_input_field.py` .. raw:: html
3D field ROM example for input field snapshot projection and snapshot generation on demand
.. raw:: html
.. only:: html .. image:: /examples/02-tbrom_examples/images/thumb/sphx_glr_03-TBROM_input_numpy_field_thumb.png :alt: :ref:`sphx_glr_examples_02-tbrom_examples_03-TBROM_input_numpy_field.py` .. raw:: html
3D field ROM example for field snapshot input and output as Numpy array
.. raw:: html
.. only:: html .. image:: /examples/02-tbrom_examples/images/thumb/sphx_glr_04-TBROM_CFD_mesh_based_visualization_thumb.png :alt: :ref:`sphx_glr_examples_02-tbrom_examples_04-TBROM_CFD_mesh_based_visualization.py` .. raw:: html
3D field ROM example with CFD mesh based visualization
.. raw:: html
.. only:: html .. image:: /examples/02-tbrom_examples/images/thumb/sphx_glr_05-TBROM_FEA_mesh_based_visualization_thumb.png :alt: :ref:`sphx_glr_examples_02-tbrom_examples_05-TBROM_FEA_mesh_based_visualization.py` .. raw:: html
3D field ROM example with FEA mesh based visualization
.. raw:: html
.. toctree:: :hidden: :includehidden: /examples/01-twin_examples/index.rst /examples/02-tbrom_examples/index.rst .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_