Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2D unstructured converter, nonlinear discretizations and improvements to multimodel #90

Merged
merged 50 commits into from
Aug 31, 2024

Conversation

moyner
Copy link
Member

@moyner moyner commented Aug 28, 2024

  • Nonlinear finite volume schemes (@moyner)
  • Improvements to plotting (@moyner, @hnil)
  • Extra hooks for battery controls (@xavierr)
  • MultiModel labels and concrete types (@xavierr, @moyner)
  • Some other small fixes and usability improvements

xavierr and others added 30 commits March 18, 2024 14:11
Add option to make multi model immutable
Should clean up dict vs JutulStorage confusion
moyner and others added 20 commits August 15, 2024 14:53
Extend mesh support for 2D and Cartesian converters
…xes (#88)

* Add NFVM submodule + tests

* Use function form for NFVM

* Use norm for checking reconstruction

* NFVM: Support both vectors and matrices

* Put tpfa flux in function

* Unify coefficient calculations

* NFVM: Rename triplet -> basis

* NFVM: Don't use optional argument for phase

* Add option to not throw in get_variable for missing var

* Add test

* NFVM: Check input argument "scheme"

* NFVM: Better error message for decomposition failure

* NFVM: Better handling for failures in decomposition

* NFVM: Clean up NTPFA code

* Update triplets.jl

* Sign and weight subscript fix to NTPFA

* Speed up NFVM flux

* Update flux.jl

* Add dispatch for storage when using fvm

* Update flux.jl

* Some WIP work on FVM asm

* Update fvm_assembly.jl

* Finish FVM alignment

* Update fvm_assembly.jl

* Update fvm_assembly.jl

* Implement equation update for FVM

* First draft of FVM assembly

* FVM-assembly: Fix to sparsity

* FVM: Correct sign

* Simplify FVM assembly a bit

* Fixed last bug in FVM assembly (?)

* Speed up FVM assembly

* Some minor performance improvements

* Inbounds in new flux

* Add some comments

* NFVM: Move inbounds into inner functions

* Add subdiscretization for potential flow

* Update decomposition.jl

* Factor out storage into constructor

* Update conservation.jl

* Update conservation.jl
Battmo supporting features in sync
@moyner moyner merged commit 11e27bd into main Aug 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants