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

refactor: clarify new gravity, clean up kernel flags usage, move CFL computations to FVM solver #3486

Merged
merged 14 commits into from
Jan 7, 2025

Conversation

paveltomin
Copy link
Contributor

@paveltomin paveltomin commented Dec 9, 2024

  • clarify new gravity as requested here fix: make new gravity treatment from #3337 an option #3467 (comment)
  • clean up kernel flags usage in flow solver to avoid bugs: the basic idea is to set the flags outside of kernels create and launch to avoid mismatch between different version (isothermal/thermal etc) when one flag is set here but is missing there
  • move CFL computations to FVM solver where it belongs

@paveltomin paveltomin requested a review from rrsettgast December 9, 2024 00:04
@rrsettgast
Copy link
Member

@paveltomin Yes. this is what i meant. Could you:

  1. add more detail in the description and explain the options a bit
  2. think about adding a more detailed description in the documentation

@paveltomin paveltomin marked this pull request as ready for review December 9, 2024 16:59
@paveltomin paveltomin self-assigned this Dec 9, 2024
@paveltomin paveltomin added flag: ready for review ci: run integrated tests Allows to run the integrated tests in GEOS CI labels Dec 9, 2024
@paveltomin
Copy link
Contributor Author

@paveltomin Yes. this is what i meant. Could you:

  1. add more detail in the description and explain the options a bit
  2. think about adding a more detailed description in the documentation

done, please have a look

@paveltomin paveltomin added flag: requires rebaseline Requires rebaseline branch in integratedTests and removed ci: run integrated tests Allows to run the integrated tests in GEOS CI labels Dec 9, 2024
@paveltomin
Copy link
Contributor Author

new rebaselines needed:

********************************************************************************
Error: /Problem/Solvers/compflow
	Group has a child 'useNewGravity' in the baseline file but not the file to compare.
********************************************************************************
********************************************************************************
Error: /Problem/Solvers/compflow
	Group has a child 'gravityDensityScheme' in the file to compare but not the baseline file.
********************************************************************************

@paveltomin
Copy link
Contributor Author

@rrsettgast is it good enough?

@paveltomin paveltomin changed the title refactor: clarify new gravity refactor: clarify new gravity, clean up kernel flags usage in flow solver to avoid bugs, move CFL computations to FVM solver Dec 20, 2024
@paveltomin paveltomin added the ci: run integrated tests Allows to run the integrated tests in GEOS CI label Dec 20, 2024
@paveltomin paveltomin changed the title refactor: clarify new gravity, clean up kernel flags usage in flow solver to avoid bugs, move CFL computations to FVM solver refactor: clarify new gravity, clean up kernel flags usage, move CFL computations to FVM solver Dec 20, 2024
Copy link
Collaborator

@CusiniM CusiniM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/coreComponents/finiteVolume/docs/FiniteVolume.rst.txt Outdated Show resolved Hide resolved
@paveltomin paveltomin added ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run code coverage enables running of the code coverage CI jobs labels Dec 31, 2024
Copy link

codecov bot commented Jan 2, 2025

Codecov Report

Attention: Patch coverage is 29.89130% with 129 lines in your changes missing coverage. Please review.

Project coverage is 56.83%. Comparing base (b3592de) to head (4cf2b6e).
Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
...csSolvers/fluidFlow/CompositionalMultiphaseFVM.cpp 23.13% 103 Missing ⚠️
...sSolvers/fluidFlow/CompositionalMultiphaseBase.hpp 0.00% 5 Missing ⚠️
...s/fluidFlow/kernels/compositional/IHUPhaseFlux.hpp 0.00% 4 Missing ⚠️
...vers/fluidFlow/kernels/compositional/CFLKernel.cpp 0.00% 3 Missing ⚠️
...ysics/CompositionalMultiphaseReservoirAndWells.cpp 0.00% 3 Missing ⚠️
...ositional/DiffusionDispersionFluxComputeKernel.hpp 0.00% 2 Missing ⚠️
...idFlow/kernels/compositional/FluxComputeKernel.hpp 50.00% 2 Missing ⚠️
...al/ThermalDiffusionDispersionFluxComputeKernel.hpp 0.00% 2 Missing ⚠️
...rs/multiphysics/CoupledReservoirAndWellKernels.hpp 0.00% 2 Missing ⚠️
...sSolvers/fluidFlow/CompositionalMultiphaseBase.cpp 83.33% 1 Missing ⚠️
... and 2 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3486      +/-   ##
===========================================
+ Coverage    56.82%   56.83%   +0.01%     
===========================================
  Files         1154     1154              
  Lines        99983    99954      -29     
===========================================
- Hits         56818    56812       -6     
+ Misses       43165    43142      -23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@paveltomin paveltomin merged commit adfefc3 into develop Jan 7, 2025
24 of 25 checks passed
@paveltomin paveltomin deleted the pt/clarify-new-gravity branch January 7, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci: run code coverage enables running of the code coverage CI jobs ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI flag: ready for review flag: requires rebaseline Requires rebaseline branch in integratedTests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants