All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
diffusionproblem.hh File Reference

1D problem which is driven by molecular diffusion. More...

#include <ewoms/models/ncp/ncpproperties.hh>
#include <ewoms/io/cubegridmanager.hh>
#include <opm/material/fluidmatrixinteractions/LinearMaterial.hpp>
#include <opm/material/fluidmatrixinteractions/MaterialTraits.hpp>
#include <opm/material/fluidsystems/H2ON2FluidSystem.hpp>
#include <opm/material/fluidstates/CompositionalFluidState.hpp>
#include <opm/material/constraintsolvers/ComputeFromReferencePhase.hpp>
#include <opm/common/Unused.hpp>
#include <dune/grid/yaspgrid.hh>
#include <dune/common/version.hh>
#include <dune/common/fvector.hh>
#include <dune/common/fmatrix.hh>
#include <sstream>
#include <string>

Go to the source code of this file.

Classes

class  Ewoms::DiffusionProblem< TypeTag >
 1D problem which is driven by molecular diffusion. More...
 
class  Ewoms::DiffusionProblem< TypeTag >
 1D problem which is driven by molecular diffusion. More...
 

Functions

 Ewoms::Properties::NEW_TYPE_TAG (DiffusionBaseProblem)
 
 Ewoms::Properties::SET_TYPE_PROP (DiffusionBaseProblem, Grid, Dune::YaspGrid< 1 >)
 
 Ewoms::Properties::SET_TYPE_PROP (DiffusionBaseProblem, GridManager, Ewoms::CubeGridManager< TypeTag >)
 
 Ewoms::Properties::SET_TYPE_PROP (DiffusionBaseProblem, Problem, Ewoms::DiffusionProblem< TypeTag >)
 
 Ewoms::Properties::SET_PROP (DiffusionBaseProblem, FluidSystem)
 
 Ewoms::Properties::SET_PROP (DiffusionBaseProblem, MaterialLaw)
 
 Ewoms::Properties::SET_BOOL_PROP (DiffusionBaseProblem, EnableDiffusion, true)
 
 Ewoms::Properties::SET_BOOL_PROP (DiffusionBaseProblem, EnableGravity, false)
 
 Ewoms::Properties::SET_SCALAR_PROP (DiffusionBaseProblem, DomainSizeX, 1.0)
 
 Ewoms::Properties::SET_SCALAR_PROP (DiffusionBaseProblem, DomainSizeY, 1.0)
 
 Ewoms::Properties::SET_SCALAR_PROP (DiffusionBaseProblem, DomainSizeZ, 1.0)
 
 Ewoms::Properties::SET_INT_PROP (DiffusionBaseProblem, CellsX, 250)
 
 Ewoms::Properties::SET_INT_PROP (DiffusionBaseProblem, CellsY, 1)
 
 Ewoms::Properties::SET_INT_PROP (DiffusionBaseProblem, CellsZ, 1)
 
 Ewoms::Properties::SET_SCALAR_PROP (DiffusionBaseProblem, EndTime, 1e6)
 
 Ewoms::Properties::SET_SCALAR_PROP (DiffusionBaseProblem, InitialTimeStepSize, 1000)
 

Detailed Description

1D problem which is driven by molecular diffusion.

The domain is one meter long and completely filled with gas and closed on all boundaries. Its left half exhibits a slightly higher water concentration than the right one. After a while, the concentration of water will be equilibrate due to molecular diffusion.