| 44438416 | 14-Feb-2020 |
Jed Brown <jed@jedbrown.org> |
NS: remove dead code for scaling VTK output back to dimensional units
Reported-by: Valeria Barra <valeriabarra21@gmail.com> |
| f68df74e | 14-Feb-2020 |
Jed Brown <jed@jedbrown.org> |
NS: add support for free slip wall boundary conditions
* -naturalz is removed since it's too specific to cartesian meshes.
* The new interface is -bc_slip_x, -bc_slip_y, and -bc_slip_z. These ta
NS: add support for free slip wall boundary conditions
* -naturalz is removed since it's too specific to cartesian meshes.
* The new interface is -bc_slip_x, -bc_slip_y, and -bc_slip_z. These take a list of face sets. For the standard box mesh, these are: cf. DMPlexCreateCubeMesh_Internal:
switch (dim) { case 2: faceMarkerTop = 3; faceMarkerBottom = 1; faceMarkerRight = 2; faceMarkerLeft = 4; break; case 3: faceMarkerBottom = 1; faceMarkerTop = 2; faceMarkerFront = 3; faceMarkerBack = 4; faceMarkerRight = 5; faceMarkerLeft = 6;
One can run a quasi-2D density current model by setting slip conditions on the ±y faces and making the domain only one element thick in that dimension.
./navierstokes -petscspace_degree 3 -problem density_current -dm_plex_box_faces 32,1,16 -ly 250 -bc_wall 1,2,5,6 -bc_slip_y 3,4 -ts_adapt_monitor -ts_adapt_safety 0.7
Physically, this is like running the experiment sandwiched in a tank with free-slip walls in the ±y dimensions.
Note: this feature currently depends on a PETSc bug-fix branch that has not yet been merged to master.
show more ...
|
| a494f8bb | 13-Feb-2020 |
Jed Brown <jed@jedbrown.org> |
NS density_current: remove redundant initial/boundary condition and trailing whitespace |
| 340dd7bf | 13-Feb-2020 |
Leila Ghaffari <leila@Leilas-MacBook-Pro.local> |
Some changes in documentation |
| dc5ed676 | 12-Feb-2020 |
valeriabarra <valeriabarra21@gmail.com> |
Update top-level README |
| ae3c328e | 12-Feb-2020 |
valeriabarra <valeriabarra21@gmail.com> |
Update examples/README |
| c2c74b9c | 12-Feb-2020 |
valeriabarra <valeriabarra21@gmail.com> |
Update examples/navier-stokes/README |
| 26c0b204 | 11-Feb-2020 |
valeriabarra <valeriabarra21@gmail.com> |
Update .gitignore |
| 8129bd13 | 11-Feb-2020 |
valeriabarra <valeriabarra21@gmail.com> |
Update documentation |
| d0bf29aa | 11-Feb-2020 |
valeriabarra <valeriabarra21@gmail.com> |
Initialize *problem pointer as NULL
This avoids -Wmaybe-uninitialized compiler warning |
| 8ebe6ec5 | 11-Feb-2020 |
Jed Brown <jed@jedbrown.org> |
NS: move nsplex.c to navierstokes.c |
| 3c792924 | 11-Feb-2020 |
Jed Brown <jed@jedbrown.org> |
NS: remove legacy navierstokes.c
|
| 0f5e34c2 | 11-Feb-2020 |
Jed Brown <jed@jedbrown.org> |
Merge branch 'jrwrigh/ns-dmplex' into jed/ns-dmplex [PR #430]
* jrwrigh/ns-dmplex: fix(navierstokes): Remove Units redefinition fix(nsplex): Add nsplex macro, ifdefs to functions test(navierst
Merge branch 'jrwrigh/ns-dmplex' into jed/ns-dmplex [PR #430]
* jrwrigh/ns-dmplex: fix(navierstokes): Remove Units redefinition fix(nsplex): Add nsplex macro, ifdefs to functions test(navierstokes): Remove stdout output for testing test(nsplex): Remove stdout output during test nsplex: Update nsplex /tests/output file navierstokes: Rename User struct to UserNS nsplex: Update stdoutParsing.py for new nsplex outputs nsplex: Print dm_plex_box_faces value nsplex: Print FEM space degree nsplex: Move python parsing function to stdoutParsing.py nsplex: Calculate computation time nsplex advection2d: choose only the smooth initial condition nsplex advection2d: make solution time-dependent nsplex: Calculate exact solution at final time nsplex: Implement ICs_PetscMultiplicity function nsplex: Add non_zero_time flag to problemData nsplex: Create SetupContext struct, add to ICs* qfuncs nsplex: Move User_ and Units_ to common.h Update .gitignore with misc editor dirs
show more ...
|
| 183552ef | 04-Feb-2020 |
James Wright <jameswright@jameswright.xyz> |
fix(navierstokes): Remove Units redefinition
- Fix compiler warning on Xcode |
| c9df0c91 | 03-Feb-2020 |
James Wright <jameswright@jameswright.xyz> |
fix(nsplex): Add nsplex macro, ifdefs to functions
- To remove 'unused-function' warnings during navierstokes compilation |
| 135e32f1 | 02-Feb-2020 |
James Wright <jameswright@jameswright.xyz> |
test(navierstokes): Remove stdout output for testing |
| 0d2f6605 | 02-Feb-2020 |
James Wright <jameswright@jameswright.xyz> |
test(nsplex): Remove stdout output during test |
| 660e43b9 | 26-Dec-2019 |
James Wright <jameswright@jameswright.xyz> |
nsplex: Update nsplex /tests/output file |
| c2bb87c3 | 26-Dec-2019 |
James Wright <jameswright@jameswright.xyz> |
navierstokes: Rename User struct to UserNS |
| 27436da1 | 24-Dec-2019 |
James Wright <jameswright@jameswright.xyz> |
nsplex: Update stdoutParsing.py for new nsplex outputs
- Add entries for FEM space degree and for dm_plex_box_faces - Example for-loop for building DataFrame no longer dictates column headers - In
nsplex: Update stdoutParsing.py for new nsplex outputs
- Add entries for FEM space degree and for dm_plex_box_faces - Example for-loop for building DataFrame no longer dictates column headers - Individual box_face columns are now added - (style) Expand regex flags
show more ...
|
| 5804cbf9 | 23-Dec-2019 |
James Wright <jameswright@jameswright.xyz> |
nsplex: Print dm_plex_box_faces value |
| b33d9a08 | 23-Dec-2019 |
James Wright <jameswright@jameswright.xyz> |
nsplex: Print FEM space degree |
| edf2bcf6 | 22-Dec-2019 |
James Wright <jameswright@jameswright.xyz> |
nsplex: Move python parsing function to stdoutParsing.py
- Contains function for parsing STDOUT of nsplex function - Python function outputs dictionary, which can be easily turned into pandas Data
nsplex: Move python parsing function to stdoutParsing.py
- Contains function for parsing STDOUT of nsplex function - Python function outputs dictionary, which can be easily turned into pandas DataFrame
nsplex: remove FLAG ARGS from stdoutParsing.py regex
- "FLAG ARGUMENTS" was a feature from a script I ran, not from the nsplex executable itself.
show more ...
|
| 9c1d70e0 | 15-Dec-2019 |
James Wright <jameswright@jameswright.xyz> |
nsplex: Calculate computation time |
| a850fc96 | 15-Dec-2019 |
Jed Brown <jed@jedbrown.org> |
nsplex advection2d: choose only the smooth initial condition |