Skip to main content

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

Metadata

Release files for arnica 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arnica 2.2.1
File Size Uploaded
arnica-2.2.1.tar.gz 219.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arnica 2.2.1
File Interpreter ABI Platform
arnica-2.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 508.6 kB

Release files / arnica-2.2.1.tar.gz

Download URL arnica-2.2.1.tar.gz
Size 219.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d318e5939327ebe6b19f7c1589c32c1615ec82a361e3a88cafe4ea7b4f1ea88b
BLAKE2b-256 checksum
How to use checksums
0b00ed3d308a8360b0a03be84a373e2fd63fc15331a2be336e7eafe452e76d45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / arnica-2.2.1-py3-none-any.whl

Download URL arnica-2.2.1-py3-none-any.whl
Size 288.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c8ea4734ba0abac1479cd58d12613ba6fb9d02cd71f736ad519a33455dc2190
BLAKE2b-256 checksum
How to use checksums
a9ff902b8081718562d1f73ea6666ca7e4fff1d9b9ad5bb453ef70744b4804f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

2.2.1 This release

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.14.3

2 release files

1.14.2

2 release files

1.14.1

2 release files

1.14.0

2 release files

1.13.2

2 release files

1.13.1

2 release files

1.13.0

2 release files

1.11.0

2 release files

1.10.1

2 release files

1.10.0

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4

2 release files

1.3.3

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page