www.mooseframework.org
Classes | Functions
PorousFlowExponentialDecay.h File Reference

Go to the source code of this file.

Classes

class  PorousFlowExponentialDecay
 Kernel = _rate * (variable - reference) More...
 

Functions

template<>
InputParameters validParams< PorousFlowExponentialDecay > ()
 

Function Documentation

◆ validParams< PorousFlowExponentialDecay >()

template<>
InputParameters validParams< PorousFlowExponentialDecay > ( )

Definition at line 18 of file PorousFlowExponentialDecay.C.

19 {
20  InputParameters params = validParams<Kernel>();
21  params.addCoupledVar("rate", 1.0, "Rate of exponential decay");
22  params.addCoupledVar("reference", 0.0, "Reference value of the variable");
23  params.addClassDescription("Residual = rate * (variable - reference). Useful for modelling "
24  "exponential decay of a variable");
25  return params;
26 }