diff --git a/dumux/material/binarycoefficients/air_mesitylene.hh b/dumux/material/binarycoefficients/air_mesitylene.hh index bf6f2898b6f73e9cbfb4e8bdc2792e7342c23866..16aa8b903a6bd5cfd0e847b25a828c6a3c3d809f 100644 --- a/dumux/material/binarycoefficients/air_mesitylene.hh +++ b/dumux/material/binarycoefficients/air_mesitylene.hh @@ -93,16 +93,15 @@ public: } /*! - * \brief Diffusion coefficient \f$\mathrm{[m^2/s]}\f$ for molecular mesitylene in liquid water. + * \brief Diffusion coefficient \f$\mathrm{[m^2/s]}\f$ for air and mesitylene in liquid water. * \param temperature temperature in \f$\mathrm{[K]}\f$ * \param pressure pressure in \f$\mathrm{[Pa]}\f$ - * - * \todo */ template <class Scalar> static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure) - { DUNE_THROW(Dune::NotImplemented, - "Binary liquid diffusion coefficients of air and mesitylene"); + { + DUNE_THROW(Dune::NotImplemented, + "Binary liquid diffusion coefficients of air and mesitylene"); } }; diff --git a/dumux/material/binarycoefficients/air_xylene.hh b/dumux/material/binarycoefficients/air_xylene.hh index a59d66d668057735d38feb35535602b66b92d6fd..3fdf2b4ca46f94fa6b22c4174167ff8adbd4da08 100644 --- a/dumux/material/binarycoefficients/air_xylene.hh +++ b/dumux/material/binarycoefficients/air_xylene.hh @@ -93,16 +93,15 @@ public: } /*! - * \brief Diffusion coefficient \f$\mathrm{[m^2/s]}\f$ for molecular xylene in liquid water. + * \brief Diffusion coefficient \f$\mathrm{[m^2/s]}\f$ for air and xylene in liquid water. * \param temperature temperature in \f$\mathrm{[K]}\f$ * \param pressure pressure in \f$\mathrm{[Pa]}\f$ - * - * \todo */ template <class Scalar> static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure) - { DUNE_THROW(Dune::NotImplemented, - "Binary liquid diffusion coefficients of air and xylene"); + { + DUNE_THROW(Dune::NotImplemented, + "Binary liquid diffusion coefficients of air and xylene"); } }; diff --git a/dumux/material/binarycoefficients/h2o_mesitylene.hh b/dumux/material/binarycoefficients/h2o_mesitylene.hh index 54dd75e0101d6d8dcbe07545dbe18207405f7212..ebf042d35afc0579f57fabc812a2540f494d3ae3 100644 --- a/dumux/material/binarycoefficients/h2o_mesitylene.hh +++ b/dumux/material/binarycoefficients/h2o_mesitylene.hh @@ -104,12 +104,12 @@ public: * \param temperature the temperature \f$\mathrm{[K]}\f$ * \param pressure the pressure \f$\mathrm{[Pa]}\f$ * - * \todo + * \todo This is just a rough guess. Needs improvement and proper reference! */ template <class Scalar> static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure) { - return 1.e-9; // This is just an order of magnitude. Please improve it! + return 1.e-9; } }; diff --git a/dumux/material/binarycoefficients/h2o_xylene.hh b/dumux/material/binarycoefficients/h2o_xylene.hh index f02fa606bef80b12d09c82a8852c031117d3b04b..00f4048d26da04a951918374d7ac5548d2282968 100644 --- a/dumux/material/binarycoefficients/h2o_xylene.hh +++ b/dumux/material/binarycoefficients/h2o_xylene.hh @@ -106,12 +106,12 @@ public: * \param temperature the temperature \f$\mathrm{[K]}\f$ * \param pressure the pressure \f$\mathrm{[Pa]}\f$ * - * \todo + * \todo Returns just an order of magnitude. Please improve it! */ template <class Scalar> static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure) { - return 1.e-9; // This is just an order of magnitude. Please improve it! + return 1.e-9; } }; diff --git a/dumux/material/fluidmatrixinteractions/mp/mplinearmaterial.hh b/dumux/material/fluidmatrixinteractions/mp/mplinearmaterial.hh index c4a89e24d2f0d72dc216414cc26b02542ecd3b3a..a71b95f1c76bf690ac2d5ebd6dc39986368d46f3 100644 --- a/dumux/material/fluidmatrixinteractions/mp/mplinearmaterial.hh +++ b/dumux/material/fluidmatrixinteractions/mp/mplinearmaterial.hh @@ -76,34 +76,6 @@ public: } } -#if 0 -#warning TODO - /*! - * \brief The saturation-capillary pressure curve. - * - * This is the inverse of the capillary pressure-saturation curve: - * \f[ - S_w = 1 - \frac{p_C - p_{C,entry}}{p_{C,max} - p_{C,entry}} - \f] - * - * \param pc Capillary pressure \f$\p_C\f$ in \f$\mathrm{[Pa}\f$ - * \return The effective saturaion of the wetting phase \f$\overline{S}_w\f$ - */ - template <class SatContainerT, class FluidState> - static void saturations(SatContainerT &saturations, - const Params ¶ms, - const FluidState &state) - { - for (int i = 0; i < numPhases; ++i) { - saturations[i] = - (pc[i] - params.pcMaxSat(i)) - / - (params.pcMinSat(i) - params.pcMaxSat(i)); - } - } - -#endif - /*! * \brief The relative permeability of all phases. * \param values Container for the return values diff --git a/dumux/porousmediumflow/mpnc/implicit/energy/localresidualkinetic.hh b/dumux/porousmediumflow/mpnc/implicit/energy/localresidualkinetic.hh index 2081a0b428b6ab49bef738662b67dbfb7f89d793..437a506612ba28b14f5cdcedffdddf255523291a 100644 --- a/dumux/porousmediumflow/mpnc/implicit/energy/localresidualkinetic.hh +++ b/dumux/porousmediumflow/mpnc/implicit/energy/localresidualkinetic.hh @@ -204,11 +204,10 @@ public: const VolumeVariables & up = elemVolVars[upIdx]; const VolumeVariables & dn = elemVolVars[dnIdx]; - /* todo - * CAUTION: this is not exactly correct: does diffusion carry the upstream phase enthalpy? - * To be more precise this should be the components enthalpy. - * In the same vein: Counter current diffusion is not accounted for here. - */ + + // CAUTION: this is not exactly correct: does diffusion carry the upstream phase enthalpy? + // To be more precise this should be the components enthalpy. + // In the same vein: Counter current diffusion is not accounted for here. const Scalar transportedThingUp = up.enthalpy(phaseIdx) ; const Scalar transportedThingDn = dn.enthalpy(phaseIdx) ; @@ -247,7 +246,7 @@ public: const Scalar ilambda = iVolVar.thermalConductivity(phaseIdx); const Scalar klambda = kVolVar.thermalConductivity(phaseIdx); - // todo which average? + // Using a harmonic average is justified by its properties: if one phase does not conduct energy, there is no transfer const Scalar barLambda = Dumux::harmonicMean(ilambda, klambda) ; @@ -292,7 +291,6 @@ public: const Scalar lambdaNonWetting = volVars.thermalConductivity(nPhaseIdx); const Scalar lambdaSolid = volVars.thermalConductivity(sPhaseIdx); - // todo which average? // Using a harmonic average is justified by its properties: if one phase does not conduct energy, there is no transfer const Scalar lambdaWN = Dumux::harmonicMean(lambdaWetting, lambdaNonWetting); const Scalar lambdaWS = Dumux::harmonicMean(lambdaWetting, lambdaSolid); @@ -571,9 +569,9 @@ public: const VolumeVariables & up = elemVolVars[upIdx]; const VolumeVariables & dn = elemVolVars[dnIdx]; - /* todo - * CAUTION: this is not exactly correct: does diffusion carry the upstream phase enthalpy? To be more precise this should be the components enthalpy. In the same vein: Counter current diffusion is not accounted for here. - */ + // CAUTION: this is not exactly correct: does diffusion carry the upstream phase enthalpy? + // To be more precise this should be the components enthalpy. + // In the same vein: Counter current diffusion is not accounted for here. const Scalar transportedThingUp = up.enthalpy(phaseIdx) ; const Scalar transportedThingDn = dn.enthalpy(phaseIdx) ; diff --git a/dumux/porousmediumflow/mpnc/implicit/mass/localresidual.hh b/dumux/porousmediumflow/mpnc/implicit/mass/localresidual.hh index 7ad8af1e1b6c8473887a886a6fd90f96e4f320b1..455c5a7dd2347742dc0d72d859b6bd9e78874b7c 100644 --- a/dumux/porousmediumflow/mpnc/implicit/mass/localresidual.hh +++ b/dumux/porousmediumflow/mpnc/implicit/mass/localresidual.hh @@ -343,8 +343,6 @@ public: // std::cout<< "KPN Mass: flux: " << flux << endl; - // \todo - // // The computeflux() of the Energy module needs a // component-wise flux (for the diffusive enthalpy transport) // It makes some sense calling energy from here, because energy