https://github.com/ggrbill/cavsim
Cavity Simulator
https://github.com/ggrbill/cavsim
cavity-simulators cpp finite-volume-methods hacktoberfest navier-stokes-equations python wuds
Last synced: about 2 months ago
JSON representation
Cavity Simulator
- Host: GitHub
- URL: https://github.com/ggrbill/cavsim
- Owner: ggrbill
- License: mit
- Created: 2018-09-03T21:27:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-11T21:58:30.000Z (over 4 years ago)
- Last Synced: 2025-01-10T01:28:13.468Z (over 1 year ago)
- Topics: cavity-simulators, cpp, finite-volume-methods, hacktoberfest, navier-stokes-equations, python, wuds
- Language: C++
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# CavSim
The lid-driven cavity simulator
## Development Environment
This project is based in a `conda` environment using `conda-devenv` and `conda-lock` tools. For all basic tools instalation:
- `conda` basic package: For `miniconda` installation follow the instructions [here](https://conda.io/miniconda.html)
- `conda-devenv` package: Installation instructions click [here](https://conda-devenv.readthedocs.io/en/latest/installation.html) and
- `conda-lock` package: Installation instructions click [here](https://conda.github.io/conda-lock/).
It is important to note that `conda-devenv` and `conda-lock` MUST be installed in the `base` conda environment to allow the usage in this project.
### Setup and Environment Activation
To create and activate the conda environment called `cavsim-dev` execute the following commands into project root folder
```shell
$ conda devenv
$ conda activate cavsim-dev
```
### Updating Environment
If you add or remove dependencies, or change version requirements in the `environment.devenv.yml` file, you can update the locks with:
```shell
$ conda devenv --lock
```
This will attempt to keep the existing pins as much as possible.
To update to the latest version of one or more libraries, for all platforms:
```shell
$ conda devenv --update-locks pytest --update-locks boltons
```
If you want to update all libraries to the latest version, pass an "" (empty) value:
```shell
$ conda devenv --update-locks ""
```
All these instructions are available in the `conda-devenv` [documentation](https://conda-devenv.readthedocs.io/en/latest/usage.html#locking).