A package to conduct solution verification for CFD
Project description
Efficient solution verification tools for computational fluid dynamics (CFD).
CFDverify is a python package designed to make verifying computational fluid dynamics (CFD) simulations easier! Solution verification is essential for trustworthy CFD results, but you need to spend your time running simulations, not fiddling with error analysis. CFDverify provides tested methods, batteries included! Check out the tutorial notebooks, use the provided utilities for easy plotting and output, or peruse the documentation to catch up on the theory. CFDverify is in early stages of development, so make sure to open an issue if it doesn’t have a feature you need; but, be warned, the interface may change unexpectedly until the first major release!
Installation
To get the latest release of CFDverify, use pip pip install cfdverify. The latest release is hosted on the Python Package Index (PyPI) here.
If you prefer to install from the source, download this repository to a suitable location on your computer, (optionally) activate your environment, and install with pip.
git clone git@github.com:ORNL/cfd-verify.git
cd cfd-verify
source /path/to/your/venv/bin/activate
pip install .
To install dependencies for testing the code, install with the command pip install .[tests]. Likewise, to install documentation dependencies use the command pip install .[docs]. Alternatively, install all optional dependencies using the command pip install .[full].
Documentation
Documentation is available on Read the Docs.
To build CFDverify’s documentation locally, execute the command make html in the docs directory of CFDverify.
cd cfd-verify/docs
make html
# or make latexpdf to generate a PDF
The documentation can then be read using any web browser by opening the file cfd-verify/docs/build/html/index.html. Install CFDverify using pip install .[docs] to ensure you have all the required dependencies to build the documentation. If you choose to build a PDF version, you will need to make sure your system has the necessary LaTeX executables.
Testing
To run CFDverify’s tests, execute the command pytest in the top level of the CFDverify directory or in the tests sub-directory. Install CFDverify using pip install .[tests] to ensure you have all the required dependencies to run tests.
Contributing
More information coming soon! For now, feel free to open an issue or contact the author.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cfdverify-0.0.2.tar.gz.
File metadata
- Download URL: cfdverify-0.0.2.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c675af7f34e8ab2bc0d06c6cb379dfcc3ac0b5ce7622d1fcb02728cae55b7f1
|
|
| MD5 |
ede080f983b0131634cffce9dcdc4a1d
|
|
| BLAKE2b-256 |
f61a7a073e9572b330f62bc75545bece2721007f6ecfeefd8041349909f97645
|
File details
Details for the file cfdverify-0.0.2-py3-none-any.whl.
File metadata
- Download URL: cfdverify-0.0.2-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
929eb1d5750d7828c6e6c2666dc3c299e08b9df69a67716d4195833d01a3f1a7
|
|
| MD5 |
91fc5573db5f66f59581749afc5aef53
|
|
| BLAKE2b-256 |
8a262ac0221a28c58ca202c189bceb6548caefd49ed3b7b8b582b3f18bb49ec8
|