| #
4de8550a
|
| 04-Jan-2023 |
Jed Brown <jed@jedbrown.org> |
examples/fluids: write step and time to single binary checkpoint file
The -continue and -continue_time_filename arguments can be skipped when reading new-style files, which include the step number.
examples/fluids: write step and time to single binary checkpoint file
The -continue and -continue_time_filename arguments can be skipped when reading new-style files, which include the step number. When reading legacy files, all three are necessary.
This deprecates the time file.
show more ...
|
| #
37cbb16a
|
| 04-Jan-2023 |
Jed Brown <jed@jedbrown.org> |
examples/fluids: deprecated output_freq for checkpoint_interval and fix numbering
|
| #
d310b3d3
|
| 24-Dec-2022 |
Adeleke O. Bankole <86932837+AdelekeBankole@users.noreply.github.com> |
Vortex shedding / flow past cylinder (#1082)
* add vortex shedding problem
* add file for the Qfunctions
* add yaml file
* update problem setup
* update IC qfunc
* update problem set
Vortex shedding / flow past cylinder (#1082)
* add vortex shedding problem
* add file for the Qfunctions
* add yaml file
* update problem setup
* update IC qfunc
* update problem setup
* update initial condition
* update yaml file
* add mesh file
* add vortexshedding to navierstokes.h
* register vortexshedding to cloptions.c
* update configuration/yaml file
* fix Min function
* examples/fluids: fix boundary condition labels for cylinder
$PhysicalNames
6
2 1 "inlet"
2 2 "outlet"
2 3 "top"
2 4 "bottom"
2 5 "cylinderwalls"
2 6 "frontandback"
$EndPhysicalNames
* update QFunctions in navierstokes.c
* update data and BC structs in navierstokes.h
* update vortexshedding.c
* update states
* update IC in vortexshedding.h
* add freestream BC to cloptions
* updates in setuplibceed.c
* include freestream BC in example
* cleanup duplicate variable names
* rename variables as freestream
* clean-up some warning messages
* clean up example
* add cylinder.geo
* label physical volume
* examples/fluids: fix cylinder mesh and add vortexshedding defaults
* update gravity vector
* examples/fluids: match domain to Shakib, get vortex street
* update to quadratic mesh
* clean up yaml file
* delete vortexshedding.c and vortexshedding.h
* remove vortexshedding from register
* update yaml file
* examples/fluids: Newtonian "still" initial condition
Reinstate outflow boundaries that were previously removed so that
existing tests can pass.
* examples/fluids: freestream inherits reference state
Fix freestream context reference counting bug.
* examples/fluids: avoid designated initializer in kernel code (breaks CUDA)
* add Shakib91 to references
* remove cylinder.geo and cylinder.msh
* wip:add documentation for vortex shedding
* update path to cylinder.msh
* add subdirectory for meshes
* parameterize cylinder.geo
* some fixes in cylinder.geo
* Fix cylinder.geo file
* examples/fluids: fix up mesh parametrization
Fix cylinder size (the function is Sqrt, not sqrt) and parametrize
resolution and aspect.
* examples/fluids: fix build after broken merge from main
* update Shakib1991 in references
* wip:docs for vortex shedding
* remove TODO comment
* reformulate docs
* fix docs
* delete cylinder.msh file
* work on documentation
* add vortex runtime options
* examples/fluids: update vortex shedding docs and mesh
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|
| #
e6b94121
|
| 21-Dec-2022 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #1096 from CEED/leila/fluids-stab-coef
Fluids-newtonian: Stabilization coefficients dependent on polynomial degree
|
| #
fc14f3f6
|
| 21-Dec-2022 |
Leila Ghaffari <Leila.Ghaffari@colorado.edu> |
fluids: default q_extra = 0
|
| #
a6fb1c37
|
| 12-Dec-2022 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #1115 from CEED/jed/fluids-device-bind-petsc
fluids: device bind petsc and fix HLLC for CUDA
|
| #
0992c3d1
|
| 11-Dec-2022 |
Jed Brown <jed@jedbrown.org> |
examples/fluids: eagerly initialize PETSc device
|
| #
2b730f8b
|
| 17-Nov-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Switch to clang-format (#1051)
* style - switch to clang-format
* ci - use newer libxsmm
* action - update format action
* format - consistent use of {} for multi-line if/for
* make - re
Switch to clang-format (#1051)
* style - switch to clang-format
* ci - use newer libxsmm
* action - update format action
* format - consistent use of {} for multi-line if/for
* make - remove stray newline
* make - simpler 'make format' target
* ci - use newer libxsmm
* doc - minor release note claification
* minor - minor fix
* minor - minor fix
* minor - minor fix
* minor - minor fix
* make format
* format - less aggressive alignment rules
* tidy - check for argument name mismatches
* fix newline
* format - mirror Ratel update to .clang-format
* fix merge error
* fix merge conflict
* fix merge error
* drop style in .phony list
* Update .clang-format
Co-authored-by: Jed Brown <jed@jedbrown.org>
* apply updated format
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|
| #
69293791
|
| 15-Nov-2022 |
James Wright <james@jameswright.xyz> |
fluids: Make simulation continuation more flexible (#1086)
* fluids: Add options to continue from specific file
* fluids: Option to write out bins with step number
* doc(fluids): Document outp
fluids: Make simulation continuation more flexible (#1086)
* fluids: Add options to continue from specific file
* fluids: Option to write out bins with step number
* doc(fluids): Document output/continuation flags
show more ...
|
| #
98e66431
|
| 15-Nov-2022 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #1080 from CEED/ade/riemann-bcs
HLL Flux for Riemann BCs
|
| #
cea0a271
|
| 02-Nov-2022 |
James Wright <james@jameswright.xyz> |
fluids: Add newtonian_wave problem
- Mainly used to verify the HLL boundary condition.
|
| #
f4ca79c2
|
| 02-Nov-2022 |
James Wright <james@jameswright.xyz> |
fluids: Integrate freestream bc
|
| #
ff40a6a7
|
| 11-Jul-2022 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #994 from CEED/fluids-block-diagonal
Fluids block diagonal
|
| #
544be873
|
| 10-Jul-2022 |
Jed Brown <jed@jedbrown.org> |
examples/fluids: use shell for Amat, block diagonal aij* for Pmat
This adds two independent options for tuning solves.
-amat_type shell: causes Amat and Pmat to be different matrices, with shell us
examples/fluids: use shell for Amat, block diagonal aij* for Pmat
This adds two independent options for tuning solves.
-amat_type shell: causes Amat and Pmat to be different matrices, with shell used for Amat. It's technically possible to use other matrix formats here.
-pmat_pbdiagonal: causes Pmat to be assembled as point-block diagonal. Note that this usually only makes sense in addition to -amat_type shell because otherwise your KSP is only working with the point-block diagonal.
show more ...
|
| #
019b7682
|
| 05-May-2022 |
Timothy Aiken <55306867+tt-aiken@users.noreply.github.com> |
Shock Tube + YZB Discontinuity Capturing (#851)
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the
Shock Tube + YZB Discontinuity Capturing (#851)
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Changed variable name midpt to mid_point, removed redundant slip BC declarations.
* Fixed style error, made variable names clearer, and removed dead code.
* Missed a style fix
* Rebased with main
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Fixed style error, made variable names clearer, and removed dead code.
* Missed a style fix
* Implemented fixes to the flux jacobians
* Updated documentation, tau definition in SU, and recommended fixes to the flux Jacobian.
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Missed a style fix
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Fixes to style and documentation.
* Fixing unnecessary problem->dim declaration and missing field in comment describing initial condition density.
* Added warnings for incompatible user input combinations.
* Added comments on beta to documentation, fixed j_gradn style issues.
* Compilation errors on my end. Committing to see if it's local or not.
* Style fixes
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Changed variable name midpt to mid_point, removed redundant slip BC declarations.
* Fixed style error, made variable names clearer, and removed dead code.
* Missed a style fix
* Rebased with main
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Fixed style error, made variable names clearer, and removed dead code.
* Missed a style fix
* Implemented fixes to the flux jacobians
* Updated documentation, tau definition in SU, and recommended fixes to the flux Jacobian.
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Missed a style fix
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Fixes to style and documentation.
* Fixing unnecessary problem->dim declaration and missing field in comment describing initial condition density.
* Added warnings for incompatible user input combinations.
* Added comments on beta to documentation, fixed j_gradn style issues.
* Compilation errors on my end. Committing to see if it's local or not.
* Fluids: SETERRQ1 -> SETERRQ to be compatible with PETSc 3.17
* Fluids - Update shock-tube with #881
* Small fix to mid_point definition and removed repeat entries for Shock Tube problem in README.md.
* Including test output.
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Changed variable name midpt to mid_point, removed redundant slip BC declarations.
* Fixed style error, made variable names clearer, and removed dead code.
* Missed a style fix
* Rebased with main
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Fixed style error, made variable names clearer, and removed dead code.
* Missed a style fix
* Implemented fixes to the flux jacobians
* Updated documentation, tau definition in SU, and recommended fixes to the flux Jacobian.
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Missed a style fix
* Implemented the Sod Shock Tube problem with YZB discontinuity capturing. for the explicit formulation. SU stabilization is also implemented for the explicit formulation.
* Fixes to style and documentation.
* Fixing unnecessary problem->dim declaration and missing field in comment describing initial condition density.
* Added warnings for incompatible user input combinations.
* Added comments on beta to documentation, fixed j_gradn style issues.
* Compilation errors on my end. Committing to see if it's local or not.
* Fluids: SETERRQ1 -> SETERRQ to be compatible with PETSc 3.17
* Fluids - Update shock-tube with #881
* Fluids - added test output file for shocktube
* Small fix to mid_point definition and removed repeat entries for Shock Tube problem in README.md.
* Including test output.
* Update doc/sphinx/source/references.bib
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Update examples/fluids/README.md
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Update examples/fluids/index.md
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Update examples/fluids/navierstokes.h
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Update examples/fluids/problems/shocktube.c
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Update examples/fluids/qfunctions/shocktube.h
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Removed unused IFunction
* Added shocktube variables to SetupContext in advection.h, advection2d.h, and densitycurrent.h
* Missed some merge conflicts that have now been cleared up.
* Added helper function for covariant element length along a given vector.
* Added SetupContext to shocktube.h
* Fix to regression test path
* remove variable transpose of the Jacobian
* Fix index swap in implicit SUPG
* examples/fluids shocktube: fix stab summation and transpose
* delete IFunction
* example/fluids- updates reference solution
Co-authored-by: Timothy Aiken <timothyaiken@Timothys-MacBook-Pro.local>
Co-authored-by: Timothy Aiken <timothyaiken@cu-biot-10-10.203.167.69.int.colorado.edu>
Co-authored-by: Leila Ghaffari <Leila.Ghaffari@colorado.edu>
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: Timothy Aiken <timothyaiken@cu-genvpn-tcom-10.180.164.177.int.colorado.edu>
Co-authored-by: AdelekeBankole <adeleke.bankole@colorado.edu>
show more ...
|
| #
88626eed
|
| 30-Apr-2022 |
James Wright <james@jameswright.xyz> |
feat: Add blasius boundary layer and channel flow examples to examples/fluids (#942)
* examples/fluids: Upload current case for collaboration
* examples/fluids: Replace developing BL with duct
feat: Add blasius boundary layer and channel flow examples to examples/fluids (#942)
* examples/fluids: Upload current case for collaboration
* examples/fluids: Replace developing BL with duct
* examples/fluids: Allow density to "float" at inflow
* fix: Add u_normal
* examples/fluids: bug fix in density flux
* examples/fluids: implement "floating" pressure; prescribed u, T
* examples/fluids: fixing initialization
We need has_neumann=true to get the weak boundary integrals called. It
is initialized in problem->setup_ctx and used in SetupLibceed(). This is
a hack to always apply.
* examples/fluids: include kinetic energy in Blasius IC
* examples/fluids: Blasius quasi-2D (slip in z planes)
* feat: Add Exact_Channel function
* feat: Use Exact_Channel for IC and Inflow
* examples/fluids: Add channel example
* examples/fluids: Define mu in blasius.c, cleanup
* examples/fluid: Add Blasius solution calculator
* examples/fluids: Add blasius IC and BCs
* Convert to implicit TS
* examples/fluids: Update blasius.yaml
* Move to ChannelContext, refactor DC and newtonian
- Added a dedicated ChannelContext, which allows for user setting of
flow parameters and consistent sharing of parameters between
QFunctions (instead of hardcoding)
- Moved density current (DC) specific settings from newtonian.c
densitycurrent.c
* Make gravity into vector quantity
* Add in body force for channel
* examples/fluids: remove explicitly setting coordinate field
This is created automatically now by DMPlex and DMProjectCoordinates
breaks (localized) periodicity, resulting in a tangled mesh.
* examples/fluids: transpose flux Jacobian in SUPG stabilization
* examples/fluids: update docs commensurate with flux Jacobian transpose fix
* examples/fluids: work on docs for tau
* examples/fluids: Increase blasius Re, implement Xi to SUPG
- Increased the Uinf and mu by 4x for the blasius problem
- Implemented the calculation of Xi for the SUPG term in newtonian.h
* examples/fluids: Remove flux jacobian transpose
- Removed for both eulervortex.h and newtonian.h
* examples/fluids: Reset Newtonian unit scaling to neutral
- Note that this resets the scaling for the densitycurrent problem,
thus the examples (and possibly tests) will probably need to be
changed
* examples/fluids: fix PetscOptionsBegin for new PETSc
* feat: Add slanted domain top surface
* feat: Add graded mesh option for blasius
* fix: Correct inflow boundary condition handling
* feat: Move to blasius_context, add CLI options
* feat: Move Blasius to physical air properties
* fix: Blasius profile and mesh generation
- Add the correct float->int rounding
- Fix eta to a value after exceeding the table's bounds
fix: Add fix eta after exceeding table
* examples/fluids: Move to physical mu default, fix tests
* doc: Add minimum documentation for channel and blasius
* examples/fluids: Add primitive jacobian and tau
- Also add misc comments
* examples/fluids: propose alternative flux Jacobian via prim-to-conservative
* examples/fluids: Add PHASTA diagonal tau
* fix: Add back in timestep obtaining
* examples/fluids: Add analytic tractions to inflow and outflow
- This is a stop-gap until viscous flux can be computed properly on the
boundary from current solution.
- Tau constants in a state of flux still but this produced a decent v at
inflow and outflow, removing the steep dive caused by forcing
dv/dx=-du/dy from a zero traction of omission.
* examples/fluids: CLI options for diagonal c_tau's
* examples/fluids: Update dt via context labels
* feat: Add more blasius table points
* examples/fluids: Cleanup stab and adjust Ctau_E
* examples/fluids: Replace spatial tau with diagonal
* examples/fluids: Fix stab in Euler
- Initialize `stab` to zero, add sum over loop
* examples/fluids: Document diagonal tau formulation
* examples/fluids: Fix compiler warnings
* examples/fluids: check error codes and elide unused header
* examples/fluids: Correct blasius example CLI
- Also add mention of the `blasius.yaml` file
* examples/fluids: Add supg to default blasius.yaml
* examples/fluids: Use yaml for channel and blasius
- Instead of long CLI options
- Also cleaned up the yaml formatting
- Added Cartesian directions to the faceMarker names
* examples/fluids: Show example yamls in README
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: Kenneth E. Jansen <Kenneth.Jansen@colorado.edu>
show more ...
|
| #
d92ccc1f
|
| 17-Apr-2022 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #943 from CEED/jed/petsc-format-string
examples: use PetscInt_FMT instead of %D
|
| #
08140895
|
| 17-Apr-2022 |
Jed Brown <jed@jedbrown.org> |
examples: use PetscInt_FMT instead of %D
This fixes many warnings now that PETSc uses printf format string attribute checkers.
|
| #
11dfcfe2
|
| 13-Apr-2022 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #940 from CEED/jeremy/petsc-options
petsc - update for PetscOptionsBegin/End
|
| #
67490bc6
|
| 13-Apr-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
petsc - update for PetscOptionsBegin/End
|
| #
ce18bed9
|
| 17-Mar-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Merge pull request #858 from CEED/jeremy/dump-copy-stuff
Strip redundant/outdated license info duplication
|
| #
3d8e8822
|
| 17-Mar-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
minor - update copyright headers
|
| #
40abb349
|
| 22-Feb-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Merge pull request #905 from CEED/jeremy/seterrq
petsc - use SETERRQ over SETERRQ1
|
| #
7578c821
|
| 22-Feb-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
petsc - use SETERRQ over SETERRQ1
|
| #
5efe7942
|
| 02-Feb-2022 |
Leila Ghaffari <49916147+LeilaGhaffari@users.noreply.github.com> |
Merge pull request #881 from CEED/leila/fluids-mesh
Fluids - Update mesh creating and remove problem-specific BCs
|