2011-12-16 07:24:29 -06:00
|
|
|
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
// vi: set et ts=4 sw=4 sts=4:
|
2009-06-10 07:08:28 -05:00
|
|
|
/*****************************************************************************
|
2012-08-31 07:38:58 -05:00
|
|
|
* Copyright (C) 2009-2012 by Andreas Lauser *
|
2009-06-10 07:08:28 -05:00
|
|
|
* *
|
2011-01-04 09:49:28 -06:00
|
|
|
* This program is free software: you can redistribute it and/or modify *
|
2009-06-10 07:08:28 -05:00
|
|
|
* it under the terms of the GNU General Public License as published by *
|
2011-01-04 09:49:28 -06:00
|
|
|
* the Free Software Foundation, either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
2009-06-10 07:08:28 -05:00
|
|
|
* *
|
2011-01-04 09:49:28 -06:00
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
2009-06-10 07:08:28 -05:00
|
|
|
*****************************************************************************/
|
2010-11-11 09:01:37 -06:00
|
|
|
/*!
|
|
|
|
* \file
|
|
|
|
*
|
2012-11-18 09:42:57 -06:00
|
|
|
* \copydoc Ewoms::TutorialProblemCoupled
|
2010-11-11 09:01:37 -06:00
|
|
|
*/
|
2012-11-18 09:42:57 -06:00
|
|
|
#ifndef EWOMS_TUTORIAL_PROBLEM_COUPLED_HH // guardian macro /*@\label{tutorial-coupled:guardian1}@*/
|
|
|
|
#define EWOMS_TUTORIAL_PROBLEM_COUPLED_HH // guardian macro /*@\label{tutorial-coupled:guardian2}@*/
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-02-13 12:44:10 -06:00
|
|
|
// The numerical model
|
2012-11-27 11:25:07 -06:00
|
|
|
#include <ewoms/models/immiscible/immisciblemodel.hh>
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-10-17 08:48:43 -05:00
|
|
|
// The chemical species that are used
|
2013-09-23 07:29:19 -05:00
|
|
|
#include <opm/material/components/SimpleH2O.hpp>
|
|
|
|
#include <opm/material/components/Lnapl.hpp>
|
2011-03-02 06:49:24 -06:00
|
|
|
|
2012-03-20 05:13:22 -05:00
|
|
|
// The material laws
|
2013-09-23 07:29:19 -05:00
|
|
|
#include <opm/material/fluidmatrixinteractions/2p/RegularizedBrooksCorey.hpp> /*@\label{tutorial-coupled:rawLawInclude}@*/
|
|
|
|
#include <opm/material/fluidmatrixinteractions/2p/EffToAbsLaw.hpp>
|
|
|
|
#include <opm/material/fluidmatrixinteractions/mp/2pAdapter.hpp>
|
2011-11-18 11:20:31 -06:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// For the DUNE grid
|
2012-11-01 10:34:50 -05:00
|
|
|
#include <dune/grid/yaspgrid.hh> /*@\label{tutorial-coupled:include-grid-manager}@*/
|
2012-12-21 08:08:11 -06:00
|
|
|
#include <ewoms/io/cubegridcreator.hh> /*@\label{tutorial-coupled:include-grid-creator}@*/
|
2012-03-20 05:13:22 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// For Dune::FieldMatrix
|
2012-03-20 05:13:22 -05:00
|
|
|
#include <dune/common/fmatrix.hh>
|
|
|
|
|
2012-11-18 09:42:57 -06:00
|
|
|
namespace Ewoms {
|
2011-11-18 11:20:31 -06:00
|
|
|
|
|
|
|
// forward declaration of the problem class
|
2009-06-10 07:08:28 -05:00
|
|
|
template <class TypeTag>
|
|
|
|
class TutorialProblemCoupled;
|
|
|
|
|
2012-02-13 12:44:10 -06:00
|
|
|
namespace Properties {
|
|
|
|
// Create a new type tag for the problem
|
2012-11-27 11:25:07 -06:00
|
|
|
NEW_TYPE_TAG(TutorialProblemCoupled, INHERITS_FROM(VcfvImmiscibleTwoPhase)); /*@\label{tutorial-coupled:create-type-tag}@*/
|
2009-06-10 07:08:28 -05:00
|
|
|
|
|
|
|
// Set the "Problem" property
|
2009-06-18 11:46:37 -05:00
|
|
|
SET_PROP(TutorialProblemCoupled, Problem) /*@\label{tutorial-coupled:set-problem}@*/
|
2012-11-18 09:42:57 -06:00
|
|
|
{ typedef Ewoms::TutorialProblemCoupled<TypeTag> type;};
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-02-13 12:44:10 -06:00
|
|
|
// Set grid and the grid creator to be used
|
|
|
|
SET_TYPE_PROP(TutorialProblemCoupled, Grid, Dune::YaspGrid</*dim=*/2>); /*@\label{tutorial-coupled:set-grid}@*/
|
2012-11-18 09:42:57 -06:00
|
|
|
SET_TYPE_PROP(TutorialProblemCoupled, GridCreator, Ewoms::CubeGridCreator<TypeTag>); /*@\label{tutorial-coupled:set-gridcreator}@*/
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// Set the wetting phase /*@\label{tutorial-coupled:2p-system-start}@*/
|
|
|
|
SET_TYPE_PROP(TutorialProblemCoupled, WettingPhase, /*@\label{tutorial-coupled:wettingPhase}@*/
|
2013-08-23 10:26:57 -05:00
|
|
|
Opm::LiquidPhase<typename GET_PROP_TYPE(TypeTag, Scalar),
|
|
|
|
Opm::SimpleH2O<typename GET_PROP_TYPE(TypeTag, Scalar)> >);
|
2010-04-06 04:47:25 -05:00
|
|
|
|
2010-10-18 03:59:51 -05:00
|
|
|
// Set the non-wetting phase
|
2012-10-16 11:16:19 -05:00
|
|
|
SET_TYPE_PROP(TutorialProblemCoupled, NonwettingPhase, /*@\label{tutorial-coupled:nonwettingPhase}@*/
|
2013-08-23 10:26:57 -05:00
|
|
|
Opm::LiquidPhase<typename GET_PROP_TYPE(TypeTag, Scalar),
|
|
|
|
Opm::LNAPL<typename GET_PROP_TYPE(TypeTag, Scalar)> >); /*@\label{tutorial-coupled:2p-system-end}@*/
|
2010-10-18 03:59:51 -05:00
|
|
|
|
2011-11-18 11:20:31 -06:00
|
|
|
// Set the material law
|
|
|
|
SET_PROP(TutorialProblemCoupled, MaterialLaw)
|
|
|
|
{
|
|
|
|
private:
|
2012-10-16 11:16:19 -05:00
|
|
|
// Retrieve the C++ type used to represent scalar values
|
2011-11-18 11:20:31 -06:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
|
2012-10-16 11:16:19 -05:00
|
|
|
// Select the base material law to be used
|
2013-08-23 10:26:57 -05:00
|
|
|
typedef Opm::RegularizedBrooksCorey<Scalar> RawMaterialLaw; /*@\label{tutorial-coupled:rawlaw}@*/
|
2012-10-16 11:16:19 -05:00
|
|
|
// Converts absolute saturations into effective ones before
|
|
|
|
// passing it to the base material law
|
2013-08-23 10:26:57 -05:00
|
|
|
typedef Opm::EffToAbsLaw<RawMaterialLaw> TwoPMaterialLaw; /*@\label{tutorial-coupled:eff2abs}@*/
|
2011-11-18 11:20:31 -06:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// Retrieve the index of the wetting phase
|
2011-11-18 11:20:31 -06:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem;
|
|
|
|
enum { wPhaseIdx = FluidSystem::wPhaseIdx };
|
|
|
|
|
|
|
|
public:
|
2012-10-16 11:16:19 -05:00
|
|
|
// Convert two-phase material law into a general M-phase one.
|
2013-08-23 10:26:57 -05:00
|
|
|
typedef Opm::TwoPAdapter<wPhaseIdx, TwoPMaterialLaw> type;
|
2011-11-18 11:20:31 -06:00
|
|
|
};
|
|
|
|
|
2009-06-18 11:46:37 -05:00
|
|
|
// Disable gravity
|
|
|
|
SET_BOOL_PROP(TutorialProblemCoupled, EnableGravity, false); /*@\label{tutorial-coupled:gravity}@*/
|
2012-02-03 10:37:27 -06:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// define how long the simulation should run [s] /*@\label{tutorial-coupled:default-params-begin}@*/
|
2012-09-24 13:13:29 -05:00
|
|
|
SET_SCALAR_PROP(TutorialProblemCoupled, EndTime, 100e3);
|
|
|
|
|
|
|
|
// define the size of the initial time step [s]
|
2012-10-22 10:19:04 -05:00
|
|
|
SET_SCALAR_PROP(TutorialProblemCoupled, InitialTimeStepSize, 125.0);
|
2012-09-24 13:13:29 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// define the physical size of the problem's domain [m]
|
2012-11-01 10:34:50 -05:00
|
|
|
SET_SCALAR_PROP(TutorialProblemCoupled, DomainSizeX, 300.0); /*@\label{tutorial-coupled:grid-default-params-begin}@*/
|
2012-07-12 06:36:15 -05:00
|
|
|
SET_SCALAR_PROP(TutorialProblemCoupled, DomainSizeY, 60.0);
|
|
|
|
SET_SCALAR_PROP(TutorialProblemCoupled, DomainSizeZ, 0.0);
|
2012-02-03 10:37:27 -06:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// // define the number of cells used for discretizing the physical domain
|
2012-07-12 06:36:15 -05:00
|
|
|
SET_INT_PROP(TutorialProblemCoupled, CellsX, 100);
|
|
|
|
SET_INT_PROP(TutorialProblemCoupled, CellsY, 1);
|
2012-11-01 10:34:50 -05:00
|
|
|
SET_INT_PROP(TutorialProblemCoupled, CellsZ, 1); /*@\label{tutorial-coupled:default-params-end}@*/
|
2012-10-16 11:16:19 -05:00
|
|
|
} // namespace Properties
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
//! Tutorial problem using the fully-implicit immiscible model.
|
2010-11-08 12:02:44 -06:00
|
|
|
template <class TypeTag>
|
2011-11-18 11:20:31 -06:00
|
|
|
class TutorialProblemCoupled
|
|
|
|
: public GET_PROP_TYPE(TypeTag, BaseProblem) /*@\label{tutorial-coupled:def-problem}@*/
|
2009-06-10 07:08:28 -05:00
|
|
|
{
|
2011-11-18 09:30:28 -06:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, BaseProblem) ParentType;
|
2012-01-05 05:51:59 -06:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
|
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2010-11-08 12:02:44 -06:00
|
|
|
// Grid dimension
|
2012-04-26 12:30:36 -05:00
|
|
|
enum { dimWorld = GridView::dimensionworld };
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// The type of the intrinsic permeability tensor
|
2012-05-14 06:04:14 -05:00
|
|
|
typedef Dune::FieldMatrix<Scalar, dimWorld, dimWorld> DimMatrix;
|
2010-08-03 12:11:34 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// eWoms specific types are specified via the property system
|
2012-01-05 05:51:59 -06:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, TimeManager) TimeManager;
|
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables;
|
2011-11-17 11:00:07 -06:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, RateVector) RateVector;
|
2012-04-26 12:30:36 -05:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, BoundaryRateVector) BoundaryRateVector;
|
2011-10-31 11:49:08 -05:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem;
|
2012-05-14 06:04:14 -05:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices;
|
2011-11-18 11:20:31 -06:00
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, MaterialLaw) MaterialLaw;
|
|
|
|
typedef typename GET_PROP_TYPE(TypeTag, MaterialLawParams) MaterialLawParams; /*@\label{tutorial-coupled:matLawObjectType}@*/
|
2011-10-31 11:49:08 -05:00
|
|
|
|
2012-04-26 12:30:36 -05:00
|
|
|
// phase indices
|
|
|
|
enum { numPhases = FluidSystem::numPhases };
|
|
|
|
enum { wPhaseIdx = FluidSystem::wPhaseIdx };
|
|
|
|
enum { nPhaseIdx = FluidSystem::nPhaseIdx };
|
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// Indices of the conservation equations
|
2012-04-26 12:30:36 -05:00
|
|
|
enum { contiWEqIdx = Indices::conti0EqIdx + wPhaseIdx };
|
|
|
|
enum { contiNEqIdx = Indices::conti0EqIdx + nPhaseIdx };
|
2011-10-31 11:49:08 -05:00
|
|
|
|
2009-06-10 07:08:28 -05:00
|
|
|
public:
|
2012-09-22 08:06:23 -05:00
|
|
|
//! The constructor of the problem
|
2012-02-03 10:37:27 -06:00
|
|
|
TutorialProblemCoupled(TimeManager &timeManager)
|
|
|
|
: ParentType(timeManager, GET_PROP_TYPE(TypeTag, GridCreator)::grid().leafView())
|
2012-01-03 12:28:57 -06:00
|
|
|
, eps_(3e-6)
|
2010-10-15 10:11:37 -05:00
|
|
|
{
|
2012-10-28 15:45:08 -05:00
|
|
|
// Use an isotropic and homogeneous intrinsic permeability
|
2012-05-14 06:04:14 -05:00
|
|
|
K_ = this->toDimMatrix_(1e-7);
|
2012-10-28 15:45:08 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// Parameters of the Brooks-Corey law
|
|
|
|
materialParams_.setPe(500.0); // entry pressure [Pa] /*@\label{tutorial-coupled:setLawParams}@*/
|
|
|
|
materialParams_.setLambda(2); // shape parameter
|
2011-11-18 11:20:31 -06:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
// Set the residual saturations
|
|
|
|
materialParams_.setSwr(0.0);
|
2011-11-18 11:20:31 -06:00
|
|
|
materialParams_.setSnr(0.0);
|
2010-10-15 10:11:37 -05:00
|
|
|
}
|
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
//! Specifies the problem name. This is used for files generated by the simulation.
|
2010-10-15 10:11:37 -05:00
|
|
|
const char *name() const
|
|
|
|
{ return "tutorial_coupled"; }
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
//! Returns the temperature at a given position.
|
2011-10-31 11:49:08 -05:00
|
|
|
template <class Context>
|
2011-11-11 13:19:03 -06:00
|
|
|
Scalar temperature(const Context &context, int spaceIdx, int timeIdx) const
|
2012-01-26 08:45:04 -06:00
|
|
|
{ return 283.15; }
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
//! Returns the intrinsic permeability tensor [m^2] at a position.
|
2011-11-18 11:20:31 -06:00
|
|
|
template <class Context>
|
2012-05-14 06:04:14 -05:00
|
|
|
const DimMatrix &intrinsicPermeability(const Context &context, /*@\label{tutorial-coupled:permeability}@*/
|
2012-09-22 08:06:23 -05:00
|
|
|
int spaceIdx, int timeIdx) const
|
2011-11-18 11:20:31 -06:00
|
|
|
{ return K_; }
|
2012-10-28 15:45:08 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
//! Defines the porosity [-] of the medium at a given position
|
2011-11-18 11:20:31 -06:00
|
|
|
template <class Context>
|
2012-10-16 11:16:19 -05:00
|
|
|
Scalar porosity(const Context &context, int spaceIdx, int timeIdx) const /*@\label{tutorial-coupled:porosity}@*/
|
2011-11-18 11:20:31 -06:00
|
|
|
{ return 0.2; }
|
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
//! Returns the parameter object for the material law at a given position
|
2011-11-18 11:20:31 -06:00
|
|
|
template <class Context>
|
|
|
|
const MaterialLawParams& materialLawParams(const Context &context, /*@\label{tutorial-coupled:matLawParams}@*/
|
|
|
|
int spaceIdx, int timeIdx) const
|
|
|
|
{ return materialParams_; }
|
|
|
|
|
2012-09-22 08:06:23 -05:00
|
|
|
//! Evaluates the boundary conditions.
|
2011-10-31 11:49:08 -05:00
|
|
|
template <class Context>
|
2012-10-28 15:45:08 -05:00
|
|
|
void boundary(BoundaryRateVector &values,
|
2012-09-22 08:06:23 -05:00
|
|
|
const Context &context, int spaceIdx, int timeIdx) const
|
2010-06-15 04:52:10 -05:00
|
|
|
{
|
2012-10-16 11:16:19 -05:00
|
|
|
const auto &pos = context.pos(spaceIdx, timeIdx);
|
2012-04-26 12:30:36 -05:00
|
|
|
if (pos[0] < eps_) {
|
|
|
|
// Free-flow conditions on left boundary
|
|
|
|
const auto &materialParams = this->materialLawParams(context, spaceIdx, timeIdx);
|
2012-10-28 15:45:08 -05:00
|
|
|
|
2013-08-23 10:26:57 -05:00
|
|
|
Opm::ImmiscibleFluidState<Scalar, FluidSystem> fs;
|
2012-10-16 11:16:19 -05:00
|
|
|
Scalar Sw = 1.0;
|
2012-04-26 12:30:36 -05:00
|
|
|
fs.setSaturation(wPhaseIdx, Sw);
|
|
|
|
fs.setSaturation(nPhaseIdx, 1.0 - Sw);
|
|
|
|
fs.setTemperature(temperature(context, spaceIdx, timeIdx));
|
2012-10-28 15:45:08 -05:00
|
|
|
|
2012-04-26 12:30:36 -05:00
|
|
|
Scalar pC[numPhases];
|
|
|
|
MaterialLaw::capillaryPressures(pC, materialParams, fs);
|
|
|
|
fs.setPressure(wPhaseIdx, 200e3);
|
|
|
|
fs.setPressure(nPhaseIdx, 200e3 + pC[nPhaseIdx] - pC[nPhaseIdx]);
|
|
|
|
|
|
|
|
values.setFreeFlow(context, spaceIdx, timeIdx, fs);
|
|
|
|
}
|
|
|
|
else if (pos[0] > this->bboxMax()[0] - eps_) {
|
|
|
|
// forced outflow at the right boundary
|
|
|
|
RateVector massRate(0.0);
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-04-26 12:30:36 -05:00
|
|
|
massRate[contiWEqIdx] = 0.0; // [kg / (s m^2)]
|
|
|
|
massRate[contiNEqIdx] = 3e-2; // [kg / (s m^2)]
|
2009-06-10 07:08:28 -05:00
|
|
|
|
2012-04-26 12:30:36 -05:00
|
|
|
values.setMassRate(massRate);
|
2009-06-10 07:08:28 -05:00
|
|
|
}
|
2012-04-26 12:30:36 -05:00
|
|
|
else // no flow at the remaining boundaries
|
|
|
|
values.setNoFlow();
|
2009-06-10 07:08:28 -05:00
|
|
|
}
|
2009-06-18 11:46:37 -05:00
|
|
|
|
2012-10-16 11:16:19 -05:00
|
|
|
//! Evaluates the source term for all conserved quantities at a given position
|
|
|
|
//! of the domain [kg/(m^3 * s)]. Positive values mean that mass is created.
|
2011-10-31 11:49:08 -05:00
|
|
|
template <class Context>
|
2012-10-16 11:16:19 -05:00
|
|
|
void source(RateVector &source, const Context &context, int spaceIdx, int timeIdx) const
|
2011-10-31 11:49:08 -05:00
|
|
|
{
|
2012-10-16 11:16:19 -05:00
|
|
|
source[contiWEqIdx] = 0.0;
|
|
|
|
source[contiNEqIdx] = 0.0;
|
2011-10-31 11:49:08 -05:00
|
|
|
}
|
|
|
|
|
2012-09-22 08:06:23 -05:00
|
|
|
//! Evaluates the initial value at a given position in the domain.
|
2011-10-31 11:49:08 -05:00
|
|
|
template <class Context>
|
2012-10-16 11:16:19 -05:00
|
|
|
void initial(PrimaryVariables &values,
|
|
|
|
const Context &context, int spaceIdx, int timeIdx) const
|
2009-06-10 07:08:28 -05:00
|
|
|
{
|
2013-08-23 10:26:57 -05:00
|
|
|
Opm::ImmiscibleFluidState<Scalar, FluidSystem> fs;
|
2012-06-27 08:15:06 -05:00
|
|
|
|
2012-08-22 03:35:15 -05:00
|
|
|
// the domain is initially fully saturated by LNAPL
|
2012-06-27 08:15:06 -05:00
|
|
|
Scalar Sw = 0.0;
|
|
|
|
fs.setSaturation(wPhaseIdx, Sw);
|
|
|
|
fs.setSaturation(nPhaseIdx, 1.0 - Sw);
|
|
|
|
|
|
|
|
// the temperature is given by the temperature() method
|
|
|
|
fs.setTemperature(temperature(context, spaceIdx, timeIdx));
|
2012-10-28 15:45:08 -05:00
|
|
|
|
2012-06-27 08:15:06 -05:00
|
|
|
// set pressure of the wetting phase to 200 kPa = 2 bar
|
|
|
|
Scalar pC[numPhases];
|
|
|
|
MaterialLaw::capillaryPressures(pC, materialLawParams(context, spaceIdx, timeIdx), fs);
|
|
|
|
fs.setPressure(wPhaseIdx, 200e3);
|
|
|
|
fs.setPressure(nPhaseIdx, 200e3 + pC[nPhaseIdx] - pC[nPhaseIdx]);
|
2012-10-28 15:45:08 -05:00
|
|
|
|
2012-06-27 08:15:06 -05:00
|
|
|
values.assignNaive(fs);
|
2009-06-10 07:08:28 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
2012-05-14 06:04:14 -05:00
|
|
|
DimMatrix K_;
|
2011-11-18 11:20:31 -06:00
|
|
|
// Object that holds the values/parameters of the selected material law.
|
|
|
|
MaterialLawParams materialParams_; /*@\label{tutorial-coupled:matParamsObject}@*/
|
|
|
|
|
2010-11-08 12:02:44 -06:00
|
|
|
// small epsilon value
|
2012-01-03 12:28:57 -06:00
|
|
|
Scalar eps_;
|
2009-06-10 07:08:28 -05:00
|
|
|
};
|
2012-11-18 09:42:57 -06:00
|
|
|
} // namespace Ewoms
|
2009-06-10 07:08:28 -05:00
|
|
|
|
|
|
|
#endif
|