Commit a94f71b8 authored by Timo Koch's avatar Timo Koch
Browse files

Remove unused variable warning

parent 6834ca30
......@@ -280,7 +280,6 @@ public:
NumEqVector values(0.0);
Scalar waterFlux = injVolumeflux_; // divide by area if area not 1! [m/s]
Scalar gasFlux = injCO2_; // divide by area if area not 1! [m/s]
// Set values for Ca + urea injection above aquitard.
// Use negative values for injection.
......@@ -297,6 +296,7 @@ public:
// Set CO2 injection below aquitard after the injBioTime
else
{
// Scalar gasFlux = injCO2_; // divide by area if area not 1! [m/s]
values = 0.0; //mol/m²/s
}
......
......@@ -190,7 +190,7 @@ public:
for (auto&& scv : scvs(fvGeometry))
{
const auto& volVars = elemVolVars[scv];
// const auto& volVars = elemVolVars[scv];
// insert calculation of the water mass here
waterMass += 0.0;
}
......
......@@ -231,11 +231,11 @@ public:
for (auto&& scv : scvs(fvGeometry))
{
const auto& volVars = elemVolVars[scv];
for(int phaseIdx = 0; phaseIdx < FluidSystem::numPhases; ++phaseIdx)
{
// insert calculation of the water mass here
#if EXNUMBER >= 2
const auto& volVars = elemVolVars[scv];
waterMass += volVars.massFraction(phaseIdx, FluidSystem::H2OIdx) * volVars.density(phaseIdx)
* volVars.saturation(phaseIdx) * volVars.porosity()
* scv.volume() * volVars.extrusionFactor();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment