.. _python_API_actuator_disk:

.. currentmodule:: flow360

**************************
Actuator Disk
**************************

This example demonstrates the configuration and analysis of a simulation incorporating an actuator disk model using the Flow360 Python API.
The script initializes a project from a volume mesh, defines an actuator disk using a cylindrical entity and specified force distributions,
sets up the simulation parameters including the operating conditions and turbulence model, and executes the case.
Furthermore, it illustrates post-processing techniques to retrieve, visualize, and save the actuator disk performance data.

.. literalinclude:: ../../../../../Flow360/examples/post_processing/special_features/actuator_disk.py
  :language: python
  :linenos:

Notes
=====

- The propeller's influence is modeled using ``fl.ActuatorDisk``, which applies forces based on specified thrust and circumferential distributions per unit area via ``fl.ForcePerArea``.
- Post-simulation analysis involves accessing the ``results.actuator_disks`` object to obtain, plot, and export performance metrics such as forces, moments, and power.
