A python plot3D library for reading, writing, finding connectivity, and post processing for Plot3D data files.
To install simply do a pip install plot3d
Building the docs
- From python/, run poetry install --with docs (and commit the refreshed poetry.lock) to capture the new Sphinx dependencies.
- Build locally with poetry run sphinx-build -b html ../docs ../docs/_build/html or use poetry run sphinx-autobuild for live previews.
- Push the branch to main, then enable GitHub Pages (Settings → Pages → “GitHub Actions”) so the new workflow can deploy your merged Sphinx docs automatically.
Metis is used to group the blocks to be evaluated. So say you have 1000 blocks and 8 CPU. The blocks are split up and sent to the CPU or GPU. The split is done with weighting to block size and connectivity this way each processor is evaluating similar number of nodes. Plot3D Library will work without metis but metis functionality wont be available.
Metis needs to be installed and configured as part of your METIS_DLL or LD_LIBRARY path
- Download Metis http://glaros.dtc.umn.edu/gkhome/metis/metis/download
- Follow the compiling instructions
Add to your profile for Ubuntu
# metis
export PATH="/home/[username]/metis:$PATH"
export LD_LIBRARY_PATH="/home/[username]/metis:$LD_LIBRARY_PATH"For Mac. install homebrew and do brew install metis then add this to your ~/.zprofile
# Metis
export METIS_DLL=/opt/homebrew/Cellar/metis/5.1.0/lib/libmetis.dylib- Install metis python library
pip install metis
Reading Writing and Viewing Plot3D files
Periodicity with axially rotated and copied blocks
Learning Bash for Automating Tasks
Never use jupyter notebook unless you are done with your .py file and want to demo code. Jupyter is painful for debugging.
- Better comments https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments
- Python syntax highlighting https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance
- Remote Development https://code.visualstudio.com/docs/remote/remote-overview
- Python doc string generator https://marketplace.visualstudio.com/items?itemName=njpwerner.autodocstring
| Name | Position | Dates | Contribution | |
|---|---|---|---|---|
| Paht Juangphanich | Owner | 2021- | Creator | https://github.com/pjuangph |
| David Rigby | Advisor | Fall 2021 | Block splitting help | |
| Christopher Keokot | Intern | Fall 2021 | Plot3D ReactJS GUI | |
| Tim Beach | Advisor | Fall 2021 | Block splitting help |
The development of this library was supported by NASA AATT (Advance Air Transport Technology). The development is supported by NASA Glenn LTE Branch. Anyone is welcome to contribute by submitting a pull request.