GEOS-DEV / GEOS

GEOS Simulation Framework
GNU Lesser General Public License v2.1
203 stars 80 forks source link

Geothermal Gradient for Single Phase flow #3193

Open npillardou opened 5 days ago

npillardou commented 5 days ago

The purpose of this PR is to add the geothermal gradient capacities for single-phase flow.

At the moment the temperature VS Elevation is correlated with the composition VS Elevation, maybe this point could be extended to something that is independent of the composition:

<HydrostaticEquilibrium
  name="Initialisation"
  datumElevation="-3790"
  datumPressure="4.3e7"
  objectPath="ElementRegions"
  initialPhaseName="water"
  componentNames="{ co2, water }"
  componentFractionVsElevationTableNames="{ CO2VD, H2OVD }"
  temperatureVsElevationTableName="initTempTable" />  

Further work is needed to account for composition in the hydrostatic pressure kernel, as it is done in CompositionalMultiphaseFlow.

codecov[bot] commented 5 days ago

Codecov Report

Attention: Patch coverage is 54.54545% with 5 lines in your changes missing coverage. Please review.

Project coverage is 55.77%. Comparing base (f05008b) to head (e0ff166).

Files Patch % Lines
...nents/physicsSolvers/fluidFlow/SinglePhaseBase.cpp 54.54% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #3193 +/- ## =========================================== - Coverage 55.77% 55.77% -0.01% =========================================== Files 1035 1035 Lines 87914 87924 +10 =========================================== + Hits 49035 49040 +5 - Misses 38879 38884 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.