| 66c6f16b | 24-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Separate DMs for Matop input and output |
| 1b99e980 | 24-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Misc cleanup
- Change/remove comments - Remove superfluous includes |
| e335ac96 | 15-Feb-2023 |
Jed Brown <jed@jedbrown.org> |
ci: upgrade to clang-format-15 (#1157) |
| c5e9980a | 15-Feb-2023 |
Adeleke O. Bankole <86932837+AdelekeBankole@users.noreply.github.com> |
Lift, Drag, Heat Transfer (#1130)
* add functions for surface forces
* function for surface forces
* reaction forces
* add points to label
* WIP: examples/fluids: sketch surface force ca
Lift, Drag, Heat Transfer (#1130)
* add functions for surface forces
* function for surface forces
* reaction forces
* add points to label
* WIP: examples/fluids: sketch surface force calculations
* examples/fluids: fix for parallel, when there are no such points on a process
* add TSMonitor_FaceForce function
* update on TSMonitor FaceForce
* create .csv file
* cleanup TS Monitor FaceForce function
* include surface forces viewer to header file
* include ts monitor surface force viewer to cloptions
* update where TSMonitor FaceForce are called
* examples/fluids: update wall forces to write csv
mpiexec -n 5 build/fluids-navierstokes -options_file examples/fluids/vortexshedding.yaml -{ts,snes}_monitor -degree 1 -ts_monitor_wall_forces ascii:force.csv:ascii_csv
* update documentation
* reaction force data
* plotting script
* examples/fluids: seaborn plotting with twinx and colors
* delete data file
* tuck away csv file
* place python script in subdirectory
* examples/fluids/postprocess: put shedding period in title
* examples/fluids: document wall force and shedding postprocess
---------
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|
| c2cb7fc8 | 23-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add UpdateContextLabel utility |
| d482b93a | 24-Jan-2023 |
James Wright <james@jameswright.xyz> |
refactor(fluids): Move stats ceed_data to SpanStatsSetupData
- Add create/destroy functions for SpanStatsSetupData - Moved SF creation inside CreateStatsSF - Removed unused members from user->spa
refactor(fluids): Move stats ceed_data to SpanStatsSetupData
- Add create/destroy functions for SpanStatsSetupData - Moved SF creation inside CreateStatsSF - Removed unused members from user->spanstats - Added destroy of elem_restr_qx (a fix) - Moved all parent L2 projection related operations into SetupL2ProjectionStats - Removed QFunction members from SpanStatsSetupData (no need to keep them beyond operator creation)
show more ...
|
| 0f9508d2 | 22-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add MatopApplyContextDestroy |
| aa0e8d72 | 22-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Distribute parent DM on creation |
| ee760e28 | 22-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Get comm from dm in turb_spanstats.c
- Don't use guess at the MPIComm, just use the one based on the (appropriate) DM - Misc formatting too |
| b8daee98 | 24-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Stats collection weighted in QFunction
- Allows for only keeping one CeedVector for child statistics |
| 0e1e9333 | 19-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add turb spanstats test, change test option
- `-test` changed to `-test_type` enum to test different outputs |
| cbc550ad | 19-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Use enum for turbulence statistics components
- Also change the filenames to be more specific - Define num_comp_stats via TURB_NUM_COMPONENTS
Co-authored-by: Jed Brown <jed@jedbrown.org> |
| c931fa59 | 19-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Change turb_spanstats CL option names
- Options controlling the actual TSMonitor are under `ts_monitor_turbulence_spanstats_*` - `stats_enable` removed in favor of `ts_monitor_turbulence
fluids: Change turb_spanstats CL option names
- Options controlling the actual TSMonitor are under `ts_monitor_turbulence_spanstats_*` - `stats_enable` removed in favor of `ts_monitor_turbulence_spanstats_viewer` being the statistics switch - Related objects excluding the viewer (such as the dm and ksp) get the prefix `turbulence_spanstats` - Change the `stats_test` related functions and variables to use the `mms` nomenclature, since they're method of manufactured solutions.
show more ...
|
| b608575f | 19-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Require spanstats collection when writing
- Otherwise, stats may be written to file with a timestep/solution time associated with it that wasn't collected. |
| 322b01fd | 18-Jan-2023 |
Jed Brown <jed@jedbrown.org> |
examples/fluids: fix stats after restart
* Switch from reweighted average to running sum of child stats * Initialize sp_stats->prev_time after restart * Use TS reason instead of extra flag * Skip
examples/fluids: fix stats after restart
* Switch from reweighted average to running sum of child stats * Initialize sp_stats->prev_time after restart * Use TS reason instead of extra flag * Skip redundant monitor call; monitors always get called after last step (converged or not) * Close memory leak
show more ...
|
| c996854b | 17-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Create UpdateBoundaryValues, fix statistics
- Statistics would fail when non-zero strong bcs were used due to Q_loc not containing those values. Instead, use user->Q_loc and call UpdateB
fluids: Create UpdateBoundaryValues, fix statistics
- Statistics would fail when non-zero strong bcs were used due to Q_loc not containing those values. Instead, use user->Q_loc and call UpdateBoundaryValues to verify that the boundaries are set.
show more ...
|
| 0e0bd4b2 | 17-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add Stats Setup log stage |
| d5187bba | 17-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Misc cleanup to CreateStatsDM |
| 33c4a240 | 16-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Create Stats DM for periodic face
- Note this relies on the periodicity being isoperiodic rather than topologicially periodic.
Co-authored-by: Jed Brown <jed@jedbrown.org> |
| 109cd75b | 14-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Use persistent viewer for statistics
- Use prefix 'stats_viewer' - Particularly useful for setting `stats_viewer_cgns_batch_size` |
| 985633d0 | 14-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Remove StatsCollectFinalCall
- Effectively duplicate of TSMonitor_Statistics |
| 0bf16533 | 24-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Destory statistics objects at the end |
| f35bfc64 | 13-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add log stages to statistics |
| 08df4d42 | 13-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Check result of statistics testing |
| b0488d1f | 24-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Implement statistics collection |