A set of tools for pre and postprocessing prepared for the high-order Navier-Stokes solver Xcompact3d
Project description
Xcompact3d Toolbox
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.
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, 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 Python Jupyter Notebook, like initial conditions, solid geometry, boundary conditions, and the parameters. 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 implementations.
Installation
pip install xcompact3d-toolbox
Documentation
Under preparation.
Copyright and License
(c) 2020 Felipe N. Schuch. All content is under GPL-3.0 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for xcompact3d_toolbox-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80777b168dc96801871125bc8b3fe41791f813a54497277715f8a028e5811186 |
|
MD5 | 89be6f9f00df0157cf06558f3258cf6c |
|
BLAKE2b-256 | fe0a2bbdc0ee1a1999d6cf87876e1dc3e074661e052ce84ccb2169ea387b0e38 |