Skip to content
Snippets Groups Projects
Commit 990f32bf authored by Dennis Gläser's avatar Dennis Gläser Committed by Alexander Kissinger
Browse files

[2pdfm][volvars] remove private variable porosity

the porosity is already set in the base class
parent 8bf3a4b8
No related branches found
No related tags found
1 merge request!86Fix/2pdfm bug
......@@ -107,9 +107,6 @@ public:
MaterialLaw::krn(materialParams, fluidState_.saturation(wPhaseIdx))
/ fluidState_.viscosity(nPhaseIdx);
// porosity
porosityMatrix_ = problem.spatialParams().porosity(element, fvGeometry, scvIdx);
// energy related quantities not belonging to the fluid state
asImp_().updateEnergy_(priVars, problem, element, fvGeometry, scvIdx, isOldSol);
asImp_().updateFracture(priVars, problem, element, fvGeometry, scvIdx, isOldSol);
......@@ -334,12 +331,6 @@ public:
Scalar mobilityFracture(int phaseIdx) const
{ return mobilityFracture_[phaseIdx]; }
/*!
* \brief Returns the average porosity within the matrix control volume.
*/
Scalar porosity() const
{ return porosityMatrix_; }
/*!
* \brief Returns the average porosity within the fracture.
*/
......@@ -355,7 +346,6 @@ public:
protected:
FluidState fluidState_;
FluidState fluidStateFracture_;
Scalar porosityMatrix_;
Scalar porosityFracture_;
Scalar permeability_;
Scalar permeabilityFracture_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment