www.mooseframework.org
RichardsSeff2waterVG.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 #pragma once
11 
12 #include "RichardsSeff.h"
13 #include "RichardsSeffVG.h"
14 
16 
17 template <>
18 InputParameters validParams<RichardsSeff2waterVG>();
19 
26 {
27 public:
28  RichardsSeff2waterVG(const InputParameters & parameters);
29 
36  Real seff(std::vector<const VariableValue *> p, unsigned int qp) const;
37 
45  void
46  dseff(std::vector<const VariableValue *> p, unsigned int qp, std::vector<Real> & result) const;
47 
55  void d2seff(std::vector<const VariableValue *> p,
56  unsigned int qp,
57  std::vector<std::vector<Real>> & result) const;
58 
59 protected:
61  Real _al;
62 
64  Real _m;
65 };
66 
validParams< RichardsSeff2waterVG >
InputParameters validParams< RichardsSeff2waterVG >()
Definition: RichardsSeff2waterVG.C:19
RichardsSeff2waterVG::dseff
void dseff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< Real > &result) const
derivative of effective saturation as a function of porepressure
Definition: RichardsSeff2waterVG.C:52
RichardsSeffVG.h
RichardsSeff
Base class for effective saturation as a function of porepressure(s) The functions seff,...
Definition: RichardsSeff.h:23
RichardsSeff2waterVG::_al
Real _al
van Genuchten alpha parameter
Definition: RichardsSeff2waterVG.h:61
RichardsSeff2waterVG::RichardsSeff2waterVG
RichardsSeff2waterVG(const InputParameters &parameters)
Definition: RichardsSeff2waterVG.C:39
RichardsSeff.h
RichardsSeff2waterVG::_m
Real _m
van Genuchten m parameter
Definition: RichardsSeff2waterVG.h:64
RichardsSeff2waterVG
van-Genuchten water effective saturation as a function of (Pwater, Pgas), and its derivs wrt to those...
Definition: RichardsSeff2waterVG.h:25
RichardsSeff2waterVG::d2seff
void d2seff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< std::vector< Real >> &result) const
second derivative of effective saturation as a function of porepressure
Definition: RichardsSeff2waterVG.C:62
RichardsSeff2waterVG::seff
Real seff(std::vector< const VariableValue * > p, unsigned int qp) const
water effective saturation
Definition: RichardsSeff2waterVG.C:45