https://github.com/iydon/of.yaml-template
Template and demo for iydon/of.yaml repository
https://github.com/iydon/of.yaml-template
openfoam python yaml
Last synced: about 1 month ago
JSON representation
Template and demo for iydon/of.yaml repository
- Host: GitHub
- URL: https://github.com/iydon/of.yaml-template
- Owner: iydon
- License: gpl-3.0
- Created: 2022-08-14T00:30:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-16T14:49:58.000Z (almost 4 years ago)
- Last Synced: 2025-09-19T18:31:20.817Z (9 months ago)
- Topics: openfoam, python, yaml
- Language: Python
- Homepage: https://github.com/iydon/of.yaml
- Size: 1.65 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Example repository using [ifoam](https://github.com/iydon/of.yaml) library
## Dependency Management
| Tool | File |
| ------------------------------------------------- | ----------------------------------------------- |
| [pip](https://github.com/pypa/pip) | [requirements.txt](config/pip/requirements.txt) |
| [pipenv](https://github.com/pypa/pipenv) | [Pipfile](config/pipenv/Pipfile) |
| [poetry](https://github.com/python-poetry/poetry) | [pyproject.toml](config/poetry/pyproject.toml) |
| [pdm](https://github.com/pdm-project/pdm) | [pyproject.toml](config/pdm/pyproject.toml) |
## Available Script(s)
| File | Description |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [dam_break.py](script/dam_break.py) | By changing the height of water in the [damBreak](https://github.com/OpenFOAM/OpenFOAM-7/tree/master/tutorials/multiphase/interFoam/laminar/damBreak/damBreak) case to find the corresponding centroid of water. |
| [naca_airfoil.py](script/naca_airfoil.py) | By changing the angle of attack in the [nacaAirfoil](https://github.com/OpenFOAM/OpenFOAM-7/tree/master/tutorials/compressible/rhoPimpleFoam/RAS/nacaAirfoil) case to find the corresponding lift and drag coefficients. |
## Visualization Result(s)
### [damBreak](script/dam_break.py)

### [nacaAirfoil](script/naca_airfoil.py)
