Skip to content
Snippets Groups Projects
Commit 6cef7b09 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[constraintsolver][doc] Use \copydoc for documentation

parent 404ec633
No related branches found
No related tags found
1 merge request!244Fix/set internal energy
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include <dumux/common/valgrind.hh> #include <dumux/common/valgrind.hh>
namespace Dumux { namespace Dumux {
/*! /**
* \ingroup ConstraintSolver * \ingroup ConstraintSolver
* \brief Computes the composition of all phases from a function in the fluidsystem. * \brief Computes the composition of all phases from a function in the fluidsystem.
* *
...@@ -63,58 +63,8 @@ class FluidSystemConstraintSolver ...@@ -63,58 +63,8 @@ class FluidSystemConstraintSolver
static constexpr int numPhases = FluidSystem::numPhases; static constexpr int numPhases = FluidSystem::numPhases;
public: public:
/*! /**
* \brief Computes the composition of all phases of from a function in the fluidsystem. * \brief @copybrief Dumux::FluidSystemConstraintSolver
*
* This constraint solver assumes that there is a function
* calculateEquilibriumMoleFraction
* in the fluidsystem. I.e. Either this function only has lookup tables or
* short-circuits the solution of a linear system of equations
*
* The constraint solver assumes the following quantities to be set:
*
* - temperatures of *all* phases
* - saturations of *all* phases
* - pressures of *all* phases
*
* It also assumes that the mole/mass fractions of all phases sum up
* to 1. After calling the solve() method the following quantities
* are calculated in addition:
*
* - density, molar density, molar volume of *all* phases
* - composition in mole and mass fractions and molarities of *all* phases
* - mean molar masses of *all* phases
* - if the setViscosity parameter is true, also dynamic viscosities of *all* phases
* - if the setInternalEnergy parameter is true, also specific enthalpies and internal energies of *all* phases
*/
/*!
* \brief Computes the composition of all phases of from a function in the fluidsystem.
*
* This constraint solver assumes that there is a function
* calculateEquilibriumMoleFraction
* in the fluidsystem. I.e. Either this function only has lookup tables or
* short-circuits the solution of a linear system of equations
* Therefore, this approach cannot be used if the solubility is a function
* of composition. For this nonlinear case the "fugacity coefficient"
* approach has to be used.
*
* The constraint solver assumes the following quantities to be set:
*
* - temperatures of *all* phases
* - saturations of *all* phases
* - pressures of *all* phases
*
* - the Fluidsystem has to be able to calculate euilibrium compostion from that information.
*
* After calling the solve() method the following quantities
* are calculated in addition:
*
* - density, molar density, molar volume of *all* phases
* - composition in mole and mass fractions and molarities of *all* phases
* - mean molar masses of *all* phases
* - if the setViscosity parameter is true, also dynamic viscosities of *all* phases
* - if the setEnthalpy parameter is true, also specific enthalpies and internal energies of *all* phases
* *
* \param fluidState A container with the current (physical) state of the fluid * \param fluidState A container with the current (physical) state of the fluid
* \param paramCache A container for iterative calculation of fluid composition * \param paramCache A container for iterative calculation of fluid composition
......
...@@ -67,27 +67,7 @@ class Miscible2pNCComposition ...@@ -67,27 +67,7 @@ class Miscible2pNCComposition
public: public:
/*! /*!
* \brief Computes the composition of all phases of a M-phase, * \brief @copybrief Dumux::Miscible2pNCComposition
* N-component fluid system assuming that all M phases are
* present
*
* It constraint solver assumes the following quantities to be set:
*
* - temperatures of *all* phases
* - saturations of *all* phases
* - pressures of *all* phases
*
* It also assumes that the mole/mass fractions of all phases sum up
* to 1. After calling the solve() method the following quantities
* are calculated in addition:
*
* - temperature of *all* phases
* - density, molar density, molar volume of *all* phases
* - composition in mole and mass fractions and molarities of *all* phases
* - mean molar masses of *all* phases
* - fugacity coefficients of *all* components in *all* phases
* - if the setViscosity parameter is true, also dynamic viscosities of *all* phases
* - if the setInternalEnergy parameter is true, also specific enthalpies and internal energies of *all* phases
*/ */
template <class FluidState, class ParameterCache> template <class FluidState, class ParameterCache>
static void solve(FluidState &fluidState, static void solve(FluidState &fluidState,
......
...@@ -70,27 +70,12 @@ class MiscibleMultiPhaseComposition ...@@ -70,27 +70,12 @@ class MiscibleMultiPhaseComposition
public: public:
/*! /*!
* \brief Computes the composition of all phases of a N-phase, * \brief @copybrief Dumux::MiscibleMultiPhaseComposition
* N-component fluid system assuming that all N phases are
* present
* *
* The constraint solver assumes the following quantities to be set: * \param fluidState A container with the current (physical) state of the fluid
* * \param paramCache A container for iterative calculation of fluid composition
* - temperatures of *all* phases * \param setViscosity Should the viscosity be set in the fluidstate?
* - saturations of *all* phases * \param setEnthalpy Should the enthalpy be set in the fluidstate?
* - pressures of *all* phases
*
* It also assumes that the mole/mass fractions of all phases sum up
* to 1. After calling the solve() method the following quantities
* are calculated in addition:
*
* - temperature of *all* phases
* - density, molar density, molar volume of *all* phases
* - composition in mole and mass fractions and molarities of *all* phases
* - mean molar masses of *all* phases
* - fugacity coefficients of *all* components in *all* phases
* - if the setViscosity parameter is true, also dynamic viscosities of *all* phases
* - if the setInternalEnergy parameter is true, also specific enthalpies and internal energies of *all* phases
*/ */
template <class FluidState, class ParameterCache> template <class FluidState, class ParameterCache>
static void solve(FluidState &fluidState, static void solve(FluidState &fluidState,
......
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