Skip to main content

A set of tools for pre and postprocessing prepared for the high-order Navier-Stokes solver Xcompact3d

Project description

Xcompact3d Toolbox

Build Status Documentation Status PyPI version Code style: black

It is a Python package designed to handle the pre and postprocessing of the high-order Navier-Stokes solver Xcompact3d. It aims to help users and code developers with a set of tools and automated processes.

Xcompact3d Toolbox is still in pre-release, be aware that new features are going to be added to it and the current features may change with no further notice.

The physical and computational parameters are built on top of traitlets, a framework that lets Python classes have attributes with type checking, dynamically calculated default values, and ‘on change’ callbacks. In addition to ipywidgets for an user friendly interface.

Data structure is provided by xarray (see Why xarray?), that introduces labels in the form of dimensions, coordinates and attributes on top of raw NumPy-like arrays, which allows for a more intuitive, more concise, and less error-prone developer experience. It integrates tightly with dask for parallel computing.

Finally, Xcompact3d Toolbox is fully integrated with the new Sandbox Flow Configuration (see fschuch/Xcompact3d). The idea is to easily provide everything that X3d needs from a Jupyter Notebook, like initial conditions, solid geometry, boundary conditions, and the parameters (see examples). It makes life easier for beginners, that can run any new flow configuration without worrying about Fortran and 2decomp. For developers, it works as a rapid prototyping tool, to test concepts and then compare results to validate any future Fortran implementation.

Installation

pip install xcompact3d-toolbox

Useful links

Try it Online

badge badge

Click on any link above to launch Binder and interact with our notebooks in a live environment!

Copyright and License

(c) 2020 Felipe N. Schuch. All content is under GPL-3.0 License.

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

xcompact3d_toolbox-0.1.6.tar.gz (56.9 kB view details)

Uploaded Source

Built Distribution

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

xcompact3d_toolbox-0.1.6-py3-none-any.whl (53.5 kB view details)

Uploaded Python 3

File details

Details for the file xcompact3d_toolbox-0.1.6.tar.gz.

File metadata

  • Download URL: xcompact3d_toolbox-0.1.6.tar.gz
  • Upload date:
  • Size: 56.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for xcompact3d_toolbox-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5f1867a205a447576a9f6a1b70ab9e1ae629d8fc346b7b5f51f60aa9cf76eb48
MD5 9a714ea651a9479c9ef7cf6461eba7cc
BLAKE2b-256 7a9263e161212fb505667c2055102f07552b542a77bcfd4579e53a8e8dee5be9

See more details on using hashes here.

File details

Details for the file xcompact3d_toolbox-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: xcompact3d_toolbox-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 53.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for xcompact3d_toolbox-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d7476014882f0298c3970c8c9a3ca07080e4a09a214c046bd2e57c75d2c669d1
MD5 274e586f852d3235c2918c02dc841af1
BLAKE2b-256 a3980d3147fdad500c937a2ecf1209965cb05a10f38bfdf92601f7c70001a42f

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