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.9.tar.gz (58.1 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.9-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xcompact3d_toolbox-0.1.9.tar.gz
  • Upload date:
  • Size: 58.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for xcompact3d_toolbox-0.1.9.tar.gz
Algorithm Hash digest
SHA256 ff4fbd385d416a6d8a586e6af1ec5f370ce1557be014b1e3d5d5b45bd1d38158
MD5 930d0d25544630b45ac7b0de0848ad4e
BLAKE2b-256 905c838ff7e182eae2c7c8a13477f75bc0caa7ce43351b423d0f97a49aa9d51a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xcompact3d_toolbox-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 54.6 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/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for xcompact3d_toolbox-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0471f5f41a7a27e4ccf5fa8e684738d83745852ec36a6eea85aa64ffad7bcb5c
MD5 05bbaa12dcfe98ff60f80f4cc27bf829
BLAKE2b-256 435df40dff26d5a3fbba6114fb6926f06c52ce1dc3f052a0e4a2ffd033ea1bae

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