.. _getting_started:
Getting started
###############
To run PySystemCoupling, you must have a local copy of Ansys System Coupling.
Although System Coupling itself does not need a license, you must have licenses
for all Ansys products involved in your coupled analysis.
PySystemCoupling supports Ansys System Coupling version 2023 R1 and later.
.. note::
The detailed documentation, particularly that in the :ref:`ref_index_api`
section, is based on the *current* official Ansys release at this release of
PySystemCoupling. This is **2024 R2**. Although the majority of it does not change
between releases, you should consult the API documentation for an earlier
applicable release of PySystemCoupling if you are running with an older System
Coupling version and want to be sure of the details.
For more information on getting a licensed copy of Ansys products, visit
the `Ansys `_ website.
Install PySystemCoupling
========================
The ``ansys-systemcoupling-core`` package currently supports Python 3.10 through
Python 3.12 on Windows and Linux.
Install the latest release from `PyPI `_
with this command:
.. code::
pip install ansys-systemcoupling-core
Alternatively, install the latest version from `PySystemCoupling GitHub
`_ with this command:
.. code::
pip install git https://github.com/ansys/pysystem-coupling.git
If you plan on doing local *development* of PySystemCoupling with Git,
install the latest ``ansys-systemcoupling-core`` package with this code:
.. code::
git clone https://github.com/ansys/pysystem-coupling.git
cd pysystem-coupling
pip install -e .
Launch System Coupling
======================
Launch System Coupling from Python using the ``launch()`` function:
.. code:: python
import ansys.systemcoupling.core as pysystemcoupling
syc = pysystemcoupling.launch()
syc.ping()
System Coupling is now active and ready to be used as a service. For information on
using the PySystemCoupling interface, see the :ref:`ref_user_guide`.