| #
a2726bdb
|
| 14-Aug-2023 |
James Wright <james@jameswright.xyz> |
fluids: Refactor gravity option
- Use `-gravity` instead of `-g` - Enforce that the input should be a length 3 vector - Update documentation
Misc: Also update documented default value for `mu`.
|
| #
f9358d07
|
| 07-Aug-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1282 from CEED/jrwrigh/fix-dim-options
fluids: Reset dim before reference_velocity option
|
| #
e30587cb
|
| 07-Aug-2023 |
James Wright <james@jameswright.xyz> |
fix(fluids): Reset dim before reference_velocity option
If `-g` is not given, then `PetscOptionsRealArray(..., "-g", ...)` will set `dim` to zero. This then causes `PetscOptionsScalarArray(..., "-re
fix(fluids): Reset dim before reference_velocity option
If `-g` is not given, then `PetscOptionsRealArray(..., "-g", ...)` will set `dim` to zero. This then causes `PetscOptionsScalarArray(..., "-reference_velocity", ...)` to not read any values.
show more ...
|
| #
71bbf5a7
|
| 03-Aug-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1275 from CEED/jrwrigh/fluidsCeedCall
fluids: Add PetscCallCeed to capture ceed errors with Petsc
|
| #
a424bcd0
|
| 01-Aug-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add PetscCallCeed
|
| #
367c849e
|
| 01-Aug-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add user argument to problem print functions
|
| #
62e4d602
|
| 28-Jun-2023 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #1234 from CEED/jrwrigh/fluids_64int
fluids: Compatability for PETSc w/ 64bit ints
|
| #
8213d101
|
| 19-Jun-2023 |
James Wright <james@jameswright.xyz> |
fluids: Remove problem->bc function pointers
- Not needed, as essential boundary conditions go through `DMPlexInsertBoundaryValues_NS` or `DMPlexInsertBoundaryValues_StrongBC`
|
| #
82bcd3d4
|
| 20-Jun-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1237 from CEED/jrwrigh/petsc-success
examples: Use PETSC_SUCCESS in PetscFunctionReturn
|
| #
ee4ca9cb
|
| 20-Jun-2023 |
James Wright <james@jameswright.xyz> |
examples: Use PetscFunctionReturn in PETSC_SUCCESS
|
| #
4f5c4930
|
| 18-May-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1185 from CEED/jrwrigh/fluids-cleanup
fluids: Move to local Vec storage and petsc-ops
|
| #
0e654f56
|
| 27-Mar-2023 |
James Wright <james@jameswright.xyz> |
fluids: Change if...SETERRQ to PetscCheck
|
| #
49aac155
|
| 24-Mar-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
IWYU fixes (#1182)
* iwyu - include fixes
* iwyu - silence some iwyu output
* minor - clearer macro names
* iwyu - fix suggestion of "ceed/ceed.h" externally
* iwyu - lighter petsc heade
IWYU fixes (#1182)
* iwyu - include fixes
* iwyu - silence some iwyu output
* minor - clearer macro names
* iwyu - fix suggestion of "ceed/ceed.h" externally
* iwyu - lighter petsc headers
* iwyu - ceed/ceed.h -> ceed.h
* iwyu - cuda/hip include fixes
show more ...
|
| #
530ad8c4
|
| 11-Mar-2023 |
Kenneth E. Jansen <Kenneth.Jansen@colorado.edu> |
Ken/idl (#1138)
* inflow sponge pushing p towards P0 compiles and runs but unknown yet whether it is effective or not
* looks like my first attempt at this is missing something as there is neglig
Ken/idl (#1138)
* inflow sponge pushing p towards P0 compiles and runs but unknown yet whether it is effective or not
* looks like my first attempt at this is missing something as there is negligible effect from Jacobian addition
* examples/fluids: IDL fixes and demo
* Fix IDL sign error and rename variables/clang-format
* Let newtonianwave.yaml use -reference_pressure and temperature
* Propagate P0 = reference.pressure
* Small tweak to add IDL to the 3 ramp parameters.
* fluids: Extract fluids binary vector load function
- Needs to be used in multiple places (for ICs and for testing data)
* fluids: Correct typo in previous commits
* fluids: Add IDL and newtonian wave test
* fluids: Rename Newtonian Wave --> Gaussian Wave
* fluids: Move RampCoefficient into utils
- Also change name to LinearRampCoefficient, as we may have different
kinds of ramps in the future
* fluids: Change IDL commandline options
* docs(fluids): Document internal damping layer
Co-authored-by: Jed Brown <jed@jedbrown.org>
* fluids: Add ScaleN QF utility
* fluids: Extract InternalDampingLayer QFunction helper
---------
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: KennethEJansen <jansenke@colorado.edu>
Co-authored-by: James Wright <james@jameswright.xyz>
show more ...
|
| #
c184fad2
|
| 24-Jan-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1135 from CEED/jrwrigh/spanwise_stats
|
| #
f179a332
|
| 13-Jan-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add solution time to newtonian context
|
| #
b76b096d
|
| 10-Jan-2023 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #1133 from CEED/jed/fluids-riemann-outflow
Switch outflow from pressure to Riemann pressure + temperature
|
| #
8a94a473
|
| 05-Jan-2023 |
Jed Brown <jed@jedbrown.org> |
examples/fluids: Riemann outflow using pressure and temperature
* This allows stable sustained and transient recirculation.
* short-wake domain recirculation behind cylinder has sustained rec
examples/fluids: Riemann outflow using pressure and temperature
* This allows stable sustained and transient recirculation.
* short-wake domain recirculation behind cylinder has sustained recirculation. If the exterior temperature is different, the recirculation will bring in the wrong temperature, but at least it's stable. * nwave with slow background causes transient flow reversal when strong acoustic hits boundary. * Clean outflow and lid for Blasius
* I tried the 2 P_ext - P_int strategy from Mengaldo (constant density) and with specified exterior temperature, but they disrupted the interior flow and were not significantly less reflective.
* The methods I tried for extrapolating interior temperature were not stable. Simple extrapolation of velocity worked best, and did not show signs of instability, perhaps because the neighboring flow and implicit solve ties it together.
* This commit adds support for softmax control of recirculation, but the parameters were finnicky, solver nonlinearity was a concern, and I'm not convinced it's ever better than just allowing recirculation.
show more ...
|
| #
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
|
| #
c5dde687
|
| 21-Dec-2022 |
Leila Ghaffari <Leila.Ghaffari@colorado.edu> |
fluids/newtonian: fix indexing of Ctau_v
|
| #
75538696
|
| 21-Dec-2022 |
Leila Ghaffari <Leila.Ghaffari@colorado.edu> |
fluids/newtonian: automate Ctau_*
|
| #
94c01735
|
| 21-Dec-2022 |
Leila Ghaffari <Leila.Ghaffari@colorado.edu> |
fluids/newtonian: automate Ctau_v
|
| #
ebd2ea64
|
| 18-Nov-2022 |
Leila Ghaffari <Leila.Ghaffari@colorado.edu> |
fluids-newtonian: Stabilization coefficients dependent on polynomial degree
|
| #
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
|