https://mooseframework.inl.gov
RichardsRelPermAux.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 // This post processor returns the relative permeability of a region.
11 //
12 #include "RichardsRelPermAux.h"
13 
15 
18 {
20  params.addRequiredCoupledVar("seff_var", "The variable that represents the effective saturation");
21  params.addRequiredParam<UserObjectName>(
22  "relperm_UO", "Name of user object that defines the relative permeability.");
23  params.addClassDescription("auxillary variable which is the relative permeability");
24  return params;
25 }
26 
28  : AuxKernel(parameters),
29  _seff_var(coupledValue("seff_var")),
30  _relperm_UO(getUserObject<RichardsRelPerm>("relperm_UO"))
31 {
32 }
33 
34 Real
36 {
38 }
static InputParameters validParams()
const RichardsRelPerm & _relperm_UO
userobject that defines relative permeability function
Relative Permeability as a function of effective saturation.
Base class for Richards relative permeability classes that provide relative permeability as a functio...
RichardsRelPermAux(const InputParameters &parameters)
void addRequiredParam(const std::string &name, const std::string &doc_string)
virtual Real computeValue()
virtual Real relperm(Real seff) const =0
relative permeability as a function of effective saturation This must be over-ridden in your derived ...
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
const VariableValue & _seff_var
effective saturation
registerMooseObject("RichardsApp", RichardsRelPermAux)