Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrwrigh/cgnspetscfilewritingtoy
https://github.com/jrwrigh/cgnspetscfilewritingtoy
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jrwrigh/cgnspetscfilewritingtoy
- Owner: jrwrigh
- Created: 2024-08-06T19:40:57.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T20:12:57.000Z (3 months ago)
- Last Synced: 2024-08-06T23:11:36.106Z (3 months ago)
- Language: Makefile
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Build
1. Set `PETSC_DIR` and `PETSC_ARCH` appropriately for your petsc installation (such that `$PETSC_DIR/$PETSC_ARCH` is the path to the installation directory).
2. `make`## Running
The `settings.yaml` has most of the default options necessary.
Run using (for example):
```
mpirun -n 4 ./exec -options_file setting.yaml
```Size of the problem is controlled by `-dm_plex_box_faces` flag. So a 100x100x100 mesh would be:
```
mpirun -n 4 ./exec -options_file setting.yaml -dm_plex_box_faces 100,100,100
```Order of the elements is set via `-degree`. So quadratic elements would have `-degree 2`
The time taken to write the file is printed out at the end (via the `VecView` event in PETSc).