Skip to main content

All Recurrent No-brainers In Cerfacs Applications

Project description

ARNICA or All Recurrent No-brainers In Cerfacs Applications

We keep there all the simple little things we regularly need, to ease the pain.

For example a cartesian-to-cylindrical conversion around x-axis, with a specific convention

def rtheta2yz(rrr, theta):
    """ return yz fror rtheta ,
    theta in  radians measure of ange in the yz plane,
    - range -pi/pi
    - 0 on the y+ axis (z=0, y>0)
    spanning -pi to pi

                        0pi=0deg
                      Y
                      ^
                      |
                      |
    -0.5pi=-90deg     o------>Z   0.5pi=90deg

    """
    yyy = rrr * np.cos(theta)
    zzz = rrr * np.sin(theta)
    return yyy, zzz

Ok trivial, but I did mention it was a no-brainer no? Having these bits in a single repository adds the following values:

  • Unitary testing.
  • linting.
  • Automatic documentation.
  • Can be used by others in Cerfacs.

In Arnica, useful features related to Computational Fluid Dynamics (CFD) are implemented, namely:

  1. CFD related tools aiming to be used together with the Reactive software suite AVBP.
  2. CFD related bare functionnalities such as ParaView-readable XDMF writers from Numpy arrays, axi-symetric shell generators, 2D finite differences solvers, etc.

Contributors are, for the moment, the CERFACS/COOP Team that can be reached at coop@cerfacs.fr.

Documentation is available on internal Forge arnica at Nitrox or on arnica at ReadTheDocs.

Source code is hoster on internal Forge arnica at Nitrox, where all the devops occur. It is then mirrored at arnica at gitlab.com/cerfacs

If you are willing to contribute, please read carefully the guide in the CONTRIBUTING.md file.

Installation

Arnica can be installed directly in your Python 3 environnement by running the command:

pip install arnica

This command will install Arnica and all its dependencies (if needed). Once this step is over you can use arnica as a Python module in a script:

import arnica

License

CeCILL-B FREE SOFTWARE LICENSE AGREEMENT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arnica-2.2.0.tar.gz (202.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arnica-2.2.0-py3-none-any.whl (240.7 kB view details)

Uploaded Python 3

File details

Details for the file arnica-2.2.0.tar.gz.

File metadata

  • Download URL: arnica-2.2.0.tar.gz
  • Upload date:
  • Size: 202.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for arnica-2.2.0.tar.gz
Algorithm Hash digest
SHA256 edfd0868d0159bc2a6bce67c480b16ea7f7659a6cdb7e9709339f2a90dcab063
MD5 5c3ac10a901dea3df8b89ec506edfe0e
BLAKE2b-256 055f7a2bb8186f9c3ecf2d8ed99d59a3ad31cbd1efd15aae8f22b4c80b1d6c07

See more details on using hashes here.

File details

Details for the file arnica-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: arnica-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 240.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for arnica-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e5b9817984f4345d1893a08486f39dfcac577edea30b81676599cf2d408e1f0
MD5 6bc8f58d20549869dbfa959f4854e409
BLAKE2b-256 9e1f4dc3218587e30f42b9938b271b1599391536fa4186655da455ebe03cdcfa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page