Skip to content
Snippets Groups Projects
Commit 14088e7e authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[components][brine] add docu

parent 5cb440b8
No related branches found
No related tags found
1 merge request!1153Feature/reuse brine in brine co2
...@@ -43,6 +43,7 @@ namespace Components { ...@@ -43,6 +43,7 @@ namespace Components {
* *
* \tparam Scalar The type used for scalar values * \tparam Scalar The type used for scalar values
* \tparam H2O Static polymorphism: the Brine class can access all properties of the H2O class * \tparam H2O Static polymorphism: the Brine class can access all properties of the H2O class
* \note This is an implementation of brine as a pseudo-component with a constant salinity.
*/ */
template <class Scalar, template <class Scalar,
class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>> class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
...@@ -53,7 +54,8 @@ class Brine ...@@ -53,7 +54,8 @@ class Brine
{ {
public: public:
using H2O = Components::TabulatedComponent<Dumux::Components::H2O<Scalar>>; using H2O = Components::TabulatedComponent<Dumux::Components::H2O<Scalar>>;
//HACK: If salinity is a pseudo-component, a constat value is used
// The constant salinity
static Scalar constantSalinity; static Scalar constantSalinity;
//! The ideal gas constant \f$\mathrm{[J/mol/K]}\f$ //! The ideal gas constant \f$\mathrm{[J/mol/K]}\f$
......
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