Commit 36935f11 by Sina Ackermann

 ... ... @@ -18,7 +18,7 @@ *****************************************************************************/ /*! * \file * * \ingroup NavierStokesNCTests * \brief Channel flow test for the multi-component staggered grid (Navier-)Stokes model */ #ifndef DUMUX_CHANNEL_MAXWELL_STEFAN_TEST_PROBLEM_HH ... ... @@ -72,7 +72,11 @@ SET_BOOL_PROP(MaxwellStefanNCTestProblem, EnableInertiaTerms, true); SET_TYPE_PROP(MaxwellStefanNCTestProblem, MolecularDiffusionType, MaxwellStefansLaw); //! A simple fluid system with one MaxwellStefan component /*! * \ingroup NavierStokesNCTests * \brief A simple fluid system with one MaxwellStefan component. * \todo doc me! */ template class MaxwellStefanFluidSystem: public FluidSystems::BaseFluidSystem> ... ... @@ -82,7 +86,7 @@ class MaxwellStefanFluidSystem: public FluidSystems::BaseFluidSystem Base; public: //! The number of components //! The number of phases static constexpr int numPhases = 1; static constexpr int numComponents = 3; ... ... @@ -104,7 +108,7 @@ public: using Base::binaryDiffusionCoefficient; /*! /*! * \brief Given a phase's composition, temperature and pressure, * return the binary diffusion coefficient \f$\mathrm{[m^2/s]}\f$ for components * \f$i\f$ and \f$j\f$ in this phase. ... ... @@ -137,7 +141,7 @@ public: << compIIdx << " and " << compJIdx << " is undefined!\n"); } using Base::density; /*! /*! * \brief Given a phase's composition, temperature, pressure, and * the partial pressures of all components, return its * density \f$\mathrm{[kg/m^3]}\f$. ... ... @@ -153,7 +157,7 @@ public: } using Base::viscosity; /*! /*! * \brief Calculate the dynamic viscosity of a fluid phase \f$\mathrm{[Pa*s]}\f$ * \param fluidState An arbitrary fluid state * \param phaseIdx The index of the fluid phase to consider ... ... @@ -171,7 +175,7 @@ SET_TYPE_PROP(MaxwellStefanNCTestProblem, FluidSystem, MaxwellStefanFluidSystem< } //end namespace Property /*! * \brief Test problem for the maxwell stefan model \todo doc me! * \todo doc me! */ template class MaxwellStefanNCTestProblem : public NavierStokesProblem ... ... @@ -229,12 +233,12 @@ public: plotOutput_ = false; } /*! /*! * \name Problem parameters */ // \{ /*! /*! * \brief The problem name. * * This is used as a prefix for files generated by the simulation. ... ... @@ -249,8 +253,15 @@ public: return false; } //! Called after every time step //! Output the diffusion rates from left to right /*! * \brief Output the diffusion rates from left to right * * Called after every time step * * \param curSol Vector containing the current solution * \param gridVariables The grid variables * \param time The time */ void postTimeStep(const SolutionVector& curSol, const GridVariables& gridVariables, Scalar time) ... ... @@ -341,7 +352,7 @@ public: } /*! /*! * \brief Return the temperature within the domain in [K]. * * This problem assumes a temperature of 10 degrees Celsius. ... ... @@ -349,7 +360,7 @@ public: Scalar temperature() const { return 273.15 + 10; } // 10C /*! /*! * \brief Return the sources within the domain. * * \param globalPos The global position ... ... @@ -360,12 +371,12 @@ public: } // \} /*! /*! * \name Boundary conditions */ // \{ /*! /*! * \brief Specifies which kind of boundary condition should be * used for which equation on a given boundary control volume. * ... ... @@ -381,7 +392,7 @@ public: return values; } /*! /*! * \brief Evaluate the boundary conditions for a dirichlet * control volume. * ... ... @@ -394,12 +405,12 @@ public: } /*! /*! * \name Volume terms */ // \{ /*! /*! * \brief Evaluate the initial value for a control volume. * * \param globalPos The global position ... ...