https://mooseframework.inl.gov
RichardsRelPermPrimePrimeAux.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 d^2(relperm)/d(Seff)^2
11 //
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 d^2(relative permeability)/dSeff^2");
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 }
virtual Real d2relperm(Real seff) const =0
second derivative of relative permeability wrt effective saturation This must be over-ridden in your ...
const RichardsRelPerm & _relperm_UO
userobject that defines relative permeability function
Base class for Richards relative permeability classes that provide relative permeability as a functio...
const VariableValue & _seff_var
effective saturation
void addRequiredParam(const std::string &name, const std::string &doc_string)
Relative Permeability as a function of effective saturation.
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
RichardsRelPermPrimePrimeAux(const InputParameters &parameters)
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
registerMooseObject("RichardsApp", RichardsRelPermPrimePrimeAux)