3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::PlotMaterialLaw< Scalar, MaterialLaw > Class Template Reference

Interface for plotting the two-phase fluid-matrix-interaction laws. More...

#include <dumux/io/plotmateriallaw.hh>

Description

template<class Scalar, class MaterialLaw>
class Dumux::PlotMaterialLaw< Scalar, MaterialLaw >

Interface for plotting the two-phase fluid-matrix-interaction laws.

Interface for plotting the three-phase fluid-matrix-interaction laws TODO: add theta head pressure plot (porosity and density is needed)

Public Member Functions

 PlotMaterialLaw ()
 Constructor. More...
 
void addpcswcurve (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveName="pc-Sw", std::string curveOptions="w l")
 Add a capillary pressure-saturation data set to the plot. More...
 
void addLog10PcSwCurve (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveName="log10_pc-Sw.dat", std::string curveOptions="w l")
 Add a capillary pressure-saturation data set to the plot. More...
 
void addswpccurve (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerpc=0.0, Scalar upperpc=5000.0, std::string curveName="Sw-pc", std::string curveOptions="w l")
 Add a saturation-capillary pressure data set to the plot. More...
 
void addSwLog10PcCurve (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerpc=1, Scalar upperpc=1e9, std::string curveName="Sw-pc", std::string curveOptions="w l")
 Add a saturation-capillary pressure data set to the plot. More...
 
void adddpcdswcurve (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveName="dpcdsw", std::string curveOptions="w l")
 Add a capillary pressure-saturation gradient data set to the plot. More...
 
void adddswdpccurve (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerpc=0.0, Scalar upperpc=5000.0, std::string curveName="dswdpc", std::string curveOptions="w l")
 Add a saturation-capillary pressure gradient data set to the plot. More...
 
void addkrcurves (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveName="kr", std::string curveOptions="w l")
 Add relative permeabilities data sets to the plot. More...
 
void adddkrdswcurves (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveName="dkrndsw", std::string curveOptions="w l")
 Add relative permeabilities gradients data sets to the plot. More...
 
 PlotMaterialLaw (bool interaction=true)
 Constructor. More...
 
void addpc (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveTitle="")
 Plot the capillary pressure-saturation curve for all phases. More...
 
void addpcgw (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveTitle="")
 Plot the capillary pressure-saturation curve for the water-gas interphase. More...
 
void addpcnw (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveTitle="")
 Plot the capillary pressure-saturation curve for the water-NAPL interface. More...
 
void addpcgn (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveTitle="")
 Plot the capillary pressure-saturation curve for the gas-NAPL interface. More...
 
void addkr (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveTitle="")
 Plot the relative permeabilities. More...
 
void addPcAlpha (GnuplotInterface< Scalar > &gnuplot, const MaterialLawParams &params, Scalar lowerSat=0.0, Scalar upperSat=1.0, std::string curveTitle="")
 Plot the transition (2P/3P) function. More...
 

Constructor & Destructor Documentation

◆ PlotMaterialLaw() [1/2]

template<class Scalar , class MaterialLaw >
Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::PlotMaterialLaw ( )
inline

Constructor.

◆ PlotMaterialLaw() [2/2]

template<class Scalar , class MaterialLaw >
Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::PlotMaterialLaw ( bool  interaction = true)
inline

Constructor.

Member Function Documentation

◆ adddkrdswcurves()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::adddkrdswcurves ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveName = "dkrndsw",
std::string  curveOptions = "w l" 
)
inline

Add relative permeabilities gradients data sets to the plot.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value for data set
upperSatMaximum x-value for data set
curveNameName of the data set
curveOptionsPlotting options associated with that data set

◆ adddpcdswcurve()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::adddpcdswcurve ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveName = "dpcdsw",
std::string  curveOptions = "w l" 
)
inline

Add a capillary pressure-saturation gradient data set to the plot.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value for data set
upperSatMaximum x-value for data set
curveNameName of the data set
curveOptionsPlotting options associated with that data set

◆ adddswdpccurve()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::adddswdpccurve ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerpc = 0.0,
Scalar  upperpc = 5000.0,
std::string  curveName = "dswdpc",
std::string  curveOptions = "w l" 
)
inline

Add a saturation-capillary pressure gradient data set to the plot.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerpcMinimum x-value for data set
upperpcMaximum x-value for data set
curveNameName of the data set
curveOptionsPlotting options associated with that data set

◆ addkr()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addkr ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveTitle = "" 
)
inline

Plot the relative permeabilities.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value
upperSatMaximum x-value
curveTitleName of the plotted curve

◆ addkrcurves()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addkrcurves ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveName = "kr",
std::string  curveOptions = "w l" 
)
inline

Add relative permeabilities data sets to the plot.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value for data set
upperSatMaximum x-value for data set
curveNameName of the data set
curveOptionsPlotting options associated with that data set

◆ addLog10PcSwCurve()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addLog10PcSwCurve ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveName = "log10_pc-Sw.dat",
std::string  curveOptions = "w l" 
)
inline

Add a capillary pressure-saturation data set to the plot.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value for data set
upperSatMaximum x-value for data set
curveNameName of the data set
curveOptionsPlotting options associated with that data set

◆ addpc()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addpc ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveTitle = "" 
)
inline

Plot the capillary pressure-saturation curve for all phases.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value
upperSatMaximum x-value
curveTitleName of the plotted curve

◆ addPcAlpha()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addPcAlpha ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveTitle = "" 
)
inline

Plot the transition (2P/3P) function.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value
upperSatMaximum x-value
curveTitleName of the plotted curve

◆ addpcgn()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addpcgn ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveTitle = "" 
)
inline

Plot the capillary pressure-saturation curve for the gas-NAPL interface.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value
upperSatMaximum x-value
curveTitleName of the plotted curve

◆ addpcgw()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addpcgw ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveTitle = "" 
)
inline

Plot the capillary pressure-saturation curve for the water-gas interphase.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value
upperSatMaximum x-value
curveTitleName of the plotted curve

◆ addpcnw()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addpcnw ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveTitle = "" 
)
inline

Plot the capillary pressure-saturation curve for the water-NAPL interface.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value
upperSatMaximum x-value
curveTitleName of the plotted curve

◆ addpcswcurve()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addpcswcurve ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerSat = 0.0,
Scalar  upperSat = 1.0,
std::string  curveName = "pc-Sw",
std::string  curveOptions = "w l" 
)
inline

Add a capillary pressure-saturation data set to the plot.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerSatMinimum x-value for data set
upperSatMaximum x-value for data set
curveNameName of the data set
curveOptionsPlotting options associated with that data set

◆ addSwLog10PcCurve()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addSwLog10PcCurve ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerpc = 1,
Scalar  upperpc = 1e9,
std::string  curveName = "Sw-pc",
std::string  curveOptions = "w l" 
)
inline

Add a saturation-capillary pressure data set to the plot.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerpcMinimum x-value for data set
upperpcMaximum x-value for data set
curveNameName of the data set
curveOptionsPlotting options associated with that data set

◆ addswpccurve()

template<class Scalar , class MaterialLaw >
void Dumux::PlotMaterialLaw< Scalar, MaterialLaw >::addswpccurve ( GnuplotInterface< Scalar > &  gnuplot,
const MaterialLawParams &  params,
Scalar  lowerpc = 0.0,
Scalar  upperpc = 5000.0,
std::string  curveName = "Sw-pc",
std::string  curveOptions = "w l" 
)
inline

Add a saturation-capillary pressure data set to the plot.

Parameters
gnuplotThe gnuplot interface
paramsThe material law parameters
lowerpcMinimum x-value for data set
upperpcMaximum x-value for data set
curveNameName of the data set
curveOptionsPlotting options associated with that data set

The documentation for this class was generated from the following files: