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.8.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.8-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xcompact3d_toolbox-0.1.8.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.50.0 CPython/3.8.5

File hashes

Hashes for xcompact3d_toolbox-0.1.8.tar.gz
Algorithm Hash digest
SHA256 a267559331a593324aaef48cc68706f28edba5b998d7dfda57f864af85248b05
MD5 09d6dbefa034cffd5284f7ba7b151de5
BLAKE2b-256 f7d1fb0a9f44419830ce8771696058faf769305b4cf6b0cfde754a372de91843

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xcompact3d_toolbox-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 53.4 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.50.0 CPython/3.8.5

File hashes

Hashes for xcompact3d_toolbox-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c082fe04f1295421bd26476619200d5f0b8bd3225c5a2b030eac95c614efb27c
MD5 6466fd252d825caa714867c7ee0a0ea7
BLAKE2b-256 2e66d3fc411d2637c1eb867032ff2d4a1403a014ddc338e3e1628a0862ea3998

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