Skip to main content

No project description provided

Reason this release was yanked:

unstable

Project description

Glacium

Glacium is a lightweight command line tool to manage small simulation workflows. Projects are created inside the runs/ directory and consist of a global configuration, a set of jobs and rendered templates. The focus lies on easily defining new recipes and executing jobs in dependency order.

Installation

Install the package with pip (Python 3.12 or newer is required):

pip install .

This exposes a glacium command via the console script entry point.

Usage

Below is a quick tour through the most important CLI commands. Each command provides --help for additional options.

Create a project

# create a new project from the default recipe
glacium new MyWing

The command prints the generated project UID. All projects live below ./runs/<UID>.

List projects

glacium projects

Select a project

# select by number from `glacium projects`
glacium select 1

The selected UID is stored in ~/.glacium_current and used by other commands.

Run jobs

# run all pending jobs in the current project
glacium run

You can run specific jobs by name as well:

glacium run XFOIL_REFINE XFOIL_POLAR

Show job status

glacium list

The table now includes an index column so you can refer to jobs by number.

Manage individual jobs

# reset a job to PENDING
glacium job reset XFOIL_POLAR
glacium job reset 1  # via index

You can list all available job types with numbers:

glacium job --list

Select a job of the current project by its index:

glacium job select 1

Jobs can also be added or removed via their index:

glacium job add 1
glacium job remove 1

Sync projects with recipes

# refresh the job list of the current project
glacium sync

Remove projects

# delete the selected project
glacium remove

Use --all to remove every project under ./runs.

External executables

Paths to third party programs can be configured in runs/<UID>/_cfg/global_config.yaml. Important keys include POINTWISE_BIN, FENSAP_BIN and the newly added FLUENT2FENSAP_EXE pointing to fluent2fensap.exe on Windows.

Development

All tests can be run with:

pytest

To enable automatic version management install the plugin once:

poetry self add "poetry-dynamic-versioning[plugin]"

poetry install will pull setuptools_scm as specified in pyproject.toml. Versions are taken from Git tags, e.g.:

git tag v1.2.0 -m "release"

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

glacium-1.1.0.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

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

glacium-1.1.0-py3-none-any.whl (94.0 kB view details)

Uploaded Python 3

File details

Details for the file glacium-1.1.0.tar.gz.

File metadata

  • Download URL: glacium-1.1.0.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for glacium-1.1.0.tar.gz
Algorithm Hash digest
SHA256 109c0af8f950dbaa4338b077022cb44d9c4941578a89858d113a95fc6c5779d3
MD5 8298940858a6b37c962b02ebf4d14bbf
BLAKE2b-256 1627c0d84bdf9567178a79f41ed57054563a558c2201d4bae9c533a3f2e5c91c

See more details on using hashes here.

File details

Details for the file glacium-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: glacium-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 94.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for glacium-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67dd246758dcc9d9dfb4244864878aaf1855c6e2b993adc8f58ed119c24b57d8
MD5 6649d7aba464e30abc5e08853a93b214
BLAKE2b-256 4f7cabb99ecb229176c0cab98be4b27cb2b11676fcd83afd8dae5d7a5984661b

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