:orphan: .. _ref_examples: Examples ======== End-to-end examples show how you can use PyMotorCAD. If PyMotorCAD is installed on your machine, you can download these examples as Python files or Jupyter notebooks and run them locally. .. note:: Some examples require additional Python packages. .. raw:: html
.. raw:: html
Adaptive templates examples ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Library of adaptive templates examples for setting up custom geometries in Motor-CAD. These scripts can be loaded into the Motor-CAD Adaptive Templates tab. .. note:: Adaptive Templates in Motor-CAD require v2024.1.2 (Motor-CAD 2024 R1 Update) or later. .. note:: For more information on the use of Adaptive Templates in Motor-CAD, and how to create, modify and debug Adaptive Templates Scripts, see :ref:`ref_adaptive_templates_UG` in the :ref:`ref_user_guide`. .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/adaptive_library/images/thumb/sphx_glr_BPMTriangularRotorNotches_thumb.png :alt: :ref:`sphx_glr_examples_adaptive_library_BPMTriangularRotorNotches.py` .. raw:: html
Triangular Rotor Notches for IPM
.. raw:: html
.. only:: html .. image:: /examples/adaptive_library/images/thumb/sphx_glr_UShapeSYNCRELCurvedFluxBarriers_thumb.png :alt: :ref:`sphx_glr_examples_adaptive_library_UShapeSYNCRELCurvedFluxBarriers.py` .. raw:: html
Curved Rotor Flux Barriers for SYNCREL U-Shape
.. raw:: html
Advanced examples ----------------- These examples show you how to use the basic functionality of PyMotorCAD. .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/advanced/images/thumb/sphx_glr_force_extraction_thumb.png :alt: :ref:`sphx_glr_examples_advanced_force_extraction.py` .. raw:: html
Motor-CAD force extraction example script
.. raw:: html
Basic examples -------------- These examples show you how to use the basic functionality of PyMotorCAD. .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/basics/images/thumb/sphx_glr_emag_basics_thumb.png :alt: :ref:`sphx_glr_examples_basics_emag_basics.py` .. raw:: html
Motor-CAD E-magnetic example script
.. raw:: html
.. only:: html .. image:: /examples/basics/images/thumb/sphx_glr_lab_basics_thumb.png :alt: :ref:`sphx_glr_examples_basics_lab_basics.py` .. raw:: html
Motor-CAD Lab model example script
.. raw:: html
.. only:: html .. image:: /examples/basics/images/thumb/sphx_glr_thermal_basics_thumb.png :alt: :ref:`sphx_glr_examples_basics_thermal_basics.py` .. raw:: html
Motor-CAD thermal example script
.. raw:: html
Internal scripting examples --------------------------- These examples show you how to use the internal scripting functionality of PyMotorCAD. .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/internal_scripting/images/thumb/sphx_glr_emag_thumb.png :alt: :ref:`sphx_glr_examples_internal_scripting_emag.py` .. raw:: html
E-magnetic
.. raw:: html
.. only:: html .. image:: /examples/internal_scripting/images/thumb/sphx_glr_mechanical_force_thumb.png :alt: :ref:`sphx_glr_examples_internal_scripting_mechanical_force.py` .. raw:: html
Mechanical force
.. raw:: html
.. only:: html .. image:: /examples/internal_scripting/images/thumb/sphx_glr_mechanical_stress_thumb.png :alt: :ref:`sphx_glr_examples_internal_scripting_mechanical_stress.py` .. raw:: html
Mechanical stress
.. raw:: html
.. only:: html .. image:: /examples/internal_scripting/images/thumb/sphx_glr_thermal_steady_state_thumb.png :alt: :ref:`sphx_glr_examples_internal_scripting_thermal_steady_state.py` .. raw:: html
Thermal steady-state
.. raw:: html
.. only:: html .. image:: /examples/internal_scripting/images/thumb/sphx_glr_thermal_transient_thumb.png :alt: :ref:`sphx_glr_examples_internal_scripting_thermal_transient.py` .. raw:: html
Thermal transient
.. raw:: html
Linking examples ~~~~~~~~~~~~~~~~ These examples show how you can link PyMotorCAD to other Ansys products. .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/links/images/thumb/sphx_glr_ece_export_for_twinbuilder_thumb.png :alt: :ref:`sphx_glr_examples_links_ece_export_for_twinbuilder.py` .. raw:: html
Motor-CAD Twin Builder export
.. raw:: html
.. toctree:: :hidden: :includehidden: /examples/adaptive_library/index.rst /examples/advanced/index.rst /examples/basics/index.rst /examples/internal_scripting/index.rst /examples/links/index.rst .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_